Installing
Install the library
Getting started
Import the component
Basic
You can define the type of a button using the type
prop. There are primary
, default
, secondary
, outline
, dashed
, and text
,
Variants
You can define the type of a button using the variant
prop.
There are primary
, secondary
, outline
, danger
, and danger-outline
. The default variant is primary
.
Size
You can define the size of a button using the size
prop.
There are small
, regular
, and large
. The default size is regular
.
Loading
Buttons can be in a loading state. Provide the isLoading
prop to set the loading state of the button.
Props
Coming soon