josetravev/moveui
About
UI components and transitions that move like athletes. Copy, paste, ship.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Move UI
UI components and transitions that move like athletes. A ball curls into the top corner and the net bulges. A notification comes down like a slam dunk and the rim shakes. Tabs stretch into the next lane like a swimmer.
Copy it, paste it, ship it. Free and open source.
Live demo: moveui-red.vercel.app
Why
I've loved sport since I was a kid. As a designer, I kept wondering how to bring the two together. Move UI is my answer: every piece borrows its timing from a real move, so it has weight, follow through and a landing. Read the manifesto.
What's inside
26 pieces. Each one is a folder in src/registry: a React component and its CSS, or plain CSS for the transitions.
| Piece | Sport | The move | Use it for |
|---|---|---|---|
| Press | Football | Sinks under your foot, springs back off it | Buttons |
| Liquid tabs | Swimming | Stretches into the next lane, pulls its tail in | Tabs, segmented controls |
| Spring trail | Athletics | The leader takes the line, the pack closes up | Lists, menus, sidebars |
| Whistle toast | Football | Drops in and lands with a small squash | Toasts |
| Half-time accordion | Football | Opens with a small settle, closes at once | FAQs, settings |
| Dribble | Basketball | A ball kept bouncing on the beat | Loaders, AI thinking |
| Play-by-play | Football | Each moment drops into the commentary | AI reasoning, activity logs |
| Line-up | Football | A miss lunges and recovers, a goal pops | Agent tasks, uploads |
| ASCII field | Football | Floodlight over the pitch, drawn as balls and rackets | Hero backgrounds |
| Rolling ball | Football | Rolls by the distance it travels | Cursor feedback |
| Kick-off | Football | Curls into the top corner, the net bulges | Calls to action |
| Zero-G card | Gymnastics | Thrown, it floats, spins and drifts home | Product cards |
| Scoreboard roll | Football | Digits roll in like a stadium board | Counters, prices |
| Drop | Football | Falls from the trigger and settles | Dropdowns |
| Pop | Baseball | Grows out of the trigger with a little weight | Popovers |
| Whistle | Football | A quick lift, no bounce | Tooltips |
| Header | Football | Rises to meet it and lands | Modals |
| Sideline | Football | Runs in from the touchline, a step past its mark | Drawers |
| Huddle | American football | Gathers, then takes positions one by one | Command palettes |
| Serve | Tennis | Rises, hangs for a beat, comes down hard | Banners |
| Slam dunk | Basketball | Comes down from above, the rim shakes | Important notifications |
| Relay | Athletics | One step hands the baton to the next | Steps, page changes |
| Strike | Bowling | Comes in fast and the items scatter | Clear all |
| Dive | Swimming | Goes in head first and comes up | Expanding content |
| Swing | Golf | Pulls back a little, follows through | Send buttons |
| Spike | Volleyball | Jumps and hits it down on the diagonal | Move to another list |
Use a piece
Every piece has its own page on the site with a live preview, the code and a copy button. Pick one at moveui-red.vercel.app, then choose how you want it.
With the shadcn CLI
npx shadcn@latest add https://moveui-red.vercel.app/r/kick-off.json
The files land in components/moveui/. The tokens come with the first piece. Import them once in your root layout:
import "@/components/moveui/tokens.css";
Then use the piece:
import { KickOff } from "@/components/moveui/kick-off/kick-off";
export function Cta() {
return <KickOff label="Sign up" onScore={() => submit()} />;
}
By hand
Copy src/styles/tokens.css and the folder of the piece you want from src/registry. Every piece reads its colour, duration and easing from the tokens. Nothing is hardcoded.
With your agent
Each piece page has a "Copy prompt" button: paste it into Claude Code, Cursor or any coding agent and it installs the piece and wires it in.
To teach your agent the whole library and its motion rules, add the Move UI skill to your project:
npx shadcn@latest add https://moveui-red.vercel.app/r/skill.json
It lands in .claude/skills/moveui/SKILL.md. You can also read it at moveui-red.vercel.app/SKILL.md.
No animation library needed. It's React 19 and CSS, with the Web Animations API where CSS can't do it.
Rules every piece follows
- Reduced motion. With
prefers-reduced-motion, each piece keeps its meaning without the movement. - Keyboard first. Everything you can click, you can reach and use with the keyboard.
- No layout shift. Motion uses transform and opacity, so the page never jumps.
- Themeable. Change the tokens and every piece follows. Light and dark included.
Run the site locally
npm install
npm run dev
The registry (public/r) and the skill (public/SKILL.md) are built from src/content/pieces.ts before every build. Run npm run registry to rebuild them by hand.
Built with Next.js, Tailwind CSS v4 and TypeScript.
Built in public
Designed by José Trave Villalba, built with Claude Code. That's why Claude shows up as a co-author on the commits.
Follow along on X. Ideas, bugs and new moves are welcome as issues.
License
MIT. Use it in anything, personal or commercial.
Explore related projects
Loading…