ComponentsFeedback
Loading
Loading spinner to indicate processing
Examples
Basic Loading
{
"type": "loading"
}With Text
{
"type": "stack",
"gap": 2,
"align": "center",
"children": [
{
"type": "loading"
},
{
"type": "text",
"content": "Loading...",
"variant": "muted"
}
]
}Schema
interface LoadingSchema {
type: 'loading';
size?: 'sm' | 'md' | 'lg';
className?: string;
}