Loader — Playground

px
size
html.html
<span kuiLoader></span>
NameTypeDefaultDescription
size'xs' | 'sm' | 'md' | 'lg' | undefinedundefinedLoader size. Falls back to defaults.loader.size, then the global defaults.size, then md.
labelstring | undefinedundefinedAccessible label rendered as aria-label and announced through the host role="status" and aria-live="polite". Falls back to the common.loading message (Loading).
--kui-loader-sizeCSS custom property-Overrides the rendered loader diameter for the current size step.
--kui-loader-trackCSS custom property-Overrides the loader track (background ring) color.
--kui-loader-fillCSS custom property-Overrides the loader spinning fill color.
--kui-loader-border-widthCSS custom property-Overrides the loader ring stroke width.
--kui-loader-durationCSS custom property-Overrides the spin animation duration.
--kui-loader-duration-reducedCSS custom property-Spin animation duration used when the user prefers reduced motion.
KuiLoaderOptionsinterface-Shape of defaults.loader: size.

Inputs verified against @kikita-labs/ui v2.0.0 public typings.