Shape Size A Shape’s size can be modified per use case. Important Notes: Reference the schema for all options. When passing letters to the content, text size scales with the shape size. When passing an icon to the content, icon size is ignored. Icon size scales with the shape size. When passing an image to the content, image size is ignored. Image size scales with the shape size. Demo MM MM MM MM
Twig
{% include '@bolt-elements-shape/shape.twig' with { size: 'large', ... } only %}
HTML
<span class="e-bolt-shape e-bolt-shape--large"> <span class="e-bolt-shape__content"> <!-- Letters, icon, or image go here --> </span> </span>