Back to gallery
lucasmarkes/hairline on GitHub — open-source project preview
lucasmarkes
Built bylucasmarkes/

hairline

Stars
4.1k
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~4,074 stars/day lifetime
Editor's take

Hairline is a set of thirty-three isometric line figures that react to the pointer: pillars that rise, a keyboard whose keys sink, a laptop lid on a spring, an exploded phone. Each figure works as a React component or as a plain function on any DOM element with update and destroy, so it also fits Svelte or vanilla pages. No dependencies, ESM only, and a shadcn registry wrapper reads your theme tokens. It is a good fit for marketing heroes and empty states that need movement without a video file. The tradeoff is scope: you get these figures, not a toolkit for drawing your own, and a 5:4 aspect ratio is baked in. MIT, about 4k stars.

Use this if

You need a tasteful interactive illustration for a landing page hero or feature section and your stack is React or plain DOM.

Skip if

You need custom illustrations that match your brand; you cannot author new figures, only tune the existing ones.

Animation & Motion
Quick install
# Clone + explore:
git clone https://github.com/lucasmarkes/hairline
cd hairline
# Then read the README below for setup steps.

Inferred from package · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026