MCPcopy
hub / github.com/romboHQ/tailwindcss-motion

github.com/romboHQ/tailwindcss-motion @v1.1.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.1.1 ↗
14 symbols 43 edges 13 files 0 documented · 0%
README

tailwindcss-motion

NPM Version NPM Downloads

tailwindcss-motion is a Tailwind CSS Plugin made at RomboHQ. It’s a simple, yet powerful, animation library with a simple syntax.

Motion, without commotion.

⚒️ Installation

1. Install npm package

npm i -D tailwindcss-motion

2. Add into your tailwind.config.js

// tailwind.config.js

export default {
     content: [...],
     theme: {
        extend: {...},
     },
     plugins: [require('tailwindcss-motion')],
};

or, to use ESM:

import tailwindcssMotion from "tailwindcss-motion";

/** @type {import('tailwindcss').Config} */
export default {
     content: [...],
     theme: {
          extend: {},
     },
     plugins: [tailwindcssMotion],
};

📝 TypeScript Support

The plugin includes TypeScript definitions out of the box. Theme customizations and plugin configuration are fully typed:

import type { Config } from "tailwindcss";
import motion from "tailwindcss-motion";

const config: Config = {
  theme: {
    extend: {
      motionScale: {
        "200": "200%",
      },
      motionTimingFunction: {
        custom: "cubic-bezier(0.4, 0, 0.2, 1)",
      },
    },
  },
  plugins: [motion],
};

How does it work?

We provide a simple syntax to animate any element in your Tailwind project. Instead of defining custom keyframes, we provide utility classes to animate every dimension, inline.

For example, for a slide and fade effect — you simply need motion-translate-x-in-25 motion-opacity-in-0 or, you can use one of our presets with motion-preset-fade

Documentation

For full documentation, visit docs.rombo.co/tailwind

🧩 Introducing the Chrome Extension

Take your animations to the next level with the Rombo Chrome Extension!

Create animations visually:

  • Use our intuitive animator directly in your browser.
  • Loop animations
  • Save presets: Keep your animations organized and reusable.
  • Export options: Output animations as Tailwind classes, pure CSS, or Framer Motion code.

extension

Examples

Landing page - https://play.tailwindcss.com/uAuVF8F1vC

example-1

Chat dialog - https://play.tailwindcss.com/gjGqEKswjQ

example-2

Low Battery Dynamic Island - https://play.tailwindcss.com/tvYFbHtNNQ

example-3

Apple Color Swatches - https://play.tailwindcss.com/cvQ3Nk3v8j

example-4

Rombo Loop - https://play.tailwindcss.com/MLdegkb9Wq

example-5

Emoji Animations - https://play.tailwindcss.com/86s55I4wmC

example-6

What's Rombo?

Rombo is an early-stage company, building tools to help companies build beautiful interactive interfaces. We're starting out with a toolkit for engineers, designers and creative marketers to animate natively inside common Workflows — like Tailwind, Figma, Webflow, Shopify & more to come!

More Resources

Core symbols most depended-on inside this repo

scaleLoopAnimation
called by 5
src/baseAnimations.ts
translateLoopAnimation
called by 5
src/baseAnimations.ts
rotateLoopAnimation
called by 3
src/baseAnimations.ts
filterLoopAnimation
called by 2
src/baseAnimations.ts
opacityLoopAnimation
called by 2
src/baseAnimations.ts
addKeyframes
called by 1
src/keyframes.ts
addPresets
called by 1
src/presets.ts
addModifiers
called by 1
src/modifiers.ts

Shape

Function 14

Languages

TypeScript100%

Modules by API surface

src/baseAnimations.ts8 symbols
tsup.config.ts1 symbols
src/presets.ts1 symbols
src/modifiers.ts1 symbols
src/keyframes.ts1 symbols
src/index.ts1 symbols
src/defaults.ts1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@astrojs/check0.9.3 · 1×
@astrojs/react3.6.2 · 1×
@astrojs/tailwind5.1.1 · 1×
@eslint/js9.18.0 · 1×
@types/node22.10.7 · 1×
@types/react19.0.7 · 1×
@types/react-dom19.0.3 · 1×
astro4.15.8 · 1×
eslint9.18.0 · 1×
globals15.14.0 · 1×
react18.3.1 · 1×
react-dom18.3.1 · 1×

For agents

$ claude mcp add tailwindcss-motion \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact