honeGitHub

hone

A shadcn registry of React components lifted from real products and finished to one bar: interruptible motion, honest feedback, reduced-motion paths. You install the source and own it.

npx shadcn@latest add @hone/copy-button

Components

More components

Foundations

Tokens, physics and hooks. Components pull these in on their own; install them directly to build your own.

  • @hone/style

    Easing curves, durations, positive/negative colours, translucent materials and a reduced-motion base. Neutral palette only.

  • @hone/chart-format

    Cached Intl number formatting for data components, plus percent change helpers that return null instead of lying.

  • @hone/chart-geometry

    Pure, dependency-free chart maths: padded domains, unit-box points, smooth and area paths, scrub index and axis label picking.

  • @hone/spring

    Interruptible 1D spring (damping ratio + response), momentum projection and rubber-banding for gesture UI.

  • @hone/utils

    The cn() class-name helper (clsx + tailwind-merge).

  • @hone/use-client-value

    Read a browser-only value (URL, storage, time zone) with no hydration mismatch.

  • @hone/use-now

    A shared, boundary-aligned clock (per second, minute...) that renders null on the server.

  • @hone/use-reduced-motion

    Hydration-safe prefers-reduced-motion, also honouring a data-reduce-motion attribute on <html>.

  • @hone/use-snap-track

    Drag, flick and wheel a horizontal track onto snap points with velocity handoff, projection and rubber-banding.