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.
- variant
enum
'tabs' | 'pills' | 'inverse-tabs' | 'inverse-pills' | 'button-group'Default'tabs'Specifies variant to use.
- children
node
RequiredSpecifies elements that is processed to create tabs.
- className
string
Specifies class name to append to the base element.
- moreTabText
string
Default'More...'Specifies text for the 'More' tab.
- defaultActiveKey
string
Specifies default active tab (uncontrolled usage).
- activeKey
string
Specifies active tab (controlled usage).
This is a pass through component from React-Bootstrap, see original props documentation here.
- title
node
RequiredSpecifies the
Tab
navigation title. - notification
node
Specifies notification bubble content. It appears on the top right of the
Tab
. - disabled
bool
Specifies whether
Tab
is disabled. - eventKey
string
|number
A unique identifier for the Component, the
eventKey
makes it distinguishable from others in a set. Similar to React'skey
prop, in that it only needs to be unique amongst the Components siblings, not globally. - tabClassName
string
Specifies class name to append to the base element.
Usage Insights#
Tab
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 23 | |
frontend-app-authn | 22.11.2 | 6 | |
frontend-app-course-authoring | 22.8.1 | 7 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 4 | |
frontend-app-learner-portal-programs | 21.13.1 | 1 | |
frontend-app-learner-record | 22.10.0 | 1 | |
frontend-app-learning | 22.10.0 | 1 | |
frontend-app-support-tools | 21.13.1 | 12 | |
frontend-component-header-edx | 21.13.1 | 1 | |
prospectus | 20.46.2 | 2 |
Tabs
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 8 | |
frontend-app-authn | 22.11.2 | 5 | |
frontend-app-course-authoring | 22.8.1 | 3 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 1 | |
frontend-app-learner-portal-programs | 21.13.1 | 1 | |
frontend-app-learner-record | 22.10.0 | 1 | |
frontend-app-learning | 22.10.0 | 1 | |
frontend-app-support-tools | 21.13.1 | 3 | |
frontend-component-header-edx | 21.13.1 | 1 | |
prospectus | 20.46.2 | 1 |