Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XS✔ ◾ Reorder content in best-libraries-for-icons #6726

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions rules/best-libraries-for-icons/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@ redirects:

---

When building a web application, you may eventually need icons somewhere in the UI. In the past this was done with images (e.g. png, jpg) which can create a lot of resource management, inconsistency, and other pain.
When building a web application, you may eventually need icons somewhere in the UI. In the past this was done with images (e.g. png, jpg) which can create a lot of resource management, inconsistency, and other pain. Instead, you should use an icon font that provides scalable and adaptable iconography.

<!--endintro-->

##Awesome icon libraries

- [Bootstrap icons](https://icons.getbootstrap.com/) are quick and easy to use with or without using Bootstrap itself. Many consider this icon library timeless, but there is another popular icon library to challenge it...
- [Font Awesome](https://fontawesome.com/) provides scalable vector icons that can be fully customized with CSS and many are completely free for commercial use. This library is especially great if you need a wide selection of generic icons in a hurry. You can also purchase a pro license to access an extended collection of variations like thin, sharp, and duotone icons.
- [Google material icons and symbols](https://fonts.google.com/icons) are huge sets of variable icons. These icons can be customized right down to their line weight and roundness or sharpness.
- [The Azure icon collection](http://code.benco.io/icon-collection/) is an awesome set of icons if you are using Azure. Instead of browsing individually, you can also download the entire up-to-date set from the [Azure Architecture Center](https://learn.microsoft.com/en-us/azure/architecture/icons/#icon-terms).
- Check out [Fluent iconography](https://fluent2.microsoft.design/iconography) if you need Microsoft flavoured icons.
- There are many more awesome icon libraries, including open-source community projects like [Lucide](https://lucide.dev/).

##Why you should use icons, not images

- **Scalability:** Icon fonts are vector-based, which means they can be scaled up or down in size without losing quality. This is particularly important for responsive web design, where icons need to adapt to different screen sizes and resolutions. Image files, however, become pixelated and lose quality when scaled.
Expand All @@ -46,12 +55,3 @@ If you _absolutely_ must use images for icons (e.g. complex custom icons) use sv
::: good
![Figure: Good example - A 5x scaled paper plane icon on the web](18-06-2014 2-33-45 PM.png)
:::

##Awesome icon libraries

- You can quickly and easily get set up with [Bootstrap icons](https://icons.getbootstrap.com/) with or without using Bootstrap itself. Many consider this icon library timeless, but there is another popular icon library to challenge it...
- [Font Awesome](https://fontawesome.com/) provides scalable vector icons that can be fully customized with CSS and many are completely free for commercial use. This library is especially great if you need a wide selection of generic icons in a hurry. You can also purchase a pro license to access an extended collection of variations like thin, sharp, and duotone icons.
- See [Google material icons and symbols](https://fonts.google.com/icons) for another huge set of variable icons. These icons can be customized right down to their line weight and roundness or sharpness.
- If you are using Azure, there's an awesome icon collection with several [Azure icons for you to use](http://code.benco.io/icon-collection/). Instead of browsing individually, you can also download the entire up-to-date set from the [Azure Architecture Center](https://learn.microsoft.com/en-us/azure/architecture/icons/#icon-terms).
- If you need Microsoft icons, see [Fluent iconography](https://fluent2.microsoft.design/iconography).
- There are many more awesome icon libraries, including open-source community projects like [Lucide](https://lucide.dev/).
Loading