SVG

SVG Twig Extension is in the core (previously, it was a dedicated extension puswhord/svg).

Usage

By default, it's use FontAwesome. You just need to use twig svg function :

svg('surprise')

Will show

Configure

By default, this extension load FontAwesome's icons.

You can choose to use your custom SVG icons by specifyng the svg_dir in your app config or under pushword_svg.