UnderlinePanels
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use UnderlinePanels
to style tabs with an associated panel and an underlined selected state.
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
Use to render a button and an associated panel slot. See the example below or 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 |
actions
Use actions for a call to action.
Name | Required | Description |
---|---|---|
tag | Symbol One of | |
system_arguments | Hash |