Hand drawn icons for Solid
Solid components whose props are read reactively, so a signal drives the icon without remounting it.
npm i @sketchyicons/solid- One icon
- 740 B
- Peers
- solid-js@^1.8
- Runtime dependencies
- none
- Shape
- one per icon
In your code
Pass a signal as size or color and the icon follows it. The components are built with solid-js/h rather than JSX, which means the package carries no compile step of its own and solid-js stays the only peer dependency.
import { House, Star } from "@sketchyicons/solid";
<House size={20} />
<Star size={15} color="#2B2521" strokeWidth={1.75} fill="currentColor" />- size
- number defaults to 24
- color
- string defaults to currentColor
- strokeWidth
- number defaults to 2
- absoluteStrokeWidth
- boolean defaults to false
- fill
- string defaults to none
Coming from lucide-solid
The geometry here is derived from Lucide, so the names match and the props match. The 247 names Lucide has renamed are exported next to the current ones, which means Home and HelpCircle keep resolving after the swap.
-import { House } from "lucide-solid";
+import { House } from "@sketchyicons/solid";Nothing else at the call site moves. Sizes, colours and stroke widths keep the values you already wrote.
1500+ glyphs, and a page for each of them
Every glyph in the set has its own page with the code for Solid, the sizes it holds at, and the file. Here are twelve of the 1756, drawn by the same generator that built the package.
Search the whole set by name or by tag, or read the installation guide for the peer dependencies and the first icon on screen. Every glyph holds at 15 px, which is the size a real control uses.
The other targets
Why two of them package their icons differently is worked through in One component per icon, except when that is the wrong shape.