ContainedButton
Loading...
How to use
import { ContainedButton } from '@vibrant-ui/components';
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
| kind | primary | secondary | tertiary | Variation of the button styling | |
| size | xl | lg | md | sm | Size of the button | |
| type | button | submit | Type of the button | |
| IconComponent | IconComponent<IconProps, Fill \| Regular> | Icon on the left side | |
| disclosure | none | top | right | bottom | Display status of the arrow Icon in the right side | |
| disabled | boolean | Disable status of the button | |
| loading | boolean | Display status of Spinner | |
| onClick | () => void | Callback function runs when the button is clicked |
Usage
kind
primary, secondary ,tertiary variations are supported.
Loading...
size
Loading...
iconComponent
IconComponent decides Icon on the left side. Only fill or general type IconComponents are available.
disclosure decides display status of arrow icon on the right side.
Loading...
loading
Loading...