Hairline-UI/hairline-icons
Sobre
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.
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- Coletando histórico
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalHairline Icons
![]()
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>.svgandsvg/<name>-solid.svg: the 20 px drawingssvg/16/: the same icons fitted to 16 pxmeta.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.
Explore projetos relacionados
Carregando…