React Button Group Component API
Button Group API
New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
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. |