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.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…