Skip to content
Projets

À propos

640 free React icons in Outline and Solid, drawn for 16 and 20 px so they stay sharp on everyday screens. Every icon fills in when selected. MIT.

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Hairline Icons

Hairline Icons: sharp on your users' screens, not just yours

1200 free React icons in Outline and Solid, drawn for the 16 and 20 px of buttons, menus and sidebars, so they stay sharp on everyday screens, not only on retina ones. Every icon fills in when it's selected. MIT licensed.

Browse and search them, by the Lucide name you already use, at https://hairlineui.com/icons.

Install

Copy them into your project as files you own, with the shadcn CLI:

npx shadcn@latest add @hairline/icons       # all of them
npx shadcn@latest add @hairline/icon-bell   # one

Use

import { HomeIcon } from '@/components/icons/home';
import { BellIcon } from '@/components/icons/bell';

<HomeIcon />                        // 20 px outline
<HomeIcon size={16} />              // the drawing fitted to 16 px
<BellIcon active={selected} />      // fills in when selected, outline to solid
<BellIcon variant="solid" />        // always solid
<BellIcon label="Notifications" />  // an accessible name; without one the icon is hidden from screen readers

Icons draw in currentColor, so they take your text colour in light and dark themes. Every other prop goes to the <svg>. Your bundler only ships the icons you import.

Coming from Lucide

Every Lucide-matched icon carries its Lucide name (in meta.json and in the search on the site), and the line weight sits beside Lucide's, so you can swap one icon at a time. AI coding tools can do the swap for you through the Hairline MCP server: https://hairlineui.com/ui/mcp

Files

  • svg/<name>.svg and svg/<name>-solid.svg: the 20 px drawings
  • svg/16/: the same icons fitted to 16 px
  • meta.json: each icon's name, component, group, the Lucide icon it replaces and its search words

Live icons, which change in place (menu to close, sent to delivered) or show a level (volume, battery), install with the shadcn CLI: https://hairlineui.com/icons#states

Missing an icon?

Open an issue at https://github.com/Hairline-UI/hairline-icons/issues, or search for it on the site: searches that find nothing decide what gets drawn next. New icons arrive in batches.

Licence

MIT: free in commercial products, no credit line needed.

Explorer des projets similaires

Chargement…