--- url: /reference/items/Icon/examples.md --- # Examples ## Local icons :::code-group ```twig
{% include '@ui/Icon/Icon.twig' with { name: 'logo-studiometa' } %}
``` ::: ## Material design icons [Material Design Icons](https://icones.js.org/collection/mdi) can be used directly. :::code-group ```twig
{% include '@ui/Icon/Icon.twig' with { name: 'mdi:globe' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:at' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:mail' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:phone' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:content-copy' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:link' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-left' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-up' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-right' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-down' } %}
``` ::: ## Unicons [Unicons](https://icones.js.org/collection/uil) can be used directly. :::code-group ```twig
{% include '@ui/Icon/Icon.twig' with { name: 'mdi:globe' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:at' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:mail' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:phone' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:content-copy' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:link' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-left' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-up' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-right' } %} {% include '@ui/Icon/Icon.twig' with { name: 'mdi:chevron-down' } %}
``` :::