@ansh-ui/core · v0.2.0

Motion,
refined.

A framework-agnostic animation engine with premium, accessible components for React, Next.js, Vue and Nuxt — one scheduler, one colour model, springs solved in closed form. Not four implementations wearing the same class names.

20
Canvas effects
40
Easing curves
57
Components
0
Runtime dependencies
Background is running

Components

Not a screenshot. The components themselves.

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.

Stablev0.2.0MIT
Ada LovelaceGrace HopperAlan TuringKatherine Johnson
Bundle budget used72%

Browse all 57 components, with the code →

Purpose

Motion shouldn’t be a per-framework afterthought, bolted on late and ported badly.

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

The same components, natively in each framework

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.

01

React

18 and 19. Hooks-based, tree-shakeable, `’use client’`-ready.
02

Next.js

App Router and Server Components. `@ansh-ui/react` ships with the client directive already injected at build.
03

Vue

3.4+, Composition API composables, full v-model support on every form control.
04

Nuxt

3.10+. `@ansh-ui/nuxt` auto-imports every component and composable, and prevents the theme flash with a blocking head script.

Compare live code and output across all four →

Templates

Start from a screen, not a blank file.

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

Perceptual by default

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.

6
Colour spaces
AA/AAA
Live contrast check
oklab
oklch
srgb

Why Ansh

Built to be trusted in production

Every claim below is something this repository’s own test suite checks — not marketing copy hoping nobody looks closer.

Perceptual colour engine

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.

One ticker, four phases

read → compute → write → post, shared by every effect and behaviour on the page at once.

Accessible by default

Reduced motion honoured in JS and neutralised again in CSS. Focus trapping and roving tabindex on every interactive component.

Pay for what you import

Seven subpath entries per framework package, so a form-only bundle never pays for the canvas effects.

SSR-safe, hydration-clean

Every effect mounts client-side only. The server-rendered markup is the host element and nothing else.

No hardcoded values

Every colour, radius, shadow and duration resolves from `@ansh-ui/tokens`. Override one variable and it restyles the whole set.

Get started

One install, every component

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/tokens

Editions

Free to build with. Pro for the showpieces.

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.

Free

$0

Everything you need to build an application. MIT licensed, and it stays that way.

  • All 57 application components, in React and Vue
  • All 20 canvas effects and every behaviour
  • React, Next.js, Vue and Nuxt bindings
  • The ansh CLI: init, add, theme and palette
  • Community support via GitHub issues
Coming soon

Pro

Waitlist

For teams that want premium visuals and the tools to make them their own.

  • Everything in Free
  • WebGL effects pack: fluid, glass, ocean, lens flare and more
  • Theme Studio and Effect Composer exports
  • Premium page templates in every framework
  • Figma design-token sync
  • Priority issue triage
Most interested in (optional)

Enterprise

Contact

For organisations that need guarantees around a dependency this central.

  • Everything in Pro
  • Shared team theme library
  • Security and licence review support
  • Direct support channel with an SLA
  • Custom components and effects

Motion, refined. In your framework.

Install it, or see the exact same component running live in React, Next.js, Vue and Nuxt before you commit to either.

About

Every component here should survive being read by someone who doesn’t trust the README.

01

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.

02

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.

03

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

Questions, partnerships, or enterprise licensing?

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:

info@techiesofepi.com

49 fps · p95 1.2ms · q 100% · 31 subs