ButtonGroup
This is a pass through component from React-Bootstrap.
See React-Bootstrap for documentation.
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
ButtonToolbar
Show editable code example
Any Paragon component or export may be added to the code example.
Theme Variables#
CSS Variable | Computed Value |
---|---|
| |
| |
| |
| |
| |
Props API#
ButtonGroup Props API
- as
elementType
Default'div'Specifies element type for this component.
- role
string
Default'group'An ARIA role describing the button group.
- size
enum
'sm' | 'md' | 'lg' | 'inline'Default'md'Specifies the size for all Buttons in the group.
- toggle
bool
DefaultfalseDisplay as a button toggle group.
- vertical
bool
DefaultfalseSpecifies if the set of Buttons should appear vertically stacked.
- bsPrefix
string
Default'btn-group'Overrides underlying component base CSS class name
ButtonToolbar Props API
- role
string
Default'toolbar'An ARIA role describing the button group.
- bsPrefix
string
Default'btn-toolbar'Overrides underlying component base CSS class name
Usage Insights#
ButtonGroup
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-course-authoring | 22.8.1 | 4 | |
frontend-app-library-authoring | 21.11.3 | 1 |