Button
Implementation#
Default#
Example
Colors#
Example
Sizing#
Example
Disabled#
Example
Tag (HTML Element)#
Example
Block#
Example
Props#
| Attribute | Type | Value | Default Value | Description |
|---|---|---|---|---|
| color | string | danger/default/link/primary/success/warning/disabled | primary | Color of button element |
| disabled | boolean | true/false | undefined | Mark button and events as disabled |
| size | string | sm/md/lg | md | Set size of button |
| block | boolean | true/false | undefined | Set button to be full width of containing element |
| tag | string | e.g. a/button/div | undefined | Change button element tag to be a different element while keeping the same styles of the button |