File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ HTML Syntax
175
175
176
176
In addition to the ``ux_icon() `` function explained in the previous sections,
177
177
this package also supports an alternative HTML syntax based on the ``<twig:ux:icon> ``
178
- tag if the `` symfony/ux-twig-component `` package is installed :
178
+ tag:
179
179
180
180
.. code-block :: html
181
181
@@ -192,7 +192,11 @@ tag if the ``symfony/ux-twig-component`` package is installed:
192
192
.. tip ::
193
193
194
194
To use the HTML syntax, the ``symfony/ux-twig-component `` package must be
195
- installed in your project.
195
+ installed in your project:
196
+
197
+ .. code-block :: terminal
198
+
199
+ $ composer require symfony/ux-twig-component
196
200
197
201
Downloading Icons
198
202
-----------------
@@ -330,10 +334,6 @@ HTML Syntax
330
334
{# Renders "flowbite:user-solid" from ux.symfony.com #}
331
335
<twig:ux: icon name="flowbite:user-solid" />
332
336
333
- .. note ::
334
-
335
- ``symfony/ux-twig-component `` is required to use the HTML syntax.
336
-
337
337
Default Attributes
338
338
~~~~~~~~~~~~~~~~~~
339
339
You can’t perform that action at this time.
0 commit comments