
hairline
Six isometric line figures that answer the pointer. For React and for anything with a DOM.
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Oct 2026
Hairline is a library of animated isometric line drawings that react to the mouse: a keyboard whose keys sink under the pointer, a vault dial that turns, a commit graph that lifts. Each is a React component or a plain function for any page, Svelte and vanilla included. More than thirty figures, MIT licensed, free, zero dependencies.
Setup is npm i @lucasmarkes/hairline, or one shadcn command that also wires in your theme colors. Figures respect reduced-motion settings, render an empty box on the server so the page doesn't jump, and share one animation loop that stops when nothing moves. Theming is six CSS variables. Nothing to host.
Two coding agent skills come with it: hairline-create draws a new figure from a prompt, and hairline-adopt rebuilds an SVG icon as one. Solo builders and small teams: free, and a fast way to dress up a landing page hero or empty state. Larger teams with a design system: free, but your designers will want a say.
The catch: it's two weeks old and pre-1.0, with new figures in almost every release, so pin the version. It's also one fixed look. For animation your designer drew, use Rive or Lottie.
Free vs Self-Hosted vs Paid
fully freeFree: Everything, under the MIT license: every figure, the React components, the framework-free functions, the shadcn registry entry and both agent skills (hairline-create and hairline-adopt).
Self-hosted: Nothing to run. It's an npm package (@lucasmarkes/hairline, ESM only, no dependencies, React 18+ as an optional peer) bundled into your own site; the docs site also shows a CDN example.
Paid: There is no paid tier. The repo has a GitHub Sponsors button for anyone who wants to support the author.
Free under MIT with no paid tier; the only cost is the bundle weight of the figures you import.
What to do by team size
- Solo
- free; one npm install for a landing page that looks designed
- Small team
- free; drop figures into heroes and empty states
- Medium team
- free; theme it through the six CSS variables to match your brand
- Large team
- free, but check it fits your design system before it spreads across products
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: ✓ Yes
About
- Owner
- Lucas (User)
- Stars
- 2,701
- Forks
- 169
Explore Further
More tools in the directory
cc-switch
A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
147.8k ★next.js
The React Framework
143.2k ★open-design
🎨 Local-first, open-source alternative to Anthropic's Claude Design. ⚡ 19 Skills · ✨ 71 brand-grade Design Systems · 🖼️ sandboxed preview · 📦 HTML/PDF/PPTX export. 🤖 Runs on Claude Code / Codex / Cursor / Gemini CLI / OpenCode / Qwen / Copilot / Hermes / Kimi CLI.
103.4k ★