Button

Useful to communicate actions to your users.

Props

PropTypeDescription
childrenReactNodeThe content to render
variantgray | blue | green | redThe variant to apply
size0 | 1The size to apply
isWaitingBooleanWhether it is waiting or not

System props

margin

Examples

Colors

There are 4 colors to choose from.

Sizes

There are 2 sizes to choose from.

Waiting state

When the user is waiting for the server to respond.