You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Icons/doc/index.rst
+20-23Lines changed: 20 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,6 @@ Installation
16
16
17
17
$ composer require symfony/ux-icons
18
18
19
-
# To use provided on-demand icon sets, you also need HTTP client:
20
-
$ composer require symfony/http-client
21
-
22
19
SVG Icons
23
20
---------
24
21
@@ -108,24 +105,26 @@ sizing utilities for consistency and theming:
108
105
{# HTML syntax #}
109
106
<twig:ux:icon name="bi:chat" class="size-4" />
110
107
111
-
To keep your design consistent and easily adjustable, consider defining a :ref:default attribute <icons_default_attributes>. This allows you to control the size of all your icons from a single place.
108
+
To keep your design consistent and easily adjustable, consider defining a
109
+
:ref:`default attribute <icons_default_attributes>`. This allows you to control
110
+
the size of all your icons from a single place.
112
111
113
112
Icon Sets
114
113
~~~~~~~~~
115
114
116
-
.. note::
115
+
UX Icons gives you access to a wide variety of icon sets, each with its own
116
+
style. This allows you to cover different needs while maintaining a consistent
117
+
look and feel across your application.
117
118
118
-
To use icons from icon sets via `ux.symfony.com/icons`_, the ``symfony/http-client``
119
-
package must be installed in your application:
119
+
To download icons automatically from the many icon sets available, you must
120
+
first install the following package in your application:
120
121
121
-
.. code-block:: terminal
122
+
.. code-block:: terminal
122
123
123
-
$ composer require symfony/http-client
124
+
$ composer require symfony/http-client
124
125
125
-
There are many icon sets available, each with their own unique style and set of
126
-
icons, providing a wide range of icons for different purposes, while maintaining
127
-
a consistent look and feel across your application. Here are some of the most
128
-
popular icon sets available:
126
+
Some of the most popular icon sets are shown below; for the complete list,
0 commit comments