Animated React components for shadcn/ui

Bigger than a component.

KeyframeUI is a library of 62 animated React components for shadcn/ui, built with Tailwind CSS 4 and Motion. Whole sections with one signature move, from the preloader to the changelog: a hero that paints itself in, a form that writes a sentence, a loader that counts with the real load. One command puts each in your project as source.

Browse components
npx shadcn@latest add @keyframeui/relief

Uses the @keyframeui registry. Add it once before your first install.

f000

Headline

Copy

Actions

01Live sections

A landing page, section by section

Every section below is a component from the registry, running live. Pick one to see the moment it owns, then take it with one command.

Clouds of ink drifting through water, in black and whiteThe same ink clouds in red, orange and electric blue
Tinta

Brand & motion studio · Lisbon

Color that stays with you.

Identities, campaigns and the motion between them, for brands that want to be remembered.

Two pictures in one frame. The pointer paints the second one in with a soft brush, and the stroke closes back behind it.

Also for hero: Expanding Hero, Blueprint and Intro Loader. All 31 for hero

02What you get

One command brings the whole demo

Install a demo and the shadcn CLI writes the demo, the component behind it and the cn helper, then installs the packages they import.

Yours to edit
Each component is one TypeScript file in your repo. No package to upgrade, no API to work around.
No stylesheet to import
The animation lives in the component file. Nothing to add to globals.css.
Reduced motion, handled
Components check prefers-reduced-motion and tone their movement down.
npx shadcn@latest add @keyframeui/relief-demo

your-app/

  • components/
  • ui/
  • relief.tsx
    + component
  • relief-demo.tsx
    + demo
  • lib/
  • utils.ts
    + cn helper
  • package.json
    + clsx, tailwind-merge

03Setup

Set up once, then add anything

You need a React project with Tailwind CSS 4. The first two steps happen once per project; after that, every component is a single command.

  1. Set up shadcn/ui

    Skip this if your project already has a components.json.

    npx shadcn@latest init
  2. Register @keyframeui

    Add the registry to components.json so the CLI knows where to find it.

    components.json
    {
      "registries": {
        "@keyframeui": "https://keyframeui.com/r/{name}.json"
      }
    }
  3. Add a component

    It lands in components/ui. Demos install the same way, with their component included.

    npx shadcn@latest add @keyframeui/relief
  4. Optional: install from your AI editor

    The shadcn MCP server lets your coding agent find and add components when you ask, for example “add the relief from @keyframeui”. For another editor, swap claude for cursor, vscode, codex or opencode. Plain-text docs for LLMs are at /llms.txt.

    npx shadcn@latest mcp init --client claude

04Now and next

First the wow, then the work

The registry starts where a visitor first meets your product, the landing page. The same care for motion moves into the product next.

The wow moment

On the landing page. Here now.

The hero that paints itself in, the gallery that answers the pointer, the form that writes its own sentence. Motion that earns the next scroll, installed as source you keep.

The practical moment

In the product. Next.

The same discipline, pointed at the dashboard: undo that flies back to where it came from, a save bar that rewinds the fields, a table whose rows travel when you sort. Motion that explains what just happened instead of decorating it.

Likely first areas

  • Undo and redo
  • Sorting and filtering
  • Saving and resetting
  • Loading and empty states
  • Keyboard shortcuts

05FAQ

Questions, answered

Short answers on setup, frameworks and what’s free. Coding agents can read them, with the rest of the docs, at /llms.txt.

What do I need to use KeyframeUI?

A React project with Tailwind CSS 4 and shadcn/ui set up: if it has no components.json yet, npx shadcn@latest init adds one. Then register the @keyframeui registry in components.json once. The components are TypeScript files written for React 19.

How do I install a component?

Run npx shadcn@latest add @keyframeui/<name>. The shadcn CLI writes the component to components/ui, adds the cn helper and installs its npm packages, so the source is yours to edit. Demos and blocks install the same way and bring their components with them. To install without registering the registry, use the item's URL: npx shadcn@latest add https://keyframeui.com/r/<name>.json.

Are the blocks free?

Yes. Every block is free to install, and one command brings the section together with the components it's built with.

Does it work with Next.js and Vite?

Yes. The components import only React, the cn helper and their npm packages, nothing from Next.js, so they work in any React project the shadcn CLI sets up, Next.js and Vite included. Each file starts with "use client" for the Next.js App Router; other setups ignore it.

Does it work with Tailwind CSS 3?

No. KeyframeUI is built for Tailwind CSS 4, and the components use classes that only exist there, such as container-query and in-* variants. Upgrade the project to Tailwind CSS 4 first.

Can I install components from Cursor or Claude Code?

Yes, through the shadcn MCP server. Run npx shadcn@latest mcp init --client claude, or --client cursor (vscode, codex and opencode work too), and your coding agent can find and add items when you ask, for example “add the odometer from @keyframeui”. Plain-text docs for LLMs are at https://keyframeui.com/llms.txt.

Does it respect reduced motion?

Yes. The components check prefers-reduced-motion and tone their movement down for visitors who ask their system for less motion.

The keyframes are already written.