Button 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

NameDescriptionDefaultValuerequiredtype
childrenButton content-trueReactNode
variantSets the style of the buttonprimaryfalse"primary" | "secondary"
sizeSets the sizemediumfalse"small" | "medium" | "large"
hrefSets the link of the button-falsestring

Variants

Sizes

Edit this page