Button
View Source
Used for any type of user action, including navigation.
Props
booleanDisables button by removing click handlers and making the button transparent.
booleanOpens the linked destination in a new window or tab.
string | ObjectRenders an Icon in the center of the button. Pass a string or any valid Icon props.
Must pass a title or tooltip.title when using icon-only buttons.
string | ObjectSame as above, but renders an icon in the left portion of the button.
string | ObjectSame as above, but renders an icon in the right portion of the button.
anyRenders a <Spinner /> in the center of the button. Accepts any valid Spinner props.
booleanUses a 1:1 ratio for sizing the button.
string | booleanUses theme defined in buttons.theme. Pass false to not use theme at all.
string | numberRenders a text string in the center of the button.
stringWhere the browser should navigate to when pressed.
string | ObjectWraps button in a <Tooltip />. Accepts any valid Tooltip props.
'fill' | 'outline' | 'naked'Determines the modified style of the button.