Modo Claro
Store features
This pre-defined component is responsible for showcasing the store features such as payment methods, shipping methods and so on.
Following is the location of this component.
└── src
├── views
├── components
| ├── home
| | ...
| | ├── store-features.twig
...
Example
Variables
Usage
This component is a simple component that takes the content of the store features as icon
, title
, and text
. Then a for-loop to display each feature.
{% for item in items %}
<i class="{{ item.icon }}"></i>
<h4>{{ item.title }}</h4>
<p>{{ item.text }}</p>
{% endfor %}
:::tip[Educational Clip]
:::
Last modified: 3 months ago