Agent skill Web motion
Animated Component Libraries
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/freshtechbro/claudedesignskills/tree/main/plugins/bundles/animation-components/skills/animated-component-libraries --skill animated-component-libraries --agent claude-code --yesCheck this file in your project.claude/skills/animated-component-libraries/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/freshtechbro/claudedesignskills/tree/main/plugins/bundles/animation-components/skills/animated-component-libraries --skill animated-component-librariesSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A React project with Tailwind CSS and an existing shadcn registry setup. Current Magic UI @magicui/marquee registry entry. Follow its setup for your Tailwind version.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- FreshTechBro
- Compatibility
- Current Magic UI @magicui/marquee registry entry. Follow its setup for your Tailwind version.
- Scenario
- Add a controllable testimonial marquee
- Skill name
animated-component-libraries- Repository
freshtechbro/claudedesignskills
Common pitfall
Avoid this prompt
Loop a row of linked testimonials and pause the row on hover.
Hover excludes touch and keyboard users. Repeated interactive children can create duplicate tab stops.
Use these steps
- Inventory testimonial content, link destinations, and registry configuration.
- Install the official registry item and keep rotating copies decorative.
- Check rotation, keyboard and touch controls, and a static reduced-motion mode.
Hands-on walkthrough
Use Magic UI’s installed Marquee with a readable static presentation and a keyboard-operable motion control.
Use Magic UI’s installed Marquee with a readable static presentation and a keyboard-operable motion control.
Identify the static reading order
Inventory testimonial content, link destinations, and registry configuration.
Prompt · Step 1Use Animated Component Libraries on [testimonials section]. Identify the canonical testimonial list and links. Inspect the shadcn components.json and Tailwind version to see where the current Magic UI Marquee will install its component and keyframes. Show the default static order and where a Start or Stop control would fit.Add optional movement
Install the official registry item and keep rotating copies decorative.
Prompt · Step 2In the configured shadcn project use pnpm dlx shadcn@latest add @magicui/marquee if the project uses pnpm, then import Marquee from the generated path. Use pauseOnHover for mouse convenience and an ordinary button to start or switch back to a static list. Keep repeated copies decorative with aria-hidden and no focusable elements. Make the real links available in the canonical list and keep the reduced-motion presentation static.Verify motion and reading access
Check rotation, keyboard and touch controls, and a static reduced-motion mode.
- Keyboard and touch can control the animation.
- The canonical list has usable links and repeated content stays out of the tab order.
Prompt · Step 3Run the actual page. Check that movement starts and stops using keyboard and touch, that every real link is available without waiting, and that repeated marquee copies add no tab stops. Verify reduced motion and a narrow viewport, and report whether the generated keyframes load and the page avoids horizontal overflow.
Workflow lookup
Use the documented calls with the version selected for the walkthrough.
Add the registry itemAPI
- Command or reference
pnpm dlx shadcn@latest add @magicui/marquee- Examples
- Run from an already configured shadcn project using pnpm.
Pause for a mouse userAPI
- Command or reference
pauseOnHover- Examples
- Pair it with a real button controlling the static presentation.
FAQ
Where should the Marquee import point?
Use the path generated for your project. The official examples may use a registry alias that differs from your components.json.
Where are the skill materials?
Open the project skill folder printed by the installer for SKILL.md and any bundled resources. The app’s runtime libraries are managed separately in its own package manifest.