Button
Rounded button component with multiple variants.
Import
JSX
Usage
JSX
Variants
Colours
JSX
Icons and text
JSX
Icons only
JSX
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "primary" | "secondary" | "tertiary" | "danger" | "primary" | visual styling |
disabled | boolean | false | allows button to be clicked |
onClick | () => void | - | callback function when button is clicked |
children* | string | JSX.Element | - | inner text |
