Skip to content
Back to search

keyline-icons

1,286 free MIT icons in stroke, two-tone, duotone and fill, rounded or sharp: 10,288 SVGs on one 24×24 grid. Built for shadcn/ui.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/keyline-icons/keyline-icons with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/keyline-icons/keyline-icons'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/keyline-icons--keyline-icons/badge.svg)](/listings/keyline-icons--keyline-icons)

HTML

<a href="/listings/keyline-icons--keyline-icons"><img src="/api/listings/keyline-icons--keyline-icons/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 277 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <img src="app/icon.svg" width="56" height="56" alt="Keyline Icons logo">
  2. # Keyline Icons
  3. [![CI](https://github.com/keyline-icons/keyline-icons/actions/workflows/ci.yml/badge.svg)](https://github.com/keyline-icons/keyline-icons/actions/workflows/ci.yml)
  4. [![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](LICENSE)
  5. **1,885 icons, drawn on one 24×24 grid, in four styles and two corner
  6. treatments.** Built for shadcn/ui, free under MIT.
  7. [**keylineicons.com**](https://keylineicons.com) to browse and copy.
  8. | Style | Icons | What it is |
  9. | --- | --- | --- |
  10. | `stroke` | 1,885 | The full set. 2px keylines on a 24 grid. |
  11. | `two-tone` | 1,885 | The stroke drawing over a flat plate at reduced opacity. |
  12. | `duotone` | 1,885 | No outline: a grey body with the detail in full strength. |
  13. | `fill` | 1,885 | Solid, with the detail knocked back out of the shape. |
  14. `stroke` is the drawing every other style starts from, and since 1.0.0 every
  15. name comes in all four. `two-tone` is what `duotone` meant until 0.9.0: the
  16. outline kept, a 40% plate under it. `duotone` now drops the outline and decides
  17. per icon which part is grey and which is black, so the thing that matters reads
  18. first: the check on a badge, the liquid in a flask, the data rather than the
  19. chart's axes. A glyph with nothing to fill, like `bar-chart`, carries its stroke
  20. drawing in the filled styles, so no import ever comes up empty.
  21. ## Rounded and sharp
  22. Every drawing in the table comes twice: rounded, with round caps and filleted
  23. corners, and sharp, with butt caps and square corners. Same names, same
  24. coverage, so 15,080 SVGs in total.
  25. ```
  26. icons/stroke/bell.svg
  27. icons/sharp/stroke/bell.svg
  28. icons/sharp/fill/bell.svg
  29. ```
  30. Sharp is a drawing of its own rather than a filter over the rounded one. Squaring
  31. a corner moves the ink, and where that changes the silhouette the geometry was
  32. solved again, so both treatments sit side by side in `raw/` and the build
  33. converts neither into the other.
  34. ## Using them
  35. **Copy one from the site.** [keylineicons.com](https://keylineicons.com) is the
  36. browser: click any icon to open it, then take it as SVG, JSX, a React import or
  37. an `npx` line, at whatever style, corners, stroke width and size you have set.
  38. The panel keeps the last three icons you opened, so two candidates can be held
  39. side by side. That is the fastest path and needs no install.
  40. **Take the files.** `icons/<style>/<name>.svg` and
  41. `icons/sharp/<style>/<name>.svg` are plain, normalised SVGs with no wrapper, no
  42. `id`s and no classes. They are generated, so treat them as build output: to
  43. change one, change the drawing in `raw/` and rebuild.
  44. **Import them in React.** `@keyline-icons/react` exports one component per
  45. icon, one entry point per style and corner treatment:
  46. ```bash
  47. npm i @keyline-icons/react
  48. ```
  49. ```tsx
  50. import { ArrowUpRight, Check, Menu } from "@keyline-icons/react"
  51. import { Folder as FolderDuotone } from "@keyline-icons/react/duotone"
  52. import { Folder as FolderFill } from "@keyline-icons/react/fill"
  53. import { Folder as FolderSharp } from "@keyline-icons/react/sharp"
  54. import { Folder as FolderSharpFill } from "@keyline-icons/react/sharp/fill"
  55. <Check className="size-4" />
  56. <ArrowUpRight size={16} />
  57. ```
  58. Every component takes the usual `SVGProps` plus `size`, and colours from
  59. `currentColor`. There is no theme, no context and no provider.
  60. The style entry points are smaller than the stroke one and deliberately so.
  61. `Check` is three open strokes with nothing to fill, so it exists in
  62. `@keyline-icons/react` and `/sharp` and in none of the others; `Folder` has an
  63. interior and exists in all six. The counts at the top of this file are the same
  64. fact.
  65. `components/icons/index.tsx` is the same set generated for this repo's own
  66. site, and `@/components/icons` is the import to use inside it. Both come off
  67. `icons/stroke/`, so they hold the same drawings; the package is the one to
  68. install anywhere else.
  69. **Import them in React Native.** `@keyline-icons/react-native` is the same
  70. components drawn through `react-native-svg`, with the same entry points and
  71. export names, so shared code changes the package name and nothing else. It
  72. works in Expo, on the web through Expo too.
  73. ```bash
  74. npm i @keyline-icons/react-native react-native-svg
  75. ```
  76. ```tsx
  77. import { Check } from "@keyline-icons/react-native"
  78. import { Folder } from "@keyline-icons/react-native/duotone"
  79. <Check size={16} color="#2563eb" />
  80. ```
  81. A native view has no CSS to inherit from, so colour is a `color` prop rather
  82. than `currentColor`.
  83. **Own the source with the shadcn CLI.** The registry is served by the site, so
  84. adding the set to a project is one entry in `components.json`:
  85. ```json
  86. "registries": {
  87. "@keyline": "https://keylineicons.com/r/{name}.json"
  88. }
  89. ```
  90. ```bash
  91. npx shadcn add @keyline/bell
  92. npx shadcn add @keyline/fill/bell
  93. npx shadcn add @keyline/sharp/fill/bell
  94. ```
  95. Each icon arrives as a self-contained component that imports nothing from the
  96. package, so it can be renamed, edited or folded into the project's own
  97. conventions. Take the package to have the whole set behind one import; take the
  98. registry to own a handful of files.
  99. You can also install straight from GitHub, without configuring a registry in
  100. `components.json`:
  101. ```bash
  102. npx shadcn@latest add keyline-icons/keyline-icons/bell
  103. npx shadcn@latest add keyline-icons/keyline-icons/fill/bell
  104. npx shadcn@latest add keyline-icons/keyline-icons/sharp/fill/bell
  105. ```
  106. The GitHub registry installs the same self-contained source files and variant
  107. paths as the site registry.
  108. **Add one at a time from the terminal.** `@keyline-icons/cli` searches the set
  109. and writes SVGs into a project without adding a dependency to it:
  110. ```bash
  111. npx @keyline-icons/cli search arrow
  112. npx @keyline-icons/cli add circle-arrow-down bell --out src/icons
  113. npx @keyline-icons/cli add bell --style fill --corners sharp
  114. ```
  115. **Give an agent the set.** `@keyline-icons/mcp` is an MCP server that searches
  116. the set, returns SVG source in any style and corner treatment, and returns the
  117. React import, so an assistant picks a real icon name rather than guessing one:
  118. ```bash
  119. claude mcp add keyline-icons -- npx -y @keyline-icons/mcp
  120. ```
  121. Anything else that speaks MCP over stdio runs the same command; the package's
  122. own README has the JSON.
  123. **Use them outside React.** The whole set is on
  124. [Iconify](https://icon-sets.iconify.design/keyline-icons/) as `keyline-icons`,
  125. which covers Vue, Svelte, Solid, web components and the Tailwind plugin. Stroke
  126. is the bare name and everything else is a suffix on it:
  127. ```
  128. keyline-icons:bell
  129. keyline-icons:bell-fill
  130. keyline-icons:bell-sharp-duotone
  131. ```
  132. Iconify re-imports from this repository, so it carries whatever the last
  133. release drew. The [install page](https://keylineicons.com/install) has the
  134. snippet for each framework.
  135. **Drop one onto a Figma canvas.** The
  136. [Figma plugin](https://www.figma.com/community/plugin/1672557050316875938/keyline-icons)
  137. inserts any icon in any style and either corner treatment into the file you
  138. already have open, and the
  139. [Community file](https://www.figma.com/community/file/1672255957017818239/keyline-icons)
  140. is the whole set as components, with style, corners and container as variant
  141. properties.
  142. ## Containers
  143. 67 icons come in a `square-` form and 72 in a `circle-` form, which wrap the
  144. base drawing rather than replacing it:
  145. ```
  146. icons/stroke/arrow-down.svg
  147. icons/fill/square-arrow-down.svg
  148. icons/sharp/duotone/circle-arrow-down.svg
  149. ```
  150. A `square-` or `circle-` prefix does not always mean a container. `circle-half`
  151. and `square-dashed` are shapes in their own right, with no base for them to
  152. contain, so they are filed as regular icons. The rule is that the base has to
  153. exist before the prefix means anything.
  154. ## Categories
  155. Arrows, Chevrons & Carets, Git, Files, Time, Mail, Finance, Commerce, Maps,
  156. Home, Media, Charts, Diagrams, Devices, Pointers, Text, Layout, Users, Gender,
  157. Emoji, Actions, Controls, Education, AI, Science, Health, Sport, Food & Drink,
  158. Art, Tools, Stationery, Shapes, Web, Weather, Transport, Nature and Animals,
  159. plus the Square and Circle container groups.
  160. What changed in each release, redraws included, is on the
  161. [changelog](https://keylineicons.com/changelog).
  162. ## Layout
  163. ```
  164. raw/<name>/ Figma exports, untouched. The source of truth.
  165. icons/<style>/ Generated SVGs, rounded. Do not hand-edit.
  166. icons/sharp/<style>/ Generated SVGs, sharp. Do not hand-edit.
  167. components/icons/ Generated React components. Do not hand-edit.
  168. pipeline/ The build, the linter and the checks.
  169. app/, components/ The site at keylineicons.com.
  170. packages/ Publishable packages.
  171. ```
  172. ## Working on it
  173. Node 20.9 or newer, and pnpm.
  174. ```bash
  175. pnpm install
  176. pnpm dev # the site
  177. pnpm icons:build # raw/ -> icons/
  178. pnpm icons:react # icons/ -> components/icons/ and packages/react/
  179. pnpm icons:lint # geometry and coverage rules
  180. pnpm icons:ci # the icon checks; CI also runs pnpm lint and pnpm build
  181. ```
  182. `pipeline/README.md` is the real documentation: what the build normalises, every
  183. rule the linter enforces and why, how the Figma check works, and the standard a
  184. new drawing has to meet. Read it before adding an icon. The drawing standard is
  185. not a matter of taste here, it is measured, and the linter will tell you the
  186. number it wanted.
  187. Two checks deliberately sit outside CI. `icons:figma` needs the Figma file,
  188. which CI does not have. `brand:check` rasterises through headless Chrome, where
  189. two versions disagree by a pixel on identical input, and a check that cries wolf
  190. gets switched off. Run both locally.
  191. ## Sponsors
  192. <!-- SPONSORS:start -->
  193. [Preline](https://preline.co), since August 2026.
  194. <!-- SPONSORS:end -->
  195. The set is free, has no paid tier, and is not getting one. Sponsorship pays for
  196. the hours rather than unlocking anything, so every icon added is added for
  197. everyone.
  198. [Sponsoring on GitHub](https://github.com/sponsors/keyline-icons) from $25 a
  199. month puts your name in this section, and from $100 a month on
  200. [keylineicons.com](https://keylineicons.com) as well. `lib/sponsors.ts` is the
  201. list both read from.
  202. ## Custom icons
  203. Need icons the set does not have, drawn for your own product?
  204. [Custom sets](https://keylineicons.com/custom?ref=readme) are drawn on the same
  205. grid and delivered as SVG, a Figma file and a React package. It is a separate
  206. paid service: the set stays free, and nothing drawn for a client changes it.
  207. ## Licence
  208. MIT. See [LICENSE](LICENSE). Use them in anything, commercial included, without
  209. attribution.
  210. The licence covers the icons and the code. It does not grant rights in the name
  211. "Keyline Icons".

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.