File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,15 @@ Loading Icons
6363 and embeds the downloaded SVG contents in the template #}
6464 {{ ux_icon('flowbite:user-solid') }}
6565
66+ .. note ::
67+
68+ To search and download icons via `ux.symfony.com/icons `_, the ``symfony/http-client ``
69+ package must be installed in your application:
70+
71+ .. code-block :: terminal
72+
73+ $ composer require symfony/http-client
74+
6675 The ``ux_icon() `` function defines a second optional argument where you can
6776define the HTML attributes added to the ``<svg> `` element:
6877
@@ -74,6 +83,7 @@ define the HTML attributes added to the ``<svg>`` element:
7483 {{ ux_icon('user-profile', {height: '16px', width: '16px', aria-hidden: true}) }}
7584 {# renders <svg height="16" width="16" aria-hidden="true"> ... </svg> #}
7685
86+
7787Icon Sets
7888~~~~~~~~~
7989
You can’t perform that action at this time.
0 commit comments