sh4dcnv2 · atlas
← libraries

@magicui

Magic UI is a flagship open-source animated component library for design engineers, offering 150+ free React components and effects built with TypeScript, Tailwind CSS, and Motion. Categories span Backgrounds (Flickering Grid, Aurora, Interactive), Text effects (Aurora Text, Comic Text, Blur Fade), Buttons (Magnetic, Animated Shiny), Cards (Bento Grid, Card Glare), Borders (Magic Border, Beam Shine), Devices, Social Proof (Avatar Circles, Marquee), and standalone Templates. Companion to shadcn/ui (same install pattern). 100% free, MIT licensed, 20k+ GitHub stars. Use for: adding high-impact animated hero sections, bento grids, shimmer effects, and interactive backgrounds to SaaS landing pages or portfolios built on shadcn/ui.

60 components react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://magicui.design/r/registry
pnpm pnpm dlx shadcn@latest add https://magicui.design/r/registry
bun bunx shadcn@latest add https://magicui.design/r/registry
fetch registry curl -s https://magicui.design/r/registry

Components

60 total
index style
npx shadcn@latest add https://magicui.design/r/index
Magic Card ui

A spotlight effect that follows your mouse cursor and highlights borders on hover.

npx shadcn@latest add https://magicui.design/r/magic-card
Android ui

A mockup of an Android device.

npx shadcn@latest add https://magicui.design/r/android
Warp Background ui

A card with a time warping background effect.

npx shadcn@latest add https://magicui.design/r/warp-background
Line Shadow Text ui

A text component with a moving line shadow.

npx shadcn@latest add https://magicui.design/r/line-shadow-text
Aurora Text ui

A beautiful aurora text effect

npx shadcn@latest add https://magicui.design/r/aurora-text
Morphing Text ui

A dynamic text morphing component for Magic UI.

npx shadcn@latest add https://magicui.design/r/morphing-text
Scroll Progress ui

Animated Scroll Progress for your pages

npx shadcn@latest add https://magicui.design/r/scroll-progress
Lens ui

A interactive component that enables zooming into images, videos and other elements.

npx shadcn@latest add https://magicui.design/r/lens
Pointer ui

A component that displays a pointer when hovering over an element

npx shadcn@latest add https://magicui.design/r/pointer
smooth-cursor ui

A customizable, physics-based smooth cursor animation component with spring animations and rotation effects

npx shadcn@latest add https://magicui.design/r/smooth-cursor
Progressive Blur ui

The Progressive Blur component adds a smooth blur gradient effect to scrollable content, indicating more content below or above.

npx shadcn@latest add https://magicui.design/r/progressive-blur
Neon Gradient Card ui

A beautiful neon card effect

npx shadcn@latest add https://magicui.design/r/neon-gradient-card
Noise Texture ui

An SVG fractal noise layer using feTurbulence, desaturation, and contrast controls for subtle texture overlays.

npx shadcn@latest add https://magicui.design/r/noise-texture
Meteors ui

A meteor shower effect.

npx shadcn@latest add https://magicui.design/r/meteors
Grid Pattern ui

A background grid pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/grid-pattern
Hexagon Pattern ui

A background hexagon pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/hexagon-pattern
Striped Pattern ui

A background striped pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/striped-pattern
Interactive Grid Pattern ui

A interactive background grid pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/interactive-grid-pattern
Dot Pattern ui

A background dot pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/dot-pattern
Flickering Grid ui

A flickering grid background made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/flickering-grid
Hero Video Dialog ui

A hero video dialog component.

npx shadcn@latest add https://magicui.design/r/hero-video-dialog
Code Comparison ui

A component which compares two code snippets.

npx shadcn@latest add https://magicui.design/r/code-comparison
Marquee ui

An infinite scrolling component that can be used to display text, images, or videos.

npx shadcn@latest add https://magicui.design/r/marquee
Globe ui

An autorotating, interactive, and highly performant globe made using WebGL.

npx shadcn@latest add https://magicui.design/r/globe
Glyph Matrix ui

An animated grid of subtly shifting glyphs with fade effect and theme support.

npx shadcn@latest add https://magicui.design/r/glyph-matrix
Glare Hover ui

A diagonal glare on hover using a ::before gradient and CSS variables (angle, size, duration, color).

npx shadcn@latest add https://magicui.design/r/glare-hover
Shimmer Button ui

A button with a shimmering light which travels around the perimeter.

npx shadcn@latest add https://magicui.design/r/shimmer-button
Tweet Card ui

A card that displays a tweet with the author's name, handle, and profile picture.

npx shadcn@latest add https://magicui.design/r/tweet-card
Client Tweet Card ui

A client-side version of the tweet card that displays a tweet with the author's name, handle, and profile picture.

npx shadcn@latest add https://magicui.design/r/client-tweet-card
Bento Grid ui

Bento grid is a layout used to showcase the features of a product in a simple and elegant way.

npx shadcn@latest add https://magicui.design/r/bento-grid
Particles ui

Particles are a fun way to add some visual flair to your website. They can be used to create a sense of depth, movement, and interactivity.

npx shadcn@latest add https://magicui.design/r/particles
Number Ticker ui

Animate numbers to count up or down to a target number

npx shadcn@latest add https://magicui.design/r/number-ticker
Ripple ui

An animated ripple effect typically used behind elements to emphasize them.

npx shadcn@latest add https://magicui.design/r/ripple
Retro Grid ui

An animated scrolling retro grid effect

npx shadcn@latest add https://magicui.design/r/retro-grid
Animated List ui

A list that animates each item in sequence with a delay. Used to showcase notifications or events on your landing page.

npx shadcn@latest add https://magicui.design/r/animated-list
Animated Shiny Text ui

A light glare effect which pans across text making it appear as if it is shimmering.

npx shadcn@latest add https://magicui.design/r/animated-shiny-text
Animated Grid Pattern ui

A animated background grid pattern made with SVGs, fully customizable using Tailwind CSS.

npx shadcn@latest add https://magicui.design/r/animated-grid-pattern
Border Beam ui

An animated beam of light which travels along the border of its container.

npx shadcn@latest add https://magicui.design/r/border-beam
Animated Beam ui

An animated beam of light which travels along a path. Useful for showcasing the integration features of a website.

npx shadcn@latest add https://magicui.design/r/animated-beam
Text Reveal ui

Fade in text as you scroll down the page.

npx shadcn@latest add https://magicui.design/r/text-reveal
Dia Text Reveal ui

A horizontal color band sweeps across text, revealing a gradient shine before settling on the base color.

npx shadcn@latest add https://magicui.design/r/dia-text-reveal
Hyper Text ui

A text animation that scrambles letters before revealing the final text.

npx shadcn@latest add https://magicui.design/r/hyper-text
Animated Gradient Text ui

An animated gradient background which transitions between colors for text.

npx shadcn@latest add https://magicui.design/r/animated-gradient-text
Orbiting Circles ui

A collection of circles which move in orbit along a circular path

npx shadcn@latest add https://magicui.design/r/orbiting-circles
Dock ui

An implementation of the MacOS dock using react + tailwindcss + motion

npx shadcn@latest add https://magicui.design/r/dock
Word Rotate ui

A vertical rotation of words

npx shadcn@latest add https://magicui.design/r/word-rotate
Avatar Circles ui

Overlapping circles of avatars.

npx shadcn@latest add https://magicui.design/r/avatar-circles
Typing Animation ui

Characters appearing in typed animation

npx shadcn@latest add https://magicui.design/r/typing-animation
Sparkles Text ui

A dynamic text that generates continuous sparkles with smooth transitions, perfect for highlighting text with animated stars.

npx shadcn@latest add https://magicui.design/r/sparkles-text
Spinning Text ui

The Spinning Text component animates text in a circular motion with customizable speed, direction, color, and transitions for dynamic and engaging effects.

npx shadcn@latest add https://magicui.design/r/spinning-text
Comic Text ui

Comic text animation

npx shadcn@latest add https://magicui.design/r/comic-text
Icon Cloud ui

An interactive 3D tag cloud component

npx shadcn@latest add https://magicui.design/r/icon-cloud
Text Animate ui

A text animation component that animates text using a variety of different animations.

npx shadcn@latest add https://magicui.design/r/text-animate
Scroll Based Velocity ui

Scrolling text whose speed changes based on scroll speed

npx shadcn@latest add https://magicui.design/r/scroll-based-velocity
Shiny Button ui

A shiny button component with dynamic styles in the dark mode or light mode.

npx shadcn@latest add https://magicui.design/r/shiny-button
Shine Border ui

Shine border is an animated background border effect.

npx shadcn@latest add https://magicui.design/r/shine-border
Animated Circular Progress Bar ui

Animated Circular Progress Bar is a component that displays a circular gauge with a percentage value.

npx shadcn@latest add https://magicui.design/r/animated-circular-progress-bar
Confetti ui

Confetti animations are best used to delight your users when something special happens

npx shadcn@latest add https://magicui.design/r/confetti
Cool Mode ui

Cool mode effect for buttons, links, and other DOMs

npx shadcn@latest add https://magicui.design/r/cool-mode