Loader
A feedback component that displays an animation indicating an ongoing system background process.
Sizes
Use the text-{size} class to control the component size.
Size values can include:2xsxssmbaselgxl2xl3xl4xl5xl6xl7xl8xl9xl.
For more information on all available sizing utilities, visit Tailwind
Palette
Use the text-{color} class to control the component color. Refer to the Colors documentation to see all available color and shade options.
For more information on all available color utilities, visit Tailwind .
Customizing
globals.css
:root {
--ex-loader-duration: 500ms;
}API
| Element | Selector |
|---|---|
Loader | .ex-loader |
| Prop | Type | Default |
|---|---|---|
as | ElementType | span |
asChild | boolean | false |
Last updated on