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
175175
176176In addition to the ``ux_icon() `` function explained in the previous sections,
177177this 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:
179179
180180.. code-block :: html
181181
@@ -192,7 +192,11 @@ tag if the ``symfony/ux-twig-component`` package is installed:
192192.. tip ::
193193
194194 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
196200
197201 Downloading Icons
198202-----------------
@@ -330,10 +334,6 @@ HTML Syntax
330334 {# Renders "flowbite:user-solid" from ux.symfony.com #}
331335 <twig:ux: icon name="flowbite:user-solid" />
332336
333- .. note ::
334-
335- ``symfony/ux-twig-component `` is required to use the HTML syntax.
336-
337337Default Attributes
338338~~~~~~~~~~~~~~~~~~
339339
You can’t perform that action at this time.
0 commit comments