Button
View source on GitHubButton is an interactive component activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs a programmable action, such as submitting a form or opening a dialog.
Props
Name | Description | DefaultValue | required | type |
children | Button content | - | true | ReactNode |
variant | Sets the style of the button | primary | false | "primary" | "secondary" |
size | Sets the size | medium | false | "small" | "medium" | "large" |
href | Sets the link of the button | - | false | string |
Variants
Sizes
Edit this page