Buttons communicate the action that will occur when the user touches them.
inline
transparent
clear
clearGray
halo
red
green
clearWhite
white
extraSmall
small
large
extraLarge
half
fullWidth
iconPosition="before"
iconButton
iconButton white
default
Property | Type | Required | Default | Description |
---|---|---|---|---|
type | Enum | false | button | The HTML type property of the Button. |
iconPosition | Enum | false | after | The position of the icon in relation to other children in a Button. |
children | Node | false | - | The content of the component; text or icon. |
inline | Bool | false | - | Style prop used to render an inline Button. |
transparent | Bool | false | - | Style prop used to render a transparent Button. |
clear | Bool | false | - | Style prop used to render a clear Button. |
clearGray | Bool | false | - | Style prop used to render a clear-gray Button. |
clearWhite | Bool | false | - | Style prop used to render a clear-white Button. |
white | Bool | false | - | Style prop used to render a white Button. |
extraSmall | Bool | false | - | Style prop used to render an extra small Button. |
small | Bool | false | - | Style prop used to render a small Button. |
large | Bool | false | - | Style prop used to render a large Button. |
extraLarge | Bool | false | - | Style prop used to render an extra large Button. |
fullWidth | Bool | false | - | Style prop used to render a 100% width Button. |
half | Bool | false | - | Style prop used to render a 50% width Button. |
red | Bool | false | - | Style prop used to render a red Button. |
green | Bool | false | - | Style prop used to render a green Button. |
disabled | Bool | false | - | The HTML disabled property of the Button. |
href | String | false | - | The HTML href property of the Button. |
icon | Node | false | - | The icon that will be displayed as the content of a Button. |
iconButton | Bool | false | - | A style prop used to adjust size and padding of Buttons with only an icon as its content. |
Property | Type | Required | Default | Description |
---|---|---|---|---|
children | Node | false | - | The content of the component; should be a number of Buttons. |
isToggle | Bool | false | - | Style prop used to help adjust margins and positioning of Buttons when one is active. |