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
React.ElementType
Specifies element type for this component.
- role
React.AriaRole
An ARIA role describing the button group (default:
group
). - size
'sm'
|'md'
|'lg'
|'inline'
Default'md'Specifies the size for all Buttons in the group (default:
md
). - toggle
boolean
Display as a button toggle group (default:
false
). - vertical
boolean
Specifies if the set of Buttons should appear vertically stacked (default:
false
). - bsPrefix
string
Overrides underlying component base CSS class name (default:
btn-group
).
ButtonToolbar Props API
- role
React.AriaRole
An ARIA role describing the button group (default:
toolbar
). - bsPrefix
string
Overrides underlying component base CSS class name (default:
btn-toolbar
)
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 |