Ring of light that runs along the border of any element while something works in the background.
<.aura tone="ai"><div class="lu-tcard">…</div></.aura>
<.aura tone="ai" radius="pill" width="sm"><button>Summarize</button></.aura>
<.aura mode="glow" tone="warn" shadow>…needs you…</.aura>mode is spin (a light turns while it works), dual (two colours, a result is ready) or
glow (pulses when it needs the person). The ring stops for prefers-reduced-motion.
Summary
Functions
Attributes
mode(:string) - Defaults to"spin". Must be one of"spin","dual", or"glow".motion(:string) - Alias ofmode. Defaults tonil. Must be one ofnil,"spin","dual", or"glow".tone(:string) - Defaults to"accent". Must be one of"accent","ai","info","pos","warn","neg", or"violet".width(:string) - Defaults to"default". Must be one of"xs","sm","default", or"lg".radius(:string) - Defaults to"default". Must be one of"default","pill", or"r12".shadow(:boolean) - Defaults tofalse.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)