Components
Everything below is the real component, rendered by the same package you install — keyboard-operable, themeable, and identical in Vue.
Used for your licence key.
Purpose
Most animation and component libraries start in one framework, then get ported to the rest — usually by a different team, on a different schedule, with subtly different behaviour. A spring that feels right in the React build drifts in the Vue port. A focus trap that works in one forgets the other. Six months later the two have quietly grown apart, and nobody can say which one is “correct.”
Ansh inverts that. The engine is framework-agnostic first — `@ansh-ui/core` owns every spring, every easing curve, every colour computation, with zero React or Vue in it at all. `@ansh-ui/react` and `@ansh-ui/vue` are both thin bindings over the same engine, built and tested together, so there is no primary framework here for the others to fall behind.
That’s the whole premise: pick the framework you already use, and get identical physics, identical colour, and identical accessibility behaviour — not a close approximation of it.
Framework support
Not a React library with a Vue wrapper bolted on. `@ansh-ui/react` and `@ansh-ui/vue` are separate bindings over the same `@ansh-ui/core` engine — every effect, spring and colour function behaves identically because it’s the same code underneath.
Templates
Four application shells assembled from the same components — each one a working layout you can read the source of, not a picture of one.
Colour
Every gradient and generated scale interpolates through OKLab. The `srgb` strip below passes through an exact, dead grey at its midpoint — the other two keep their hue the whole way across. This is the same function every `GradientText`, `AnimatedGradient` and generated colour scale in the library calls.
Why Ansh
Every claim below is something this repository’s own test suite checks — not marketing copy hoping nobody looks closer.
HEX, RGB, HSL and OKLCH in, OKLab interpolation out. Blue-to-yellow never collapses to grey at the midpoint the way it does in sRGB.
read → compute → write → post, shared by every effect and behaviour on the page at once.
Reduced motion honoured in JS and neutralised again in CSS. Focus trapping and roving tabindex on every interactive component.
Seven subpath entries per framework package, so a form-only bundle never pays for the canvas effects.
Every effect mounts client-side only. The server-rendered markup is the host element and nothing else.
Every colour, radius, shadow and duration resolves from `@ansh-ui/tokens`. Override one variable and it restyles the whole set.
Get started
Add the tokens package alongside the framework binding — components resolve their styling from it, so nothing renders unstyled.
pnpm add @ansh-ui/react @ansh-ui/tokensEditions
Every component, effect and framework binding on this site is MIT licensed and stays free. Pro adds premium WebGL effects, design tools and templates on top. It isn’t on sale yet, so join the waitlist to hear first and help decide what ships.
Everything you need to build an application. MIT licensed, and it stays that way.
For teams that want premium visuals and the tools to make them their own.
For organisations that need guarantees around a dependency this central.
About
Every component here should survive being read by someone who doesn’t trust the README.
Every claim on this site is something the test suite checks — 1034 tests across 21 files, run on every commit — not a figure that sounded right and got typed in.
The colour palette on this exact page was generated by createScale() against this repository’s own colour engine, not chosen by eye — see the comment at the top of landing.css.
MIT licensed, source available. If a claim above looks doubtful, the fastest way to settle it is to go read the function that makes it, not to take the page’s word for it.
Get in touch
Evaluating Ansh for production, thinking about the Pro tier, or found something broken — send it over. Every message goes to a person, not a queue.
The form replies to whichever address you give it. If you’d rather use your own mail client instead of this one: