No matches.
component
When true, renders children as a shimmering skeleton. Without children, whether the standalone spinner shows — left unset, it does (`<Loading />`), so `<Loading loading={pending} />` spins only while pending.
Known progress, 0–100. The indicator's spinner becomes a ring (or bar) that fills to it, and `inline` / `overlay` show the percentage. Leave unset while the progress is unknown.
Where the loading indicator sits: `corner`, `bar`, `overlay` or `inline` (for buttons). `true` means `corner`; `false` shows none. Busy content doesn't move, so `busy` shows the `overlay` indicator unless told otherwise.
No effect. It used to round the skeleton text bars; they are now drawn as text decorations, which always have square ends. Shapes keep their own component's radius.
Spinner size when Loading renders without children (a standalone spinner) — e.g. a list's "loading more" row.
Loading treatment. `skeleton` stands in for content that isn't there yet with its pulsing shape; `busy` leaves loaded content exactly as it is (inert) and lets the `indicator` say it's working.
Milliseconds `loading` must stay true before anything is shown. Most actions finish sooner, and a flash of loading UI is worse than none.
Once shown, the loading state stays at least this many milliseconds, so it never flickers on and off.
Serialize the loading config into the rendered HTML so `updateLoadingElement()` can change `loading`/`variant`/`speed`/`progress` at runtime (honouring `delay` / `minDuration`). Meant for Astro / vanilla JS, where props don't re-render; reactive frameworks don't need it. The indicator is always rendered (hidden while not loading) so it can be shown later.
Skeleton pulse cycle length: `slow` 3s, `normal` 2s, `fast` 1.5s.
Accessible name of the loading state. Announced through a polite status region when loading starts (and as known progress passes each quarter), used as the spinner's label, and shown as the `overlay` message. Pass a translated string for non-English UIs.
Per-slot style and attribute override bag for customizing the loading root element's styles or HTML attributes.
Plus all standard <div> HTML attributes.