Skip to content

Repository files navigation

idc, just go straight to the code I need

Why this exists

Hugeicons is nice but their free CDN isn't. The CSS isn't minified, has a slight typo that causes a flash of unexpected characters, and the CDN is just Cloudflare R2, not really optimised for speed.

Here, we've fixed the CSS, and thanks to jsDelivr's GitHub functionality you can access it via a blazing fast CDN.

CDN

jsDelivr

Please note the service is best-effort only with no guarantees or SLA. Please see the support section.

Quickstart

In its most basic form:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/JackDunnCodes/hugeicons-font@2026-06-16.0/icons.min.css"
  integrity="sha384-Eg43hs0ohGyRzlw/UxYjFQaUstCQSAAOKH4MdC+A8OZYPeE8J3pTlhYoW5rYqe1g"
  crossorigin="anonymous"
>

But you may wish to consider an asynchronous stylesheet, to improve font load times. Hugeicons can take a while to load - even with a CDN. At a certain point, the user agent's processing power is the limiting factor, and while Hugeicons is loading, it often blocks all other fonts - which is not ideal.

<link
  rel="preload"
  href="https://cdn.jsdelivr.net/gh/JackDunnCodes/hugeicons-font@2026-06-16.0/icons.min.css"
  integrity="sha384-Eg43hs0ohGyRzlw/UxYjFQaUstCQSAAOKH4MdC+A8OZYPeE8J3pTlhYoW5rYqe1g"
  crossorigin="anonymous"
  as="style" 
  onload="this.onload=null;this.rel='stylesheet'"
>
<noscript><!-- load CSS traditionally, if JS is disabled -->
  <link
    rel="stylesheet"
    href="https://cdn.jsdelivr.net/gh/JackDunnCodes/hugeicons-font@2026-06-16.0/icons.min.css"
    integrity="sha384-Eg43hs0ohGyRzlw/UxYjFQaUstCQSAAOKH4MdC+A8OZYPeE8J3pTlhYoW5rYqe1g"
    crossorigin="anonymous"
  >
</noscript>

Details

Generate links at https://www.jsdelivr.com/package/gh/JackDunnCodes/hugeicons-font

Please use SRI hashes and pin to specific commits

Support

Firstly, I have nothing to do with Hugeicons, and Hugeicons has nothing to do with me. So I can't help with issues related to icon design, and they can't help with issues related to this repo's CSS and font files.

  • If icons are missing from here (but present on Hugeicon's website, and is available for free), please open an issue.
  • If icons are broken, please open an issue.
  • If the CSS or font files here are broken/throwing errors, please open an issue.
  • If the CSS or font files here give rise to a security issue or vulnerability, please see SECURITY.md.
  • If you don't like an icon's design, and you are NOT using our optimised SVG (in a modern browser you shouldn't be), please talk to Hugeicons.
  • If the files are unusually slow to load (bearing in mind, both the CSS and the fonts are very large files), please refresh and try again. If it's still slow, talk to your hoster (which may be jsDelivr or GitHub Pages).
  • If the below cdn.jsdelivr.net server is throwing errors or has a security issue, please talk to jsDelivr

Support and Updates are Best Effort, and without SLA

In other words, this is provided as-is and to the best of our abilities, but it may well break, and if it does you can't - and shouldn't - hold us liable.

Download the font files

Licenses

For details see LICENSE file. But (the following does not represent or replace the license) Hugeicons is MIT licensed, the fonts are licensed without restriction, and our modifications are public domain (including CC0).

About

Hugeicons as ttf/woff/woff2/eot/svg, and a CSS file to go with it

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages