Tab panels
Tab panels let users switch between views in the same context.
On this page
v0.21.0AlphaNot reviewed for accessibility
Description
Use TabPanels
for tabs with panel navigation.
Arguments
Name | Default | Description |
---|---|---|
label | N/A | String Sets an |
align | N/A | Symbol One of |
body_arguments |
| Hash System arguments for the body wrapper. |
wrapper_arguments |
| Hash System arguments for the |
system_arguments | N/A | Hash |
Examples
Slots
tabs
Tabs to be rendered. For more information, refer to Primer::Alpha::Navigation::Tab
.
Name | Default | Description |
---|---|---|
id | N/A | String Unique ID of tab. |
selected | N/A | Boolean Whether the tab is selected. |
system_arguments | N/A | Hash |
extra
Renders extra content to the TabPanels
. This will be rendered after the tabs.
Name | Default | Description |
---|---|---|
align | N/A | Symbol One of |