Skip to content
المشاريع

حول

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.

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…