UnderlinePanels
The underline panels are used to break related content into tabbed panels.
On this page
v0.36.1AlphaNot reviewed for accessibility
Description
Use UnderlinePanels
to style tabs with an associated panel and an underlined selected state.
Arguments
Name | Type | Default | Description |
---|---|---|---|
label | String | N/A | 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 | N/A |
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 | Type | Default | Description |
---|---|---|---|
id | String | N/A | Unique ID of tab. |
selected | Boolean | N/A | Whether the tab is selected. |
system_arguments | Hash | N/A |
actions
Use actions for a call to action.
Name | Type | Default | Description |
---|---|---|---|
tag | Symbol |
| One of |
system_arguments | Hash | N/A |