Skip to main content

Free copy-paste CSS transitions for common UI patterns — modals, dropdowns, card resizes, text swaps.

About Transitions.dev

transitions.dev is a free curated library of CSS transitions for common web app UI patterns. Each example covers a real interaction — opening a modal, animating a dropdown, resizing a card on hover, swapping out text — and ships with copy-paste ready code that drops into any project. No build step, no framework lock-in, no dependencies.

Whether you're prototyping in vanilla HTML/CSS or adding polish to a Next.js app, the snippets work as-is. Built by developers who got tired of rewriting the same animations from scratch.

Pricing model: Free

Features

  • Pre-built CSS transitions you can copy-paste
  • Common UI patterns — modals, menus, cards, text swaps
  • Works with any framework or vanilla JS
  • Free and open access
  • No build step required

FAQs

Common questions about Transitions.dev

Is Transitions.dev free?
Yes — every transition is free to copy and use in personal and commercial projects.
Does it work with my framework?
Yes. The snippets are plain CSS so they drop into React, Vue, Svelte, vanilla HTML, or anything else.
Do I need to install anything?
No. Copy the CSS and HTML directly into your project — no build step or library required.