sh4dcnv2 · atlas
← libraries

@motion-primitives

Motion Primitives is a curated open-source library of beautifully designed, easy-to-integrate motion components built with Motion (formerly Framer Motion) and Tailwind CSS, distributed via shadcn CLI. The components directory ships primitives focused purely on animation and transition behaviors — including Blur Fade, animated transitions, gestures, and layout effects — rather than full UI widgets. Designed as a complement to shadcn/ui, not a replacement. MIT licensed; actively developed with regular new component releases. Use for: layering production-quality entrance animations, shared layout transitions, and gesture-driven interactions onto components that already exist in a shadcn/ui project.

33 components pro available react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://motion-primitives.com/c/registry.json
pnpm pnpm dlx shadcn@latest add https://motion-primitives.com/c/registry.json
bun bunx shadcn@latest add https://motion-primitives.com/c/registry.json
fetch registry curl -s https://motion-primitives.com/c/registry.json

Components

33 total
Accordion ui

A collapsible content component with smooth animations for showing and hiding content.

npx shadcn@latest add https://motion-primitives.com/c/accordion.json
Animated Background ui

A component that provides animated background effects for UI elements.

npx shadcn@latest add https://motion-primitives.com/c/animated-background.json
Animated Group ui

A container component that applies coordinated animations to a group of child elements.

npx shadcn@latest add https://motion-primitives.com/c/animated-group.json
Animated Number ui

A component that animates number changes with smooth transitions.

npx shadcn@latest add https://motion-primitives.com/c/animated-number.json
Border Trail ui

An effect that creates animated border trails around elements on interaction.

npx shadcn@latest add https://motion-primitives.com/c/border-trail.json
Carousel ui

A component for cycling through elements with smooth transitions.

npx shadcn@latest add https://motion-primitives.com/c/carousel.json
Cursor ui

A custom cursor component with animated effects and interactions.

npx shadcn@latest add https://motion-primitives.com/c/cursor.json
Dialog ui

A modal dialog component with smooth entrance and exit animations.

npx shadcn@latest add https://motion-primitives.com/c/dialog.json
Disclosure ui

A component that shows and hides content with animated transitions.

npx shadcn@latest add https://motion-primitives.com/c/disclosure.json
In View ui

A component that triggers animations when elements enter the viewport.

npx shadcn@latest add https://motion-primitives.com/c/in-view.json
Infinite Slider ui

A slider component that loops infinitely through its content.

npx shadcn@latest add https://motion-primitives.com/c/infinite-slider.json
Transition Panel ui

A panel component with smooth transitions between different states.

npx shadcn@latest add https://motion-primitives.com/c/transition-panel.json
Text Effect ui

A component that applies animated effects to text content.

npx shadcn@latest add https://motion-primitives.com/c/text-effect.json
Text Loop ui

A component that cycles through different text phrases with animations.

npx shadcn@latest add https://motion-primitives.com/c/text-loop.json
Text Morph ui

A component that morphs between different text strings with smooth transitions.

npx shadcn@latest add https://motion-primitives.com/c/text-morph.json
Text Roll ui

A component that animates text with a rolling effect.

npx shadcn@latest add https://motion-primitives.com/c/text-roll.json
Text Scramble ui

A component that creates a scrambling text effect during transitions.

npx shadcn@latest add https://motion-primitives.com/c/text-scramble.json
Text Shimmer ui

A component that applies a shimmering effect to text.

npx shadcn@latest add https://motion-primitives.com/c/text-shimmer.json
Text Shimmer Wave ui

A component that creates a wave-like shimmer effect on text.

npx shadcn@latest add https://motion-primitives.com/c/text-shimmer-wave.json
Magnetic ui

A component that creates a magnetic attraction effect on hover.

npx shadcn@latest add https://motion-primitives.com/c/magnetic.json
Morphing Dialog ui

A dialog that morphs from its trigger element with smooth transitions.

npx shadcn@latest add https://motion-primitives.com/c/morphing-dialog.json
Morphing Popover ui

A popover component that morphs from its trigger with fluid animations.

npx shadcn@latest add https://motion-primitives.com/c/morphing-popover.json
Dock ui

A macOS-style dock component with scaling and movement effects.

npx shadcn@latest add https://motion-primitives.com/c/dock.json
Glow Effect ui

A component that creates a glowing effect on elements based on cursor movement.

npx shadcn@latest add https://motion-primitives.com/c/glow-effect.json
Image Comparison ui

A component for comparing two images with an interactive slider.

npx shadcn@latest add https://motion-primitives.com/c/image-comparison.json
Toolbar Dynamic ui

A toolbar component with dynamic appearance based on user interaction.

npx shadcn@latest add https://motion-primitives.com/c/toolbar-dynamic.json
Toolbar Expandable ui

An expandable toolbar that reveals additional options with animations.

npx shadcn@latest add https://motion-primitives.com/c/toolbar-expandable.json
Progressive Blur ui

A component that applies progressive blur effects to elements.

npx shadcn@latest add https://motion-primitives.com/c/progressive-blur.json
Scroll Progress ui

A component that visualizes scroll progress with animated indicators.

npx shadcn@latest add https://motion-primitives.com/c/scroll-progress.json
Sliding Number ui

A component that transitions between numbers with a sliding animation.

npx shadcn@latest add https://motion-primitives.com/c/sliding-number.json
Spotlight ui

A component that creates a spotlight effect following cursor movement.

npx shadcn@latest add https://motion-primitives.com/c/spotlight.json
Spinning Text ui

A component that animates text with a spinning rotation effect.

npx shadcn@latest add https://motion-primitives.com/c/spinning-text.json
Tilt ui

A component that applies 3D tilt effects to elements based on cursor position.

npx shadcn@latest add https://motion-primitives.com/c/tilt.json