TabPanels
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use TabPanels
for tabs with panel navigation.
Arguments
Name | Required | Description |
---|---|---|
label | String Sets an | |
align | Symbol One of | |
body_arguments | Hash System arguments for the body wrapper. | |
wrapper_arguments | Hash System arguments for the | |
system_arguments | Hash |
Slots
tabs
Tabs to be rendered. For more information, refer to Primer::Alpha::Navigation::Tab
.
Name | Required | Description |
---|---|---|
id | String Unique ID of tab. | |
selected | Boolean Whether the tab is selected. | |
system_arguments | Hash |
extra
Renders extra content to the TabPanels
. This will be rendered after the tabs.
Name | Required | Description |
---|---|---|
align | Symbol One of |