-
-
Notifications
You must be signed in to change notification settings - Fork 126
05 Available Standard Libraries
phoenixide edited this page Sep 17, 2024
·
1 revision
The following standard libraries are available inside Phoenix:
Fontawesome is used for iconography in Phoenix.
credits: https://fontawesome.com/
<!-- This example uses <i> element with:
1. the `fa-solid` style class for solid style
2. the `user` icon with the `fa-` prefix -->
<i class="fa-solid fa-user"></i>
<!-- Or you can use a <span> element, with classes applied in the same way -->
<span class="fa-solid fa-user"></span>
Reference: https://fontawesome.com/docs/web/add-icons/how-to
See the following urls for available icons:
- https://fontawesome.com/v5/cheatsheet/free/solid
- https://fontawesome.com/v5/cheatsheet/free/regular
- https://fontawesome.com/v5/cheatsheet/free/brands
devicon is used for iconography in Phoenix.
usage: similar to fontawesome
- credits: https://devicon.dev/
file-icon is used for iconography in Phoenix.
usage: similar to fontawesome
credits: https://uiwjs.github.io/file-icons/index.html
This is not included in Phoenix, but you can get icons from
<!-- This example uses <i> element -->
<i class="devicon-devicon-plain"></i>
NB: Svg icons are not integrated in source.
Reference: https://www.npmjs.com/package/devicon
See the following urls for available icons: https://devicon.dev/