Trigger actions or submit forms.
12345678910111213123456789101112345678910111212345678910123456789101112131415123456789101112131234567891011121314151234567891011121234567891011121314151617123456789101112| Prop | Type | Default | Description |
|---|---|---|---|
variant | "solid""outline""ghost""secondary" | "solid" | Visual style variant of the button |
size | "sm""md""lg" | "md" | Size of the button |
radius | "none""sm""md""lg""full" | "sm" | Border radius of the button |
leadingIcon | React.ReactNode | — | Icon displayed before the button text |
trailingIcon | React.ReactNode | — | Icon displayed after the button text |
loading | boolean | false | Shows loading spinner and disables the button |
loadingText | string | — | Custom text to display when loading (overrides children) |
disabled | boolean | false | Disables the button |
children | React.ReactNode | — | Button text content (required) |
className | string | — | Additional CSS classes |