Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
<Spinner
label="Spinner"
/>
// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page SpinnerDetail {
layout = "showcase"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_label = ctx.url.searchParams.get("pg_label") ?? "Spinner"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "md"
state playground_lines = ctx.url.searchParams.get("pg_lines") ?? "3"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Spinner"
description = "Theme-aware, responsive spinner component."
}
view {
Theme-aware, responsive spinner component. Change any prop and inspect the server-rendered component immediately.Spinner
Configure Spinner
<Spinner
label="Spinner"
/>
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<Spinner
label="Spinner"
/>
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<Spinner
label="Compact example"
size="sm"
/>
A more expressive variation using additional data, stronger emphasis, and optional states.
<Spinner
label="Advanced example"
size="lg"
/>
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
color | string | "primary" | No |
label | string | "Loading" | No |
size | string | "md" | No |
lines | number | 3 | No |
class | string | "" | No |