Card
Displays a card with header, content, and footer.
Anatomy
Card do |c|c.header doc.titlec.descriptionc.actionendc.contentc.footerend
API Reference
Card
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#header
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#title
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#description
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#content
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#footer
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Card#action
| Name | Type | |
|---|---|---|
attributes | keyword arguments |
Examples
On This Page