Indicates a processing state
See more examples
||Custom tag||Text (optional)|
||Boolean attribute||When present the loader will rotate infinitely. Without it Loader remains still.|
In most cases the loader should have its own text or be in close proximity to a related message, like a button label. In some cases it's appropriate to have a loader on it's own without a message (in those cases see Accessibility).
The default size works for most use cases, but you can enlarge or shrink Loader with the text size utility classes or set its own font size:
Loader will inherit font properties, so when it's nested in elements like button, anchor, or headings it looks as you would expect it to:
If a Loader doesn't have text it should use