Skip to content
Browse documentation

Components

Interactions that make it feel expensive.

259 hand-built React components where every change of state is a moment. Install one with the shadcn CLI and it takes on your theme. Free for personal and commercial projects.

Installs

0

with the shadcn CLI

Components

259

free, MIT licensed

Blocks

8

heroes and footers, in Templates

Installation

  1. 01

    Have shadcn/ui set up

    Any style. The components read its theme variables (background, foreground, primary, border), so they look like the rest of your app.

    $ npx shadcn@latest init
  2. 02

    Add a component

    The component and its supporting files land in your components folder, with any keyframes and component dependencies installed too.

    $ npx shadcn@latest add https://hairlineui.com/r/number-roll.json
  3. 03

    Use it

    usage.tsx
    import { NumberRoll } from "@/components/number-roll";<NumberRoll value={downloads} /><NumberRoll value={price} format={{ style: "currency", currency: "USD", maximumFractionDigits: 0 }} />

    React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.

Vite, the @hairline namespace, installing by hand and what the CLI adds: the installation guide.

Building an AI chat? The AI chat components, in the order a conversation uses them shows which of these to reach for, with a worked example for the Vercel AI SDK.

Using a coding agent? Connect it to our MCP server and it finds, reads and installs these itself, instead of writing its own. Agents can also start at /llms.txt.

All 259 components

Registry index
  • Tabs whose highlight has a little surface tension: it draws out and pinches for a moment, then it is a pill again.

  • A bell that behaves like one: each notification hits it, a burst rings harder, and the clapper lags behind on its own.

  • 03FolderNew

    A project tile that holds your actual files: it opens on a hinge, fans real sheets, and takes a dropped file with weight.

  • Emoji reactions for comments and messages: press, slide along the tray and let go, and the emoji flies into its chip.

  • A multimodal AI prompt and voice bar on a dither lattice: every word you say condenses out of the wave into the transcript, and the prompt grows line by line.

  • A biometric passkey button whose 9-ridge fingerprint scans optically ridge by ridge while pending, then sweeps an 8×8 Bayer wave across the pill as the ridges draw into a check.

Templates

Or start from a whole page

63 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.

All 63 templates
  • A fine 8×8 Bayer privacy shield and secret field for API keys, signing secrets and balances: full-viewport optical veil, lazy on-demand fetch, copy-while-veiled and inherent edge-condensing auto-lock.

  • A tactile hairline keyboard shortcut recorder with physically depressed modifier keycaps, spring chord lock-in, layout-safe event.code capture and inline conflict swapping.

  • A hairline video player whose 3px scrubber springs open into a live filmstrip of extracted frames, with chapter micro-gaps, a return-to-spot bookmark and a Bayer buffering veil.

  • 10FloatNew

    A velocity-snapping floating container that projects throws into corners and tucks past the screen edge into a slim live hairline tab.

  • A hero auto-scaling money and credits input with spring typography scaling, a gliding velocity-stretch caret, smooth Max roll-up and live overdraft feedback.

  • A spring-guided hairline table of contents and collapsible reading progress pill whose active indicator glides smoothly along a continuous stepped SVG path.

  • Voice mode for your assistant: plasma in a glass globe that the voice moves, with the talk button, the microphone and the reply wired to your own backend.

  • A welcome that writes itself: one line of light writes the word, then bends into the next word or into your logo.

  • One call on any element: it folds in half and in half again, turns edge-on and is gone. unfold() brings it back.

  • One call throws the product into the cart on a real arc; it drops in below the rim and the cart dips with the weight.

  • Where the money went, and what is inside it: thick tiles with their amounts on them, and a category that blooms open into a ring of its own.

  • The confirm step of a payment: carry the thumb to the person you are paying and the money drains into their avatar.

  • The button at the end of a checkout, through the whole wait: the card being charged, a line of light while it pays, and a receipt that slides out from under it.

  • The camera button of a call, built as a lens: seven aperture blades spiral open to show you and shut over you, so nobody wonders if their camera is on.

  • A whole year of days in one card, and a lens to read them: the bars under the pointer spread apart and widen, so any one day out of 365 is easy to land on.

  • Set an alert by seeing what it would have done: drag a line across the last 30 days and every day over it turns red while the count of alerts rolls.

  • This period, and with one press the one before: every bar splits in two, then what was gained turns green and what fell short shows in red.

  • Parts of a whole as one bar that comes apart into a ranked list: each segment drops out and slides into its own row, keeping its width.

1–24 of 259

Building an AI product? Our landing page templates are made the same way, and use these components.

Browse templates