Skip to content
roguelite labsAnthony Spezzano ↗
Prompt/Loader

Loader

Four loading variants: animated dots, spinning ring, pulsing circle, and progress bar fill.

Use and inspectUse this as a presentational interface around your own submit, stream, or state handlers. Reset preview only remounts the local example; it does not send a request or connect to a model.Next: inspect the source and wire its callback to a bounded backend action.
LoaderFour loading variants: animated dots, spinning ring, pulsing circle, and progress bar fill.
PropTypeDefaultDescription
variant*"dots" | "ring" | "pulse" | "bar"Loading animation style
size"sm" | "md" | "lg""md"Size of the loader
labelstringOptional text label below the loader