v0.3.2 · MIT · open source
Every icon you need, drawn to belong together.
20,132 free, open-source stroke icons for React and plain SVG. Tree-shakeable, fully typed, and ready to copy or install.
- icons
- 20,132
- categories
- 44
- duotone icons
- 5,293
- runtime dependencies
- 0
Why krz-icons
Built to drop into any interface
One grid, one stroke
Every icon is drawn on a 24×24 grid with a round 1px stroke, so any two of them look right side by side.
Tree-shakeable
ESM and CommonJS builds with no side effects. Only the icons you import end up in your bundle.
Fully typed
Each icon is a typed React component that forwards its ref and accepts every SVG prop.
React or plain SVG
Import components, or use the raw SVG files that ship in the same package. React is optional.
Accessible by default
Icons are hidden from screen readers as decoration. Pass a title and they become labelled images.
MIT licensed
Free for personal and commercial projects. No attribution required.
Customize
Size, stroke and color are just props
Icons inherit the text color by default and scale cleanly at any size. Drag the sliders to see it.
<Home size={32} />Variants
The same icon, the way you need it
Icons come with duotone, off and framed versions, and common ones have several alternate designs to choose from.
- Regular
- Duotone
- Off
- Circle
- Square
- Hexagon
- Octagon
- wallet
- wallet-2
- wallet-3
- wallet-4
Get started
Install it and import what you need
One package, no configuration. Every icon is a named export, so your editor autocompletes them and your bundler drops the rest.
$ npm install krz-iconsimport { Home, Search, Wallet } from "krz-icons";
export function Toolbar() {
return (
<>
<Home />
<Search size={20} color="#06D6A0" />
<Wallet strokeWidth={1.5} title="Wallet" />
</>
);
}Categories
Something for every screen
FAQ
Frequently asked questions
What is krz-icons?
krz-icons is a free, open-source icon library with 20,132 icons in 44 categories. Every icon is drawn on the same 24×24 grid with a consistent stroke and ships as both a React component and a plain SVG file.
Is krz-icons free for commercial use?
Yes. krz-icons is MIT licensed, so you can use it in personal and commercial projects at no cost and without attribution.
Does krz-icons work with Next.js?
Yes. Install the package and import the icons you need. They render in both Server and Client Components in the Next.js App Router, and in the Pages Router.
How do I install krz-icons in a React project?
Run "npm install krz-icons" (or the yarn, pnpm or bun equivalent), then import icons by name, for example: import { Home } from "krz-icons". React 16.8 or later is supported.
Can I use the icons without React?
Yes. The raw SVG files ship in the same package, and you can copy or download any icon as SVG from the icon gallery. It works with any framework or plain HTML.
Will importing krz-icons make my bundle large?
No. The package is tree-shakeable and has no runtime dependencies, so only the icons you import end up in your bundle.
Can I change the size, color and stroke width?
Yes. Every icon accepts size, color and strokeWidth props, inherits the current text color by default, and passes any other SVG prop through to the svg element.
Find the icon you need
Search all 20,132 icons, then copy the SVG or JSX, or download the file.