BorderBox
ready
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
BorderBox is a Box component with a border.
Arguments
| Name | Default | Description |
|---|---|---|
padding | SymbolOne of | |
system_arguments | Hash |
Slots
header
Optional Header.
When using header.with_title, the recommended tag is a heading tag, such as h1, h2, h3, etc.
| Name | Default | Description |
|---|---|---|
system_arguments | Hash |
body
Optional Body.
| Name | Default | Description |
|---|---|---|
system_arguments | Hash |
footer
Optional Footer.
| Name | Default | Description |
|---|---|---|
system_arguments | Hash |
rows
Use Rows to add rows with borders and maintain the same padding.
| Name | Default | Description |
|---|---|---|
scheme | SymbolColor scheme. One of | |
system_arguments | Hash |
BorderBox::Header
BorderBox::Header is used inside BorderBox to render its header slot.
Arguments
| Name | Default | Description |
|---|---|---|
system_arguments | Hash |
Slots
title
Optional Title.
| Name | Default | Description |
|---|---|---|
tag | SymbolOne of | |
system_arguments | Hash |
Methods
id
Returns the value of attribute id.