Loading line
A thin line at a surface's edge while what is under it loads: a stretch of ink runs across it.
import { LoadingLine } from "@arcadia/ui"TSX
Examples
--loading-line-h- "1px" | "2px"Default 2px
- Thickness.
--loading-line-color- PaintDefault var(--icon-2)
- The stretch that runs.
LoadingLine
activerequired- boolean
- Runs while true: shown 200ms after it turns on, then held at least 400ms.
edge- "top" | "bottom"Default "bottom"
- The edge of its positioned parent it lies on.
label- string
- Accessible name while it runs ("Loading"). Omit when nearby text or a control already says so.
rootStyle- RootStyle<LoadingLineKnobs>
- Typed StyleX override: layout and the
--loading-line-*knobs.
Rest props go to <span> props and render.