Border box
Border box is a box component with a border.
On this page
v0.16.1BetaNot reviewed for accessibility
Description
BorderBox
is a Box component with a border.
Arguments
Name | Default | Description |
---|---|---|
padding |
| Symbol One of |
system_arguments | N/A | Hash |
Examples
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 | N/A | Hash |
body
Optional Body.
Name | Default | Description |
---|---|---|
system_arguments | N/A | Hash |
footer
Optional Footer.
Name | Default | Description |
---|---|---|
system_arguments | N/A | Hash |
rows
Use Rows to add rows with borders and maintain the same padding.
Name | Default | Description |
---|---|---|
scheme | N/A | Symbol Color scheme. One of |
system_arguments | N/A | Hash |
BorderBox::Header
BorderBox::Header
is used inside BorderBox
to render its header slot.
Arguments
Name | Default | Description |
---|---|---|
system_arguments | N/A | Hash |
Slots
title
Optional Title.
Name | Default | Description |
---|---|---|
tag | N/A | Symbol One of |
system_arguments | N/A | Hash |
Methods
id
Returns the value of attribute id.