Button
#
Implementation#
DefaultExample
#
ColorsExample
#
SizingExample
#
DisabledExample
#
Tag (HTML Element)Example
#
BlockExample
#
PropsAttribute | 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 |