{% include '@bolt-elements-shape/shape.twig' with {
content: 'MM',
} only %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
content
*
|
Content of the shape. |
any
| — |
|
attributes
|
A Drupal-style attributes object with extra attributes to append to this element. |
object
| — |
|
size
|
Changes the size of the interior element |
string
|
small
|
|
border_radius
|
Customizes the outside radius of the shape. "none" will render as a square shape, "small" and "large" will render as a rounded corners square and "full" will render as a circle. |
string
|
full
|
|
npm install @bolt/elements-shape
.t-bolt-*
theme class to the parent element to color a shape.