Skip to main content
rule CX Codex

tailwind · coleam00 — Claude Code rule: what it does, how to install

Defines TailwindCSS guidelines inside Remotion and blocks native CSS transitions. Activates whenever you style video components.

no license ★ 849 updated 2026-01-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/tailwind.md
Open on GitHub

What tailwind does

This rule permits TailwindCSS utilities inside Remotion projects provided Tailwind is installed. It introduces a strict restriction against CSS transition and animation helpers, banning any transition-* and animate-* classes.

Visual movement must be driven frame by frame using the useCurrentFrame() hook. To configure styling dependencies initially, the agent must inspect https://www.remotion.dev/docs/tailwind via WebFetch.

What it helps with

  • apply TailwindCSS styling to Remotion video compositions
  • prevent rendering bugs triggered by transition-* and animate-* utilities
  • bind component animations strictly to the useCurrentFrame() hook

Example prompts for the agent

  • Style this Remotion video card with TailwindCSS classes
  • Animate the lower third graphic using useCurrentFrame() instead of CSS transitions

How to install tailwind

Manually: put the files in place

.claude/rules/tailwind.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about tailwind

How do I install tailwind in Claude Code?

Save the rule content into .claude/rules/tailwind.md inside your repository.

Why does this rule ban animate-* and transition-* classes?

Remotion relies on deterministic, frame-by-frame rendering. State changes need the timeline index from useCurrentFrame() rather than browser CSS transition timers.

Where does the agent look for setup instructions?

It fetches setup documentation directly from https://www.remotion.dev/docs/tailwind using WebFetch.

Similar IDE rules

All IDE rules for Frontend and UI →

tailwind by other authors comes first.

tailwind PatrickJS Guides Cursor on Tailwind CSS standards and mobile-first component styling. Triggers automatically when editing styles, JSX, TSX, or config files. CX Codex +1 ★ 41,178repo stars tailwind sanjeed5 Enforces Tailwind CSS standards in Cursor, covering design token configuration, class grouping, and accessibility states. CX Codex +1 ★ 3,589repo stars create-remotion-geist vercel-labs create-remotion-geist — a skill for Claude Code, Cursor, Codex and other agents that scaffolds Remotion projects in Vercel's visual style: dark backgrounds, Geist typography, spring animations, and the 10-step color scale. CX Codex +1 506installs remotion-best-practices vercel-labs remotion-best-practices is a Claude Code skill that loads rules for creating videos with Remotion, the React-based library, covering animation, sequencing, audio, 3D and transitions. CX Codex +1 1,600installs tailwind-v4-shadcn secondsky tailwind-v4-shadcn sets up Tailwind CSS v4 with shadcn/ui, Vite, and React. Solves broken CSS variables, theme switching errors, and v4 migration pitfalls. CX Codex +1 8,300installs tailwind-theme-builder jezweb tailwind-theme-builder is a Claude Code skill that configures Tailwind v4 and shadcn/ui themes with dark mode. It activates for theme setup, v3-to-v4 migrations, and colour or CSS configuration errors. CX Codex +1 3,300installs frontend-tailwind-best-practices sergiodxa frontend-tailwind-best-practices is a Claude Code skill with 10 Tailwind CSS rules for component styling, covering stack utilities, gap spacing, dark color schemes, and className merging. CX Codex +1 470installs tailwind-react-firebase-cursorrules-prompt-file PatrickJS tailwind-react-firebase-cursorrules-prompt-file — a Cursor rule that enforces mobile-first development with Tailwind, React, and Firebase: responsive design, accessibility, forms, and optimization. Installed as a file in .cursor/rules/. CX Codex +1 ★ 41,178repo stars

From the same set33

The whole set →

Project sponsors

Companies that keep this analytics open