HNNewShowAskJobs
Built with Tanstack Start
Iconify: Library of Open Source Icons(icon-sets.iconify.design)
484 points by sea-gold 16 hours ago | 54 comments
  • primaprashant11 hours ago

    They also have an API which you can use to get the icon SVG.

    I love making (architecture) diagrams in D2 [1], and love using the vast library of icons from Iconify in my diagrams where it makes sense. A sample diagram with SVG from Iconfiy would look like this:

      docker: Docker {
        icon: https://api.iconify.design/logos/docker-icon.svg
      }
    
      kubernetes: Kubernetes {
        icon: https://api.iconify.design/logos/kubernetes.svg
      }
    
      docker -> kubernetes: deploy
    
    [1]: https://d2lang.com/
  • hirako200013 hours ago

    To point out some of these SVGs are nicely animated and can be searched for.

    I used them for my offline text editor, the result turned wonderful (icons wise)

    https://wrifocus.bounded.cc

    • echoangle11 hours ago |parent

      Which icon set is that? When I filter for „contains animations“, I only get 3 icon sets where 2 are loaders and one is weather icons.

      • hirako200010 hours ago |parent

        line-md is the one. Plenty more than 3 animated.

        For size consistency, better stick to the same pack or you are on for SVG editing

    • catoc10 hours ago |parent

      The settings icon ‘sprouting’ cogs is really nice!

      The editor also looks really nice. Could this not be used online as well? Persistence on the server instead of browser cache? (Curious what your use case is for an offline browser based editor?)

      • hirako200010 hours ago |parent

        The use case is privacy. Data getting harvested by free and even paid for services isn't pleasant (targeted ads, data breach etc)

        If I get to add some "server" capability it will rather be webrtc, basically P2P to sync between devices, or a config to plug our own store. E.g GitHub, Google drive, dropbox or a self hosted service to SCP the files.

        It isn't just browser cached, one can export individual documents or the entire store as a zipped folder. And back that up.

        • rezonant39 minutes ago |parent

          Offline first (or only) is the way :-D

        • catoc10 hours ago |parent

          The editor can be online - persistence is primarily local - that makes sense

    • albert_e11 hours ago |parent

      Thanks for sharing -- looks very useful to me.

      Can you share any other details about your project -- if it can be self hosted, etc.

      • hirako200010 hours ago |parent

        I was hoping to open source it. Once I get to add some missing features and fix a few glitches.

        The purpose of self hosting isn't that useful as it's totally offline, everything goes to local storage and indexdb. It stays on the browser.

        But happy to share the repo if you would like to make it your own.

        • albert_e6 hours ago |parent

          offline is even great!

          if you are able to share the repo - that's great - thanks!

          i am toying with an idea of having a very light weight "idea capture" solution so i can capture my raw ideas with least friction .. and then channel them into more organized projects / drafts / blogs etc later.

          experimenting with tools like obsidian+git, github.dev, wispr flow, etc as input and storage channels ... but a lightweight markdown style note editor woould probably be a useful addition. need to experiment to find out for sure though.

          • hirako20005 hours ago |parent

            Obsidian would likely integrate better to this workflow.

            There is stackedit, also an offline first editor. Far more mature, can sync and store to the typical storage services.

            This app I made is.. more lightweight. It loads instantly for quick writing with no distractions. Pure markdown. Can organise but not mature.

            My contact is via my profile if you need access give your GitHub account.

  • FireInsight14 hours ago

    https://icones.js.org/ is a good site to search through these IMO

  • RestartKernel14 hours ago

    This makes me want to write a post about the rabbit hole that is icon optimisation. It drives me insane when websites suffer from layout shift simply because they are not inlining their icons, for one.

    • jetin11 hours ago |parent

      I agree with your comment, it is often an overlooked topic. Inlining icons can be one answer but be aware of the growing size of your DOM. Depending on the complexity, number and repetition of the icons you are using, an approach including lazy loading can be better. Layout shift is first and foremost caused by an improper space reservation.

    • 8organicbits6 hours ago |parent

      I believe setting width/height is a good fix here, although I see aspect ratio suggested as well. Inlining icons would prevent caching.

      https://web.dev/articles/optimize-cls#history_of_width_and_h...

  • czhu123 hours ago

    Huge props to this project. Use it daily for everything I’ve built. It has icons on basically everything.

    I was pleasantly surprised the other other day that it had both colored and uncolored devicons for the k3s project, which definitely isn’t that mainstream

  • sea-gold16 hours ago

    Previous discussions:

    September 2024 (4 comments, 17 points): https://news.ycombinator.com/item?id=41615563

  • paradox4604 hours ago

    Pictogrammers have one small advantage over this: they give you the home assistant code for any icon in material. Sure, it's not hard to figure the code yourself, but being able to click a button and get the right one is great

  • aeontech5 hours ago

    Since people are posting links to alternatives, another awesome source is the noun project. Has a mix of royalty-free, Creative Commons CC-BY-3.0, and paid license icons.

    https://thenounproject.com/

    • pdntspa5 hours ago |parent

      Noun project is great but you have to manually remove a bunch of junk from their SVGs to make them usable unless you pay. It's kind of BS

  • pdntspa5 hours ago

    Great! But where is the "download all" button.

    Folders on my hard drive > anything hosted on the web

  • ulrischa14 hours ago

    Question to all HN Users: what is the best icon library?

    • ComputerGuru6 hours ago |parent

      You’ll get a lot of responses but for me (excuse the nostalgia), icon design peaked with famfamfam’s (aka Mark James’s) Silk iconset from ~2005. It was a shame they were never available at higher resolutions (or as SVG), though I’m betting AI (either as Adobe Illustrator or Artificial Intelligence) can probably rectify that these days (and generate subpar additional icons to expand the set).

      View: https://peacocksoftware.com/silk

      Download: https://github.com/markjames/famfamfam-silk-icons/tree/maste...

    • thecopy13 hours ago |parent

      https://lucide.dev/

      • egeozcan12 hours ago |parent

        I learned about this thanks to claude always using it.

      • deaux11 hours ago |parent

        These now instantly ring everyone's slop alarm bells. I'd choose any set over them.

        • greatgib8 hours ago |parent

          Why you don't like this set? You feel negative after looking at their website or you have a more serious reason?

        • sabellito9 hours ago |parent

          Completely disagree, don't know of anyone who'd share that opinion.

    • Bewelge14 hours ago |parent

      I really like https://phosphoricons.com/

      But other than that, I also usually default to Material UI Icons.

    • tezza13 hours ago |parent

      I’ve used FlatIcon extensively. My use case is video games rather than web design.

      https://www.flaticon.com/

      • jojomodding8 hours ago |parent

        Sadly not open source licensed

    • mbsa713 hours ago |parent

      https://www.svgrepo.com I find the site very user friendly as it lets you customize the stroke's width, color etc, see how it looks like and copy the modified version.

      • Frotag11 hours ago |parent

        This site shows up on google a lot but it's a bit sketchy that there isn't a link to the source / license text. Not to mention the SEO heavy descriptions.

        > Free Download Wallet 460 SVG vector file in monocolor and multicolor type for Sketch and Figma from Wallet 460 Vectors svg vector

        Plus I've found the license listed isn't always accurate. For example the emojione icons are listed as MIT. But the actual repo says CC 4.0, with the non-artwork being MIT.

        https://www.svgrepo.com/svg/404123/skull-and-crossbones

        https://github.com/joypixels/emojione/

        • mbsa710 hours ago |parent

          I agree with you on the license issue, don't really mind the descriptions being too verbose or SEO oriented though but that's personal taste.

    • coolewurst14 hours ago |parent

      I like Material Symbols best. Largest selection AFAIK and simple enough that you can create unique ones that fit in.

      • Alupis13 hours ago |parent

        My only issue with Material-anything is it immediately looks/feels to me like something Google-related.

        Not a deal-breaker entirely, but for my own things I like differentiate.

        • Itoldmyselfso5 hours ago |parent

          If you use rounded or outline variants it's a bit different at least. There's also the two-tone variant which at least I haven't seen used much

        • coolewurst12 hours ago |parent

          I see your point and like to do things myself, just so they're mine, but I feel like there's only so many ways to skin a cat and draw a plus symbol.

          Most users will not care if they have seen a map icon in another app before anyway.

    • pixelready14 hours ago |parent

      Honestly, I always default to material icons unless a project calls for a very specific style. The coverage is just so dang good I rarely find a scenario without an appropriate icon and the style is neutral enough to blend in with a number of UI designs.

    • croisillon12 hours ago |parent

      famfamfam of course, the only set one will ever need

      • swhitf12 hours ago |parent

        The GOAT. I remember when basically every page on the internet had one of these icons on.

  • davidcann11 hours ago

    My site can extend a bunch of the icon sets that are on Iconify with AI image models, so you can feel comfortable using a more unique set than just the big ones: https://universymbols.com

  • stared10 hours ago

    Nice!

    One features that would be really nice would be to pick and icon (or a few) and compare these against all these icon sets.

    So the process is "I want to have save icon matches the best my design" and go from there.

  • aziis9812 hours ago

    This simply solved icons for me

  • lasgawe5 hours ago

    Love this. I use their Figma plugin almost every day.

  • joshuaisaact8 hours ago

    This is a brilliant library, thanks so much for sharing it

  • mythz13 hours ago

    iconify has been my primary source of icons for over a year now.

    Most of my Websites/Apps don't use rasterized graphics for design anymore, SVG + CSS gradients/backgrounds & effects seem to handle everything I need.

  • DenisDolya12 hours ago

    Thank you for sharing, this will come in handy for me.

  • BaudouinVH9 hours ago

    I would have placed the search box on the left above "Filter icons set" #my2cents

  • t_mahmood7 hours ago

    https://www.svgrepo.com/ is another one that I have found very useful.

  • vjay1514 hours ago

    Really useful thank you!

  • EGreg8 hours ago

    Are these correlated, by css class name, or like a font? So we could switch a “theme”?

  • nawaz0x112 hours ago

    Nice work