Jakubantalik/transitions.dev

▲ 1,120 stars today★ 4,495⑂ 188

UI montion AI agent, a library of 43+ crafted transitions, a skill that fits your workflow.

About Jakubantalik/transitions.dev

Jakubantalik/transitions.dev is an open-source project on GitHub, mainly written in HTML. UI montion AI agent, a library of 43+ crafted transitions, a skill that fits your workflow. It currently holds 4,495 stars and 188 forks with 8 open issues, and was last pushed on 2026-10-01 (repository created 2026-04-21).

Project Overview

Git Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository Jakubantalik/transitions.dev · default branch main · size 45551 KB · watchers 7 · source: GitHub REST API and repository README

README

Transitions.dev

Transitions.dev is an interactive collection of reusable CSS transitions. Each card on the index page demonstrates a different interaction pattern and ships a copy-ready, portable CSS snippet for each.

Live site: https://transitions.dev/

Transitions

| # | Name | What it shows | |---|------|---------------| | 1 | Card resize | Smooth card resize transition. | | 2 | Number pop-in | Digit flip with blur and stagger. | | 3 | Notification badge | Diagonal slide with spring pop-in. | | 4 | Text states swap | Text swap transition with blur. | | 5 | Menu dropdown | Origin-aware open / close transition. | | 6 | Modal open / close | Modal transition with scale. | | 7 | Panel reveal | Panel open / close transition. | | 8 | Page side-by-side | Forward / back page transition. | | 9 | Icon swap | Scale and blur icon swap. | | 10 | Success check | Confirmation icon with fade, rotate, blur, Y-bob, and SVG path draw. | | 11 | Avatar group hover | Hovered avatar springs up while neighbours follow with a falloff. | | 12 | Error state shake | Input shake on validation error with auto-revert to neutral. |

Each card has a copy button that emits a self-contained CSS snippet: semantic CSS custom properties on :root, the transition rules namespaced under t-* classes, and a @media (prefers-reduced-motion: reduce) guard — so you can paste the snippet into any project and apply it to any component without pulling in demo-specific markup or sizing.

Install with the CLI (npm)

Pull any transition into your project from the terminal — no manual copy:

npx transitions-dev add card-resize      # free, no account needed
npx transitions-dev add --free           # every free transition at once
npx transitions-dev list                 # see everything available

Pro transitions unlock after a passwordless browser sign-in (device flow — no API key in your terminal):

npx transitions-dev login                # opens the browser to confirm a code
npx transitions-dev add confetti-burst    # pulls the Pro CSS + React

CLI source: cli/ (published as the public transitions-dev package; transitions-pro is the old name and forwards to it — it holds no premium source; Pro recipes are fetched from the authenticated API).

Use as an agent skill

The same transitions are packaged as an installable agent skill so AI coding tools (Cursor, Claude Code, Codex, …) can apply them directly inside your project.

npx skills add Jakubantalik/transitions.dev

Skill source lives in skills/transitions-dev/ — SKILL.md, eighteen per-transition reference files (01-card-resize.md … 18-texts-reveal.md), and _root.css (the universal install block on its own).

The skill is generated from index.html so the snippets always match what the showcase site demonstrates. Re-run after editing the source site:

npm run build

build/extract.mjs parses PROTO_TEMPLATES and the :root { --pX-* } block out of index.html, then re-renders every file under skills/transitions-dev/ from the templates in build/templates/.

Refine tool

Refine is a live, agent-driven companion to the skill. One command drops a timeline + Refine panel onto your running app — no npm install, no source edits of your own — and every "Refine" click asks your coding agent to align the selected CSS/Motion transition to the transitions.dev motion tokens (or replace it with a transition from the library). Suggestions appear in a panel that slides in from the right; you pick which to apply as live, reversible overrides.

# inject the panel + start the local relay (deterministic suggestions work immediately)
npx transitions-refine live

same, but also installs/wires the Cursor CLI so the relay answers with the LLM, persistently

npx transitions-refine live --llm

remove the injected tag again

npx transitions-refine stop

Without --llm, you can instead run /refine live in your editor to back the panel with the in-IDE agent. Source lives in refine/ and ships as the public npm package transitions-refine. See refine/README.md for the full flow and env knobs.

Files

Run locally

python3 -m http.server 8765

Then open http://127.0.0.1:8765/.

License

You (and any coding agent working for you) may use the transitions and skills in unlimited personal and commercial projects, modify them, and ship them to your users. The only restriction: don't redistribute the library itself as a competing transitions library or kit. The tooling (CLI, agent, Refine) is MIT. See LICENSE and the full terms.

GitHub Stars & Activity

4,495Stars
188Forks
8Open issues
HTMLLanguage

GitHub Popularity

GitHub stars4,495
Forks188
Open issues8
Primary languageHTML
LicenseNOASSERTION
Stars gained today1,120
Created2026-04-21
Last pushed2026-10-01

Trending History

Monthly boardrank #93 · ▲ 1,120 stars

Related GitHub Projects

1

tensorflow / tensorflow

C++★ 200,718⑂ 78,963▲ 24 stars
→
2

jackfrued / Python-100-Days

Jupyter Notebook★ 187,000⑂ 55,751▲ 41 stars
→
3

flutter / flutter

Dart★ 179,503⑂ 33,595▲ 164 stars
→
4

vercel / next.js

JavaScript★ 143,110⑂ 34,506▲ 79 stars
→
5

addyosmani / agent-skills

JavaScript★ 104,501⑂ 10,908▲ 750 stars
→
6

mui / material-ui

JavaScript★ 99,161⑂ 32,506▲ 15 stars
→
7

Leonxlnx / taste-skill

JavaScript★ 94,412⑂ 6,422▲ 320 stars
→
8

NationalSecurityAgency / ghidra

Java★ 82,717⑂ 9,195▲ 588 stars
→

More Trending Repositories