Add backgroundColor to progress-spinner
Feature Description
Feature that would allow setting progress-spinner's background color.
Use Case
When using a progress-spinner for example as an indicator of stepper, it would look definitely better with colored background.
See spinner without background vs. with background.
A few considerations on this:
- The spinner background should be transparent by default, to keep appearance the same between versions
- It would be good to offer three choices for background: transparent (default), greyscale, color. Greyscale will be as you proposed and color will use a translucent version of the spinner color (see https://material.angular.io/components/progress-bar/examples for how this looks)
- Need to decide on how the color will be set via the api, as there isn't a precedent for background options
- I'm not a Material expert, but this doesn't seem to fit with the rest of Angular Material - I can't see any components that let you customise backgrounds like this
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
We're in the process of cleaning up our issue backlog. I'm closing this issue, because the Material Design specification doesn't explicitly allow background colors on spinners.
Hi everyone,
Hi @crisbeto,
I still can see a value of adding that "invisible, circular track". It is quite confusing when the process is stuck (lets say at 0-10%):

Implementation wise, there is no much effort - just to add another circle.
Our team had to implement a directive for that. It injects another circle with the same radius and strokeWidth then checks for it's changes on ngDoCheck:

It would be great to have this feature out of the box.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.