This is a pass through component from React-Bootstrap.
See React-Bootstrap for documentation.
Uncontrolled usage
Any Paragon component or export may be added to the code example.
Controlled usage
Any Paragon component or export may be added to the code example.
Button group usage
Any Paragon component or export may be added to the code example.
Pills usage
Any Paragon component or export may be added to the code example.
Inverse-Pills usage
Any Paragon component or export may be added to the code example.
Inverse Tabs usage
Any Paragon component or export may be added to the code example.
With notification
Any Paragon component or export may be added to the code example.
With screen reader text in notification
Any Paragon component or export may be added to the code example.
Responsive support
Any Paragon component or export may be added to the code example.
Conditional rendering
Any Paragon component or export may be added to the code example.
Theme Variables#
| CSS Variable | Computed Value |
|---|---|
| | |
| | |
| | |
| | |
| | |
Props API#
This is a pass through component from React-Bootstrap; see original props documentation here. You can also pass any HTML attributes, such as onClick, role, etc. Which attributes are available depends on whether or not you have overriden the underlying HTML element using the as property.
- variant
enum'tabs' | 'pills' | 'inverse-tabs' | 'inverse-pills' | 'button-group'Default'tabs'Specifies variant to use.
- children
nodeRequiredSpecifies elements that is processed to create tabs.
- className
stringSpecifies class name to append to the base element.
- moreTabText
stringDefault'More...'Specifies text for the 'More' tab.
- defaultActiveKey
stringSpecifies default active tab (uncontrolled usage).
- activeKey
stringSpecifies active tab (controlled usage).
This is a pass through component from React-Bootstrap; see original props documentation here. You can also pass any HTML attributes, such as onClick, role, etc. Which attributes are available depends on whether or not you have overriden the underlying HTML element using the as property.
- title
React.ReactNodeRequiredSpecifies the
Tabnavigation title. - notification
React.ReactNodeSpecifies notification bubble content. It appears on the top right of the
Tab. - disabled
booleanSpecifies whether
Tabis disabled. - eventKey
string|numberA unique identifier for the Component, the
eventKeymakes it distinguishable from others in a set. Similar to React'skeyprop, in that it only needs to be unique amongst the Components siblings, not globally. - tabClassName
stringSpecifies class name to append to the base element.
Usage Insights#
Tab
| Project Name | Paragon Version | Instance Count | |
|---|---|---|---|
| frontend-app-admin-portal | 22.20.3 | 27 | |
| frontend-app-course-authoring | 23.15.1 | 7 | |
| proctoring | 23.15.1 | 2 | |
| frontend-app-learner-portal-enterprise | 22.17.0 | 4 | |
| frontend-app-learner-record | 23.14.9 | 1 | |
| frontend-app-learning | 23.4.5 | 1 | |
| frontend-app-learner-record | 23.4.5 | 1 | |
| frontend-app-payment | 22.9.0 | 1 | |
| frontend-app-support-tools | 23.4.2 | 12 |
Tabs
| Project Name | Paragon Version | Instance Count | |
|---|---|---|---|
| frontend-app-admin-portal | 22.20.3 | 9 | |
| frontend-app-authn | 23.15.2 | 10 | |
| frontend-app-course-authoring | 23.15.1 | 3 | |
| proctoring | 23.15.1 | 2 | |
| frontend-app-learner-portal-enterprise | 22.17.0 | 1 | |
| frontend-app-learner-record | 23.14.9 | 1 | |
| frontend-app-learning | 23.4.5 | 1 | |
| frontend-app-learner-record | 23.4.5 | 1 | |
| frontend-app-payment | 22.9.0 | 1 | |
| frontend-app-support-tools | 23.4.2 | 3 |