Button
- The true Button component.
You can change the variant of the Button by using the variant
prop.
You can set the size of the Button by using the size
prop.
When using solid
, outline
and ghost
variants, the background will follow the current color.
You can add icons on left or right side of the Button by using the leftIcon
or rightIcon
prop.
Left Icon
Right Icon
You can show the loading state of the Button by using the isLoading
prop.
With label
With label and spinner on the right