Border box
Border box is a box component with a border.
On this page
v0.35.1BetaNot reviewed for accessibility
Description
BorderBox
is a Box component with a border.
Arguments
Name | Type | Default | Description |
---|---|---|---|
padding | Symbol |
| One of |
system_arguments | Hash | N/A |
Examples
Slots
header
Optional Header.
When using header.with_title, the recommended tag is a heading tag, such as h1, h2, h3, etc.
Name | Type | Default | Description |
---|---|---|---|
system_arguments | Hash | N/A |
body
Optional Body.
Name | Type | Default | Description |
---|---|---|---|
system_arguments | Hash | N/A |
footer
Optional Footer.
Name | Type | Default | Description |
---|---|---|---|
system_arguments | Hash | N/A |
rows
Use Rows to add rows with borders and maintain the same padding.
Name | Type | Default | Description |
---|---|---|---|
scheme | Symbol | N/A | Color scheme. One of |
system_arguments | Hash | N/A |
BorderBox::Header
BorderBox::Header
is used inside BorderBox
to render its header slot.
Arguments
Name | Type | Default | Description |
---|---|---|---|
system_arguments | Hash | N/A |
Slots
title
Optional Title.
Name | Type | Default | Description |
---|---|---|---|
tag | Symbol | N/A | One of |
system_arguments | Hash | N/A |
Methods
id
Returns the value of attribute id.