Skip to content
Preview

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.

State machine

PreviewA line runs along the bottom while the project loads.
Loading project