UnderlinePanels
Use UnderlinePanels to style tabs with an associated panel and an underlined selected state.
On this page
v0.21.0AlphaNot reviewed for accessibility
Description
Use UnderlinePanels
to style tabs with an associated panel and an underlined selected state.
Arguments
Name | Default | Description |
---|---|---|
label | N/A | 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 | N/A | Hash |
Examples
Slots
tabs
Use to render a button and an associated panel slot. See the example below or 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 |
actions
Use actions for a call to action.
Name | Default | Description |
---|---|---|
tag |
| Symbol One of |
system_arguments | N/A | Hash |