TabPanels
ready
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 | Default | Description |
|---|---|---|
label | StringSets an | |
align | SymbolOne of | |
body_arguments | HashSystem arguments for the body wrapper. | |
wrapper_arguments | HashSystem arguments for the | |
system_arguments | Hash |
Slots
tabs
Tabs to be rendered. For more information, refer to Primer::Alpha::Navigation::Tab.
| Name | Default | Description |
|---|---|---|
id | StringUnique ID of tab. | |
selected | BooleanWhether the tab is selected. | |
system_arguments | Hash |
extra
Renders extra content to the TabPanels. This will be rendered after the tabs.
| Name | Default | Description |
|---|---|---|
align | SymbolOne of |