
Yes, there are free libraries like shadcn/ui with animation built in, and you get the source code. For landing-page polish, start with Magic UI. For subtler motion inside a product, Motion Primitives. To animate shadcn-style primitives you already use, Animate UI. For bold hero effects, Aceternity UI, with some of it behind a paid plan. If you want your coding agent to find and adapt motion for you, including WebGL shaders, use Subframe's motion library: it's open source, and its Motion MCP works in Claude Code, Codex and Cursor with no account. For plain CSS animations, Animista and Animate.css.
The short version:
| Library | Best for | Kind of motion | How you add it | Built with | Price |
|---|---|---|---|---|---|
| Magic UI | Landing pages on shadcn/ui | Marketing effects: text effects, marquees, animated backgrounds | Copy-paste or shadcn CLI | React, TypeScript, Tailwind, Motion | Free and open source; Magic UI Pro adds blocks and templates |
| Aceternity UI | Bold hero sections | Cinematic effects, shader backgrounds, full blocks and pages | Copy-paste, or an AI agent with MCP | React, Tailwind, Motion | Free components plus a paid All-Access plan |
| Motion Primitives | Product interfaces | Subtle text effects, transitions, micro-interactions | Copy-paste | React, Tailwind, Motion | Free and open source |
| Animate UI | Animating components you already have | Animated versions of standard primitives (tabs, switches, accordions) | One CLI command; an agent skill | React (Radix UI, Base UI, React Aria); Vue version | Free |
| useLayouts | One-off interactions | Interactive layouts, navigation, hover and drag effects | Copy a single file | React, Motion, Tailwind | Free |
| Subframe motion library | Letting your coding agent pick and adapt motion | Interface animations, Motion components and WebGL shaders | Through the Motion MCP in Claude Code, Codex or Cursor, no account | React, Motion, WebGL | Free and open source |
Every library here is free to start and gives you code you can edit. They differ on four things, and those decide the pick:
Magic UI is the default answer to "shadcn, but animated". It ships more than 150 free, open-source animated components and effects built with React, TypeScript, Tailwind CSS and Motion, and it's designed as a companion to shadcn/ui rather than a replacement.
Aceternity UI goes for impact: more than 200 components, blocks and templates built with React, Tailwind CSS and Motion, including shader backgrounds and full landing-page sections. You copy and paste them, or let Claude Code, Codex or another agent with MCP install them.
Motion Primitives is an open-source UI kit of motion components you copy, paste and customize. Its motion is quieter than Magic UI or Aceternity, closer to what you'd ship inside a product than on a launch page.
Animate UI takes a different route: it gives you animated versions of the primitives you already build on, for Radix UI, Base UI and React Aria. One CLI command animates them, and you keep your components, styles and API. It also offers an Animate UI skill so your AI agent can add motion from a plain-language request.
useLayouts offers free animated React components built with React, Motion and Tailwind CSS. You preview one, copy a single file and drop it in.
Subframe's motion library is a free, open-source collection of React animations, Motion components and WebGL shaders made for agents to use. Instead of browsing and copying, you connect the Motion MCP to Claude Code, Codex or Cursor and ask for what you want ("an image reveal for the case studies section"); the agent works from the library's finished examples and adapts them to your page. No Subframe account is needed. If you already use the Subframe MCP, the same motion tools are included.
To set it up in Claude Code:
claude mcp add --transport http subframe-motion https://mcp.subframe.com/motion/mcp
If you want catalogues of simple CSS animations for text and buttons, without React:
For inspiration rather than code, browse Awwwards and CodePen and note the timing of what you like.
You can mix them: Magic UI for the hero and Motion Primitives or Animate UI for the interface work fine together.
Yes. Magic UI, Motion Primitives, Animate UI, useLayouts and Subframe's motion library are free and give you the source. Aceternity UI has free components plus a paid plan.
Magic UI, Aceternity UI, Motion Primitives and useLayouts are all built on Motion, which was previously called Framer Motion.
Yes. Aceternity UI and Subframe's motion library can be used through MCP, and Animate UI offers an agent skill. With Subframe's Motion MCP, Claude Code works from finished examples and adapts them to your page, with no account.
Animista, Animate.css and Hover.css are the usual starting points; CodePen and Awwwards are good for inspiration.
Browse open-source React animations, Motion components and WebGL shaders at subframe.com/motion, then connect the Motion MCP to Claude Code, Codex or Cursor.