React Button Group Component API
Button Group API
Explore the API reference for the React Button Group component and discover how to effectively utilize its props for customization.
On this page
CButtonGroup#
import { CButtonGroup } from '@coreui/react'// orimport CButtonGroup from '@coreui/react/src/components/button-group/CButtonGroup'
Property | Default | Type |
---|---|---|
className# | - | string |
A string of all className you want applied to the base component. | ||
size# | - | 'sm' , 'lg' |
Size the component small or large. | ||
vertical# | - | boolean |
Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here. |
CButtonToolbar#
import { CButtonToolbar } from '@coreui/react'// orimport CButtonToolbar from '@coreui/react/src/components/button-group/CButtonToolbar'
Property | Default | Type |
---|---|---|
className# | - | string |
A string of all className you want applied to the base component. |