Skill library

Agent skill Web motion

Tailwind CSS Animations

Design, implement or review motion on the web.

  • Animation

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/josiahsiegel/claude-plugin-marketplace/tree/main/plugins/tailwindcss-master/skills/tailwindcss-animations --skill tailwindcss-animations --agent claude-code --yes

Check this file in your project.claude/skills/tailwindcss-animations/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/josiahsiegel/claude-plugin-marketplace/tree/main/plugins/tailwindcss-master/skills/tailwindcss-animations --skill tailwindcss-animations

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use the existing Tailwind CSS v4 stylesheet and a local preview that can emulate both motion preferences. The compiler fixture used 4.3.5.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Skill name
tailwindcss-animations
Scenario
Add a reduced-motion aware status panel entrance
Deliverable
An emitted entrance utility, observed reduced-motion behavior and normal keyboard operation.
Skill name
tailwindcss-animations

Define a styling task with a visible result

A request with an unclear outcome

Animate every element and ensure the panel starts hidden.

Without a working animation or under reduced-motion preferences, hidden content can stay unavailable.

A workflow with observable results

  1. Pick one effect and define the static state
  2. Compile the named keyframes and preference variants
  3. Verify computed behavior with both preferences

Tailwind CSS Animations operation manual

Define a single purposeful entrance and verify that the content is immediately available in reduced-motion mode.

Replace the bracketed details with your own project and target.

  1. Pick one effect and define the static state

    Keep the content available before adding motion.

    Prompt · Step 1
    Use tailwindcss-animations for [local status panel]. Confirm Tailwind v4 and the existing CSS entry. Identify a single short entrance for [one panel], such as small vertical movement and opacity, and write what should be immediately visible and focused with reduced motion. Preserve the loading and success states.
  2. Compile the named keyframes and preference variants

    Use v4 @theme animation tokens with accessible static CSS.

    Prompt · Step 2
    Use tailwindcss-animations to implement [approved entrance] in [active v4 CSS entry]. Place a named --animate-* value and its keyframes in @theme. Apply the complete motion-safe:animate-* class to the panel and use motion-reduce:animate-none or equivalent when needed. Keep base content visible and avoid a blanket transition-all on unrelated properties.
  3. Verify computed behavior with both preferences

    Check animation name and control access in the local browser.

    • The entrance plays only with the intended preference.
    • The panel is still readable and actionable with motion reduced.
    Prompt · Step 3
    Use tailwindcss-animations to build and test [local panel] with normal and reduced-motion browser preferences. Record which animation-name the browser computes, whether the heading and action are visible immediately when reduced motion is on, and whether keyboard focus and activation still operate. Report any non-motion loading state separately.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

The custom class emits no keyframesReference
Command or reference
SKILL.md · Custom Animations (v4)
Examples
Check the @theme animation variable and a complete utility in scanned markup.
The content is hidden under reduced motionReference
Command or reference
SKILL.md · motion-safe / motion-reduce
Examples
Inspect computed opacity and animation with reduced motion active.

Tailwind CSS Animations troubleshooting

Do I need a motion library for this effect?

The fixture used Tailwind CSS 4.3.5, a theme animation and browser media preferences. A simple panel entrance can use that existing stack.