LoadingButton
LoadingButton Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| loading | boolean | — | |
| loadingPosition | selectstart | end | center | — | |
| variant | selectprimary | secondary | ghost | — | |
| size | selectsm | md | lg | — |
Default
Loading
LoadingStart
Variants
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
loading | boolean | — | Whether the button is loading |
loadingPosition | select | — | Position of the spinner |
size | select | — | Button size |
variant | select | — | Visual variant |
Using LoadingButtontsx
import { LoadingButton } from '@/components/LoadingButton'
<LoadingButton
loading="..."
loadingPosition="..."
variant="..."
size="..."
/>Tokens Used
No design tokens detected