Skip to content

Motion Primitives

Small, composable motion components such as text effects, animated groups, docks and carousels, built with Motion and Tailwind CSS. Still in beta, so expect changes.

LibraryUI libraries

Install in your project

A code library: your agent installs it and uses it in your codebase.
npx shadcn@latest add "https://motion-primitives.com/c/text-effect.json"

Needs Tailwind CSS, motion, lucide-react and a cn helper in lib/utils.ts. Each component is a JSON file the shadcn CLI can add by URL.

Read the Motion Primitives Grid Notes (setup, gotchas and reduced motion)