# Transitions.dev

> Copy-ready CSS transitions for modals, menus, panels, toasts and state swaps, via a CLI or agent skill.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/transitions-dev

freepaid

Copy-ready CSS transitions for modals, menus, panels, toasts and state swaps, via a CLI or agent skill.

by Jakub Antalik[GitHub](https://github.com/Jakubantalik/transitions.dev)[npm](https://npmjs.com/package/transitions-dev)

[visit](https://transitions.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://transitions.dev](https://transitions.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [tw-animate-css](https://tastebase.ehsanulsiam.workers.dev/browse/tw-animate-css)

Tailwind v4 CSS-only enter and exit animation utilities (animate-in, fade-in, slide-in-from-top).

no preview

### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

no preview

### [Animate UI](https://tastebase.ehsanulsiam.workers.dev/browse/animate-ui)

Motion-animated drop-ins for Radix, Base UI and React Aria that animate your existing shadcn components.

no preview

### [Base UI](https://tastebase.ehsanulsiam.workers.dev/browse/base-ui)

Unstyled, accessible React primitives from the Radix, Floating UI and MUI teams.

## For your agent

##### Install

`npx transitions-dev add modal   # all free: add --free; agent skill: npx skills add Jakubantalik/transitions.dev`

**Free + paid.** [Pro $12/mo or $149 lifetime](https://transitions.dev/pro.html?utm_source=tastebase&utm_medium=referral&utm_content=detail-page): 11 Pro transitions with React and TypeScript versions, the Pro skill and Motion Agent

##### Use it for

- a modal, dropdown, tooltip or panel with a tuned open and close in plain CSS, no animation library
- an input that shakes on a validation error and settles back to neutral
- small state feedback: a badge popping in, an icon swapping with blur, a success check drawing itself
- an agent applying one set of motion tokens across an app (the transitions-dev skill)

##### Skip it when

- React components that must animate out before they unmount, or layout reflow: use motion (AnimatePresence, layout)
- a label or number that changes: use torph or number-flow
- drop-in animated React components: use motion-primitives or animate-ui

##### What's inside32 free, 11 paid

- Card resize
- Number pop-in
- Notification badge
- Text states swap
- Menu dropdown
- Modal open / close
- Panel reveal
- Page side-by-side
- Icon swap
- Success check
- Avatar group hover
- Error state shake
- Input clear with dissolve
- Skeleton loader and reveal
- Shimmer text
- Tabs sliding
- Tooltip open/close
- Texts reveal
- Card hover tilt
- Plus to menu morph
- Accordion expand
- Toast open/close
- Like button
- Learn more hover
- Checkbox check
- Spinning counter
- Toggle
- Thinking states
- Reasoning stream
- Streaming text
- Matrix dot loader
- Banner stacking
- Card stack hoverpaid
- Confetti burstpaid
- Drag and drop with physicspaid
- Get Pro buttonpaid
- Gooey plus menupaid
- Image generation placeholderpaid
- Image open tiltpaid
- Organic shimmerpaid
- Pro gradient textpaid
- Delete with smoky dissolvepaid
- Spinner to check morphpaid

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
css

**Weight**
tiny

**Accessibility**
ok

**Maturity**
stable

**License**
Transitions.dev License (free in any product, no redistribution as a library; CLI and tooling MIT)

**Price**
Free core, Pro $12/mo or $149 lifetime for more

##### Pairs with

[Base UI](https://tastebase.ehsanulsiam.workers.dev/browse/base-ui)[Radix Primitives](https://tastebase.ehsanulsiam.workers.dev/browse/radix-ui)[Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)

##### Alternatives

[tw-animate-css](https://tastebase.ehsanulsiam.workers.dev/browse/tw-animate-css)[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)[Animate UI](https://tastebase.ehsanulsiam.workers.dev/browse/animate-ui)

[Compare Transitions.dev with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/transitions-dev-alternatives)

```
// after pasting the recipe's :root block and .t-modal rules into your CSS
const modal = document.querySelector('.t-modal')
const open = () => modal.classList.replace('is-closing', 'is-open') || modal.classList.add('is-open')
const close = () => {
  modal.classList.replace('is-open', 'is-closing')
  setTimeout(() => modal.classList.remove('is-closing'), 150) // --modal-close-dur
}
```

https://transitions.dev/library.html

Loading website

[Visit](https://transitions.dev/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
