Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Standalone action button with multiple visual variants.
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Button label or content. |
variant | ButtonVariant | "primary" | Visual style: primary, secondary, success, danger, warning, info, light, dark, link. |
disabled | boolean | false | Disables interaction. |
type | "button" | "submit" | "reset" | "button" | Native button type. |
aria-label when the label is icon-only.