UnderlinePanels
ready
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 | 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
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 | StringUnique ID of tab. | |
selected | BooleanWhether the tab is selected. | |
system_arguments | Hash |
actions
Use actions for a call to action.
| Name | Default | Description |
|---|---|---|
tag | SymbolOne of | |
system_arguments | Hash |