className | string | no | "" | Adds an optional classname to the component |
classOverrides | { shape: string, size: string, variant: string } | no | {} | Allows specifying classes to override other specific classes in the component |
variant | enum("solid", "outlined", "text") | no | "solid" | Determines the button style variant |
shape | enum("circle", "square") | no | "circle" | Determines the button shape variant |
size | enum("tiny", "small", "medium", "large") | no | "small" | Determines the button size variant (use classOverrides for custom sizes) |
loading | boolean | no | false | Determines button loading state |
disabled | boolean | no | false | Determines button disabled state |
label | string | yes | "" | Adds aria label |
icon | React element | no | undefined | Determines the button icon |
onClick | function | no | () => {} | Event handler for onclick events |