Button

A Button example

Basic button to allow user input.

Your app can respond to a button press in several different ways by setting it’s effect, for example activating a specific Route.

Live Examples

Large Button

Large Primary Button Large Secondary Button Large Ghost Button Large Link Button

Medium Button

Medium Primary Button Medium Secondary Button Medium Ghost Button Medium Link Button

Small Button

Small Primary Button Small Secondary Button Small Ghost Button Small Link Button

Figma

Developer docs

Props

Prop Type Default Description
effect*
flex string "normal"
size string "medium"
type string "secondary"
text*
mainClass string ''
buttonOptions {} {}
height string "fixed"
disabled boolean false
selected boolean false
dummyNoText boolean false

Slots

Name Default Props Fallback
Yes

Events

Name Type Detail
click forwarded

ButtonBar

A Button example

Use the ButtonBar to organize Buttons horizontically, for example by centering a button or allowing buttons to fill the full width of the bar. You can also add a help text below the bar.