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
63
63
and embeds the downloaded SVG contents in the template #}
64
64
{{ ux_icon('flowbite:user-solid') }}
65
65
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
+
66
75
The ``ux_icon() `` function defines a second optional argument where you can
67
76
define the HTML attributes added to the ``<svg> `` element:
68
77
@@ -74,6 +83,7 @@ define the HTML attributes added to the ``<svg>`` element:
74
83
{{ ux_icon('user-profile', {height: '16px', width: '16px', aria-hidden: true}) }}
75
84
{# renders <svg height="16" width="16" aria-hidden="true"> ... </svg> #}
76
85
86
+
77
87
Icon Sets
78
88
~~~~~~~~~
79
89
You can’t perform that action at this time.
0 commit comments