Skip to content

Add loading indicator SVG configuration#19434

Closed
Shaharyar-WebDev wants to merge 1 commit intofilamentphp:4.xfrom
Shaharyar-WebDev:patch-2
Closed

Add loading indicator SVG configuration#19434
Shaharyar-WebDev wants to merge 1 commit intofilamentphp:4.xfrom
Shaharyar-WebDev:patch-2

Conversation

@Shaharyar-WebDev
Copy link

Added configuration option for custom loading indicator SVG.

Description

Previously, the loading indicator SVG was hardcoded and could not be
customized without modifying the package source. This adds a
loading_indicator_svg key to the config file, allowing users to
define their own SVG icon for the loading indicator.

The __attributes__ placeholder is injected into the SVG at runtime,
so dynamic attributes (e.g. wire:loading, class) are still applied
correctly regardless of which SVG is used.

Visual changes

Before (Default Loader):

1 Screenshot 2026-03-04 180339

After (Lucide Loader):

3 Screenshot 2026-03-04 180421

Functional changes

  • [] Code style has been fixed by running the composer cs command.
  • [] Changes have been tested to not break existing functionality.
  • [] Documentation is up-to-date.

Added configuration option for custom loading indicator SVG.

Signed-off-by: Shaharyar Ahmed <shery.codes@gmail.com>
@danharrin
Copy link
Member

Changes need to be in one PR #19435, as one should not be merged without the other

@danharrin danharrin closed this Mar 6, 2026
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants