UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
import { type Registry } from "shadcn/schema"
export const ui: Registry["items"] = [
{
name: "magic-card",
type: "registry:ui",
title: "Magic Card",
description:
"A spotlight effect that follows your mouse cursor and highlights borders on hover.",
dependencies: ["motion", "next-themes"],
files: [
{
path: "magicui/magic-card.tsx",
type: "registry:ui",
},
],
},
{
name: "android",
type: "registry:ui",
title: "Android",
description: "A mockup of an Android device.",
files: [
{
path: "magicui/android.tsx",
type: "registry:ui",
},
],
},
{
name: "warp-background",
type: "registry:ui",
title: "Warp Background",
description: "A card with a time warping background effect.",
dependencies: ["motion"],
files: [
{
path: "magicui/warp-background.tsx",
type: "registry:ui",
},
],
},
{
name: "line-shadow-text",
type: "registry:ui",
title: "Line Shadow Text",
description: "A text component with a moving line shadow.",
dependencies: ["motion"],
files: [
{
path: "magicui/line-shadow-text.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-line-shadow": "line-shadow 15s linear infinite",
},
},
css: {
"@keyframes line-shadow": {
"0%": {
"background-position": "0 0",
},
"100%": {
"background-position": "100% -100%",
},
},
},
},
{
name: "aurora-text",
type: "registry:ui",
title: "Aurora Text",
description: "A beautiful aurora text effect",
files: [
{
path: "magicui/aurora-text.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-aurora": "aurora 8s ease-in-out infinite alternate",
},
},
css: {
"@keyframes aurora": {
"0%": {
"background-position": "0% 50%",
transform: "rotate(-5deg) scale(0.9)",
},
"25%": {
"background-position": "50% 100%",
transform: "rotate(5deg) scale(1.1)",
},
"50%": {
"background-position": "100% 50%",
transform: "rotate(-3deg) scale(0.95)",
},
"75%": {
"background-position": "50% 0%",
transform: "rotate(3deg) scale(1.05)",
},
"100%": {
"background-position": "0% 50%",
transform: "rotate(-5deg) scale(0.9)",
},
},
},
},
{
name: "morphing-text",
type: "registry:ui",
title: "Morphing Text",
description: "A dynamic text morphing component for Magic UI.",
files: [
{
path: "magicui/morphing-text.tsx",
type: "registry:ui",
},
],
},
{
name: "scroll-progress",
type: "registry:ui",
title: "Scroll Progress",
description: "Animated Scroll Progress for your pages",
dependencies: ["motion"],
files: [
{
path: "magicui/scroll-progress.tsx",
type: "registry:ui",
},
],
},
{
name: "lens",
type: "registry:ui",
title: "Lens",
description:
"A interactive component that enables zooming into images, videos and other elements.",
dependencies: ["motion"],
files: [
{
path: "magicui/lens.tsx",
type: "registry:ui",
},
],
},
{
name: "pointer",
type: "registry:ui",
title: "Pointer",
description:
"A component that displays a pointer when hovering over an element",
dependencies: ["motion"],
files: [
{
path: "magicui/pointer.tsx",
type: "registry:ui",
},
],
},
{
name: "smooth-cursor",
description:
"A customizable, physics-based smooth cursor animation component with spring animations and rotation effects",
type: "registry:ui",
files: [
{
path: "magicui/smooth-cursor.tsx",
type: "registry:ui",
},
],
dependencies: ["motion"],
},
{
name: "progressive-blur",
type: "registry:ui",
title: "Progressive Blur",
description:
"The Progressive Blur component adds a smooth blur gradient effect to scrollable content, indicating more content below or above.",
files: [
{
path: "magicui/progressive-blur.tsx",
type: "registry:ui",
},
],
},
{
name: "neon-gradient-card",
type: "registry:ui",
title: "Neon Gradient Card",
description: "A beautiful neon card effect",
files: [
{
path: "magicui/neon-gradient-card.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-background-position-spin":
"background-position-spin 3000ms infinite alternate",
},
},
css: {
"@keyframes background-position-spin": {
"0%": { "background-position": "top center" },
"100%": { "background-position": "bottom center" },
},
},
},
{
name: "noise-texture",
type: "registry:ui",
title: "Noise Texture",
description:
"An SVG fractal noise layer using feTurbulence, desaturation, and contrast controls for subtle texture overlays.",
files: [
{
path: "magicui/noise-texture.tsx",
type: "registry:ui",
},
],
},
{
name: "meteors",
type: "registry:ui",
title: "Meteors",
description: "A meteor shower effect.",
files: [
{
path: "magicui/meteors.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-meteor": "meteor 5s linear infinite",
},
},
css: {
"@keyframes meteor": {
"0%": {
transform: "rotate(var(--angle)) translateX(0)",
opacity: "1",
},
"70%": { opacity: "1" },
"100%": {
transform: "rotate(var(--angle)) translateX(-500px)",
opacity: "0",
},
},
},
},
{
name: "grid-pattern",
type: "registry:ui",
title: "Grid Pattern",
description:
"A background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/grid-pattern.tsx",
type: "registry:ui",
},
],
},
{
name: "hexagon-pattern",
type: "registry:ui",
title: "Hexagon Pattern",
description:
"A background hexagon pattern made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/hexagon-pattern.tsx",
type: "registry:ui",
},
],
},
{
name: "striped-pattern",
type: "registry:ui",
title: "Striped Pattern",
description:
"A background striped pattern made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/striped-pattern.tsx",
type: "registry:ui",
target: "components/magicui/striped-pattern.tsx",
},
],
},
{
name: "interactive-grid-pattern",
type: "registry:ui",
title: "Interactive Grid Pattern",
description:
"A interactive background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/interactive-grid-pattern.tsx",
type: "registry:ui",
},
],
},
{
name: "dot-pattern",
type: "registry:ui",
title: "Dot Pattern",
description:
"A background dot pattern made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/dot-pattern.tsx",
type: "registry:ui",
},
],
},
{
name: "flickering-grid",
type: "registry:ui",
title: "Flickering Grid",
description:
"A flickering grid background made with SVGs, fully customizable using Tailwind CSS.",
files: [
{
path: "magicui/flickering-grid.tsx",
type: "registry:ui",
},
],
},
{
name: "hero-video-dialog",
type: "registry:ui",
title: "Hero Video Dialog",
description: "A hero video dialog component.",
dependencies: ["motion"],
files: [
{
path: "magicui/hero-video-dialog.tsx",
type: "registry:ui",
},
],
},
{
name: "code-comparison",
type: "registry:ui",
title: "Code Comparison",
description: "A component which compares two code snippets.",
dependencies: ["shiki", "next-themes"],
files: [
{
path: "magicui/code-comparison.tsx",
type: "registry:ui",
},
],
},
{
name: "marquee",
type: "registry:ui",
title: "Marquee",
description:
"An infinite scrolling component that can be used to display text, images, or videos.",
files: [
{
path: "magicui/marquee.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-marquee": "marquee var(--duration) infinite linear",
"animate-marquee-vertical":
"marquee-vertical var(--duration) linear infinite",
},
},
css: {
"@keyframes marquee": {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(calc(-100% - var(--gap)))",
},
},
"@keyframes marquee-vertical": {
from: {
transform: "translateY(0)",
},
to: {
transform: "translateY(calc(-100% - var(--gap)))",
},
},
},
},
{
name: "globe",
type: "registry:ui",
title: "Globe",
description:
"An autorotating, interactive, and highly performant globe made using WebGL.",
dependencies: ["cobe@^0.6.4", "motion"],
files: [
{
path: "magicui/globe.tsx",
type: "registry:ui",
},
],
},
{
name: "glyph-matrix",
type: "registry:ui",
title: "Glyph Matrix",
description:
"An animated grid of subtly shifting glyphs with fade effect and theme support.",
files: [
{
path: "magicui/glyph-matrix.tsx",
type: "registry:ui",
},
],
},
{
name: "glare-hover",
type: "registry:ui",
title: "Glare Hover",
description:
"A diagonal glare on hover using a ::before gradient and CSS variables (angle, size, duration, color).",
files: [
{
path: "magicui/glare-hover.tsx",
type: "registry:ui",
},
],
},
{
name: "shimmer-button",
type: "registry:ui",
title: "Shimmer Button",
description:
"A button with a shimmering light which travels around the perimeter.",
files: [
{
path: "magicui/shimmer-button.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-shimmer-slide":
"shimmer-slide var(--speed) ease-in-out infinite alternate",
"animate-spin-around":
"spin-around calc(var(--speed) * 2) infinite linear",
},
},
css: {
"@keyframes shimmer-slide": {
to: {
transform: "translate(calc(100cqw - 100%), 0)",
},
},
"@keyframes spin-around": {
"0%": {
transform: "translateZ(0) rotate(0)",
},
"15%, 35%": {
transform: "translateZ(0) rotate(90deg)",
},
"65%, 85%": {
transform: "translateZ(0) rotate(270deg)",
},
"100%": {
transform: "translateZ(0) rotate(360deg)",
},
},
},
},
{
name: "tweet-card",
type: "registry:ui",
title: "Tweet Card",
description:
"A card that displays a tweet with the author's name, handle, and profile picture.",
dependencies: ["react-tweet"],
files: [
{
path: "magicui/tweet-card.tsx",
type: "registry:ui",
},
],
},
{
name: "client-tweet-card",
type: "registry:ui",
title: "Client Tweet Card",
description:
"A client-side version of the tweet card that displays a tweet with the author's name, handle, and profile picture.",
dependencies: ["react-tweet"],
files: [
{
path: "magicui/client-tweet-card.tsx",
type: "registry:ui",
},
],
},
{
name: "bento-grid",
type: "registry:ui",
title: "Bento Grid",
description:
"Bento grid is a layout used to showcase the features of a product in a simple and elegant way.",
dependencies: ["@radix-ui/react-icons"],
registryDependencies: ["button"],
files: [
{
path: "magicui/bento-grid.tsx",
type: "registry:ui",
},
],
},
{
name: "particles",
type: "registry:ui",
title: "Particles",
description:
"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.",
files: [
{
path: "magicui/particles.tsx",
type: "registry:ui",
},
],
},
{
name: "number-ticker",
type: "registry:ui",
title: "Number Ticker",
description: "Animate numbers to count up or down to a target number",
dependencies: ["motion"],
files: [
{
path: "magicui/number-ticker.tsx",
type: "registry:ui",
},
],
},
{
name: "ripple",
type: "registry:ui",
title: "Ripple",
description:
"An animated ripple effect typically used behind elements to emphasize them.",
files: [
{
path: "magicui/ripple.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-ripple":
"ripple var(--duration,2s) ease calc(var(--i, 0)*.2s) infinite",
},
},
css: {
"@keyframes ripple": {
"0%, 100%": {
transform: "translate(-50%, -50%) scale(1)",
},
"50%": {
transform: "translate(-50%, -50%) scale(0.9)",
},
},
},
},
{
name: "retro-grid",
type: "registry:ui",
title: "Retro Grid",
description: "An animated scrolling retro grid effect",
files: [
{
path: "magicui/retro-grid.tsx",
type: "registry:ui",
},
],
},
{
name: "animated-list",
type: "registry:ui",
title: "Animated List",
description:
"A list that animates each item in sequence with a delay. Used to showcase notifications or events on your landing page.",
dependencies: ["motion"],
files: [
{
path: "magicui/animated-list.tsx",
type: "registry:ui",
},
],
},
{
name: "animated-shiny-text",
type: "registry:ui",
title: "Animated Shiny Text",
description:
"A light glare effect which pans across text making it appear as if it is shimmering.",
files: [
{
path: "magicui/animated-shiny-text.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-shiny-text": "shiny-text 8s infinite",
},
},
css: {
"@keyframes shiny-text": {
"0%, 90%, 100%": {
"background-position": "calc(-100% - var(--shiny-width)) 0",
},
"30%, 60%": {
"background-position": "calc(100% + var(--shiny-width)) 0",
},
},
},
},
{
name: "animated-grid-pattern",
type: "registry:ui",
title: "Animated Grid Pattern",
description:
"A animated background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
dependencies: ["motion"],
files: [
{
path: "magicui/animated-grid-pattern.tsx",
type: "registry:ui",
},
],
},
{
name: "border-beam",
type: "registry:ui",
title: "Border Beam",
description:
"An animated beam of light which travels along the border of its container.",
dependencies: ["motion"],
files: [
{
path: "magicui/border-beam.tsx",
type: "registry:ui",
},
],
},
{
name: "animated-beam",
type: "registry:ui",
title: "Animated Beam",
description:
"An animated beam of light which travels along a path. Useful for showcasing the integration features of a website.",
dependencies: ["motion"],
files: [
{
path: "magicui/animated-beam.tsx",
type: "registry:ui",
},
],
},
{
name: "text-reveal",
type: "registry:ui",
title: "Text Reveal",
description: "Fade in text as you scroll down the page.",
dependencies: ["motion"],
files: [
{
path: "magicui/text-reveal.tsx",
type: "registry:ui",
},
],
},
{
name: "dia-text-reveal",
type: "registry:ui",
title: "Dia Text Reveal",
description:
"A horizontal color band sweeps across text, revealing a gradient shine before settling on the base color.",
dependencies: ["motion"],
files: [
{
path: "magicui/dia-text-reveal.tsx",
type: "registry:ui",
},
],
},
{
name: "hyper-text",
type: "registry:ui",
title: "Hyper Text",
description:
"A text animation that scrambles letters before revealing the final text.",
dependencies: ["motion"],
files: [
{
path: "magicui/hyper-text.tsx",
type: "registry:ui",
},
],
},
{
name: "animated-gradient-text",
type: "registry:ui",
title: "Animated Gradient Text",
description:
"An animated gradient background which transitions between colors for text.",
files: [
{
path: "magicui/animated-gradient-text.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-gradient": "gradient 8s linear infinite",
},
},
css: {
"@keyframes gradient": {
to: {
"background-position": "var(--bg-size, 300%) 0",
},
},
},
},
{
name: "orbiting-circles",
type: "registry:ui",
title: "Orbiting Circles",
description:
"A collection of circles which move in orbit along a circular path",
files: [
{
path: "magicui/orbiting-circles.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-orbit": "orbit calc(var(--duration)*1s) linear infinite",
},
},
css: {
"@keyframes orbit": {
"0%": {
transform:
"rotate(calc(var(--angle) * 1deg)) translateY(calc(var(--radius) * 1px)) rotate(calc(var(--angle) * -1deg))",
},
"100%": {
transform:
"rotate(calc(var(--angle) * 1deg + 360deg)) translateY(calc(var(--radius) * 1px)) rotate(calc((var(--angle) * -1deg) - 360deg))",
},
},
},
},
{
name: "dock",
type: "registry:ui",
title: "Dock",
description:
"An implementation of the MacOS dock using react + tailwindcss + motion",
dependencies: ["motion"],
files: [
{
path: "magicui/dock.tsx",
type: "registry:ui",
},
],
},
{
name: "word-rotate",
type: "registry:ui",
title: "Word Rotate",
description: "A vertical rotation of words",
dependencies: ["motion"],
files: [
{
path: "magicui/word-rotate.tsx",
type: "registry:ui",
},
],
},
{
name: "avatar-circles",
type: "registry:ui",
title: "Avatar Circles",
description: "Overlapping circles of avatars.",
files: [
{
path: "magicui/avatar-circles.tsx",
type: "registry:ui",
},
],
},
{
name: "typing-animation",
type: "registry:ui",
title: "Typing Animation",
description: "Characters appearing in typed animation",
dependencies: ["motion"],
files: [
{
path: "magicui/typing-animation.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-blink-cursor": "blink-cursor 1.2s step-end infinite",
},
},
css: {
"@keyframes blink-cursor": {
"0%, 49%": {
opacity: "1",
},
"50%, 100%": {
opacity: "0",
},
},
},
},
{
name: "sparkles-text",
type: "registry:ui",
title: "Sparkles Text",
description:
"A dynamic text that generates continuous sparkles with smooth transitions, perfect for highlighting text with animated stars.",
dependencies: ["motion"],
files: [
{
path: "magicui/sparkles-text.tsx",
type: "registry:ui",
},
],
},
{
name: "spinning-text",
type: "registry:ui",
title: "Spinning Text",
description:
"The Spinning Text component animates text in a circular motion with customizable speed, direction, color, and transitions for dynamic and engaging effects.",
dependencies: ["motion"],
files: [
{
path: "magicui/spinning-text.tsx",
type: "registry:ui",
},
],
},
{
name: "comic-text",
type: "registry:ui",
title: "Comic Text",
description: "Comic text animation",
dependencies: ["motion"],
files: [
{
path: "magicui/comic-text.tsx",
type: "registry:ui",
},
],
},
{
name: "icon-cloud",
type: "registry:ui",
title: "Icon Cloud",
description: "An interactive 3D tag cloud component",
dependencies: ["lucide-react"],
registryDependencies: ["button"],
files: [
{
path: "magicui/icon-cloud.tsx",
type: "registry:ui",
},
],
},
{
name: "text-animate",
type: "registry:ui",
title: "Text Animate",
description:
"A text animation component that animates text using a variety of different animations.",
dependencies: ["motion"],
files: [
{
path: "magicui/text-animate.tsx",
type: "registry:ui",
},
],
},
{
name: "scroll-based-velocity",
type: "registry:ui",
title: "Scroll Based Velocity",
description: "Scrolling text whose speed changes based on scroll speed",
dependencies: ["motion"],
files: [
{
path: "magicui/scroll-based-velocity.tsx",
type: "registry:ui",
},
],
},
{
name: "shiny-button",
type: "registry:ui",
title: "Shiny Button",
description:
"A shiny button component with dynamic styles in the dark mode or light mode.",
dependencies: ["motion"],
files: [
{
path: "magicui/shiny-button.tsx",
type: "registry:ui",
},
],
},
{
name: "shine-border",
type: "registry:ui",
title: "Shine Border",
description: "Shine border is an animated background border effect.",
files: [
{
path: "magicui/shine-border.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-shine": "shine var(--duration) infinite linear",
},
},
css: {
"@keyframes shine": {
"0%": {
"background-position": "0% 0%",
},
"50%": {
"background-position": "100% 100%",
},
to: {
"background-position": "0% 0%",
},
},
},
},
{
name: "animated-circular-progress-bar",
type: "registry:ui",
title: "Animated Circular Progress Bar",
description:
"Animated Circular Progress Bar is a component that displays a circular gauge with a percentage value.",
files: [
{
path: "magicui/animated-circular-progress-bar.tsx",
type: "registry:ui",
},
],
},
{
name: "confetti",
type: "registry:ui",
title: "Confetti",
description:
"Confetti animations are best used to delight your users when something special happens",
dependencies: ["canvas-confetti", "@types/canvas-confetti"],
registryDependencies: ["button"],
files: [
{
path: "magicui/confetti.tsx",
type: "registry:ui",
},
],
},
{
name: "cool-mode",
type: "registry:ui",
title: "Cool Mode",
description: "Cool mode effect for buttons, links, and other DOMs",
files: [
{
path: "magicui/cool-mode.tsx",
type: "registry:ui",
},
],
},
{
name: "pulsating-button",
type: "registry:ui",
title: "Pulsating Button",
description:
"An animated pulsating button useful for capturing attention of users.",
files: [
{
path: "magicui/pulsating-button.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-pulse": "pulse var(--duration) ease-out infinite",
"animate-pulse-ripple":
"pulse-ripple var(--duration) cubic-bezier(0.16, 1, 0.3, 1) infinite",
},
},
css: {
"@keyframes pulse": {
"0%, 100%": {
boxShadow:
"0 0 0 0 var(--pulse-color, oklch(from var(--bg) l c h / 0.5))",
},
"50%": {
boxShadow:
"0 0 0 var(--distance) var(--pulse-color, oklch(from var(--bg) l c h / 0.5))",
},
},
"@keyframes pulse-ripple": {
"0%": {
boxShadow:
"0 0 0 0 oklch(from var(--pulse-color, var(--bg)) l c h / 1)",
},
"100%": {
boxShadow:
"0 0 0 var(--distance) oklch(from var(--pulse-color, var(--bg)) l c h / 0)",
},
},
},
},
{
name: "ripple-button",
type: "registry:ui",
title: "Ripple Button",
description: "An animated button with ripple useful for user engagement.",
files: [
{
path: "magicui/ripple-button.tsx",
type: "registry:ui",
},
],
cssVars: {
theme: {
"animate-rippling": "rippling var(--duration) ease-out",
},
},
css: {
"@keyframes rippling": {
"0%": {
opacity: "1",
},
"100%": {
transform: "scale(2)",
opacity: "0",
},
},
},
},
{
name: "file-tree",
type: "registry:ui",
title: "File Tree",
description:
"A component used to showcase the folder and file structure of a directory.",
files: [
{
path: "magicui/file-tree.tsx",
type: "registry:ui",
},
],
},
{
name: "blur-fade",
type: "registry:ui",
title: "Blur Fade",
description:
"Blur fade in and out animation. Used to smoothly fade in and out content.",
dependencies: ["motion"],
files: [
{
path: "magicui/blur-fade.tsx",
type: "registry:ui",
},
],
},
{
name: "safari",
type: "registry:ui",
title: "Safari",
description: "A safari browser mockup to showcase your website.",
files: [
{
path: "magicui/safari.tsx",
type: "registry:ui",
},
],
},
{
name: "iphone",
type: "registry:ui",
title: "iPhone",
description: "A mockup of the iPhone",
files: [
{
path: "magicui/iphone.tsx",
type: "registry:ui",
},
],
},
{
name: "rainbow-button",
type: "registry:ui",
title: "Rainbow Button",
description: "An animated button with a rainbow effect.",
files: [
{
path: "magicui/rainbow-button.tsx",
type: "registry:ui",
},
],
cssVars: {
light: {
"color-1": "oklch(66.2% 0.225 25.9)",
"color-2": "oklch(60.4% 0.26 302)",
"color-3": "oklch(69.6% 0.165 251)",
"color-4": "oklch(80.2% 0.134 225)",
"color-5": "oklch(90.7% 0.231 133)",
},
dark: {
"color-1": "oklch(66.2% 0.225 25.9)",
"color-2": "oklch(60.4% 0.26 302)",
"color-3": "oklch(69.6% 0.165 251)",
"color-4": "oklch(80.2% 0.134 225)",
"color-5": "oklch(90.7% 0.231 133)",
},
theme: {
"animate-rainbow": "rainbow var(--speed, 2s) infinite linear",
},
},
css: {
"@keyframes rainbow": {
"0%": { "background-position": "0%" },
"100%": { "background-position": "200%" },
},
},
},
{
name: "interactive-hover-button",
type: "registry:ui",
files: [
{
path: "magicui/interactive-hover-button.tsx",
type: "registry:ui",
},
],
},
{
name: "terminal",
type: "registry:ui",
title: "Terminal",
description: "A terminal component",
files: [
{
path: "magicui/terminal.tsx",
type: "registry:ui",
},
],
},
{
name: "video-text",
type: "registry:ui",
title: "Video Text",
description:
"A component that displays text with a video playing in the background.",
files: [
{
path: "magicui/video-text.tsx",
type: "registry:ui",
},
],
},
{
name: "pixel-image",
type: "registry:ui",
title: "Pixel Image",
description:
"A component that displays an image with a pixelated effect, creating a retro aesthetic.",
files: [
{
path: "magicui/pixel-image.tsx",
type: "registry:ui",
},
],
},
{
name: "highlighter",
type: "registry:ui",
title: "Highlighter",
description:
"A text highlighter that mimics the effect of a human-drawn marker stroke.",
files: [
{
path: "magicui/highlighter.tsx",
type: "registry:ui",
},
],
dependencies: ["motion", "rough-notation"],
},
{
name: "animated-theme-toggler",
type: "registry:ui",
title: "Theme Toggler",
description:
"Theme toggle with View Transitions and animated clip-path masks (circle, polygons, star), optional viewport-centered origin.",
dependencies: ["lucide-react"],
files: [
{
path: "magicui/animated-theme-toggler.tsx",
type: "registry:ui",
},
],
css: {
"::view-transition-old(root), ::view-transition-new(root)": {
animation: "none",
"mix-blend-mode": "normal",
},
},
},
{
name: "light-rays",
type: "registry:ui",
title: "Light Rays",
description:
"A component with animated light rays which shine down from above.",
dependencies: ["motion"],
files: [
{
path: "magicui/light-rays.tsx",
type: "registry:ui",
},
],
},
{
name: "dotted-map",
type: "registry:ui",
title: "Dotted Map",
description: "A component with a dotted map.",
dependencies: ["svg-dotted-map"],
files: [
{
path: "magicui/dotted-map.tsx",
type: "registry:ui",
},
],
},
{
name: "backlight",
type: "registry:ui",
title: "Backlight",
description: "A backlight glow effect for videos, images, and SVGs.",
dependencies: [],
files: [
{
path: "magicui/backlight.tsx",
type: "registry:ui",
},
],
},
{
name: "kinetic-text",
type: "registry:ui",
title: "Kinetic Text",
description:
"A text component that animates font weight of characters on hover.",
dependencies: [],
files: [
{
path: "magicui/kinetic-text.tsx",
type: "registry:ui",
},
],
},
{
name: "text-3d-flip",
type: "registry:ui",
title: "Text 3D Flip",
description:
"A text effect that flips each letter in 3D with a staggered animation on hover.",
dependencies: ["motion"],
files: [
{
path: "magicui/text-3d-flip.tsx",
type: "registry:ui",
},
],
},
{
name: "floating-3d-particles",
type: "registry:ui",
title: "Floating 3D Particles",
description:
"A canvas-based pseudo-3D particle field with perspective projection, continuous rotation and buoyant drift.",
files: [
{
path: "magicui/floating-3d-particles.tsx",
type: "registry:ui",
},
],
},
]