Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: rename iphone 15 to iphone

Dillion Verma913eef524678
diff --git a/apps/www/__registry__/index.tsx b/apps/www/__registry__/index.tsx
deleted file mode 100644
index 777e444e..00000000
--- a/apps/www/__registry__/index.tsx
+++ /dev/null
@@ -1,4868 +0,0 @@
-/* eslint-disable @typescript-eslint/ban-ts-comment */
-/* eslint-disable @typescript-eslint/no-explicit-any */
-// @ts-nocheck
-// This file is autogenerated by scripts/build-registry.ts
-// Do not edit this file directly.
-import * as React from "react"
-
-export const Index: Record<string, any> = {
- index: {
- name: "index",
- description: "",
- type: "registry:style",
- registryDependencies: ["utils"],
- files: [],
- component: null,
- meta: undefined,
- },
- "magic-card": {
- name: "magic-card",
- description:
- "A spotlight effect that follows your mouse cursor and highlights borders on hover.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/magic-card.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/magic-card.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- android: {
- name: "android",
- description: "A mockup of an Android device.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/android.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/android.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "warp-background": {
- name: "warp-background",
- description: "A card with a time warping background effect.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/warp-background.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/warp-background.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "line-shadow-text": {
- name: "line-shadow-text",
- description: "A text component with a moving line shadow.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/line-shadow-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/line-shadow-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "aurora-text": {
- name: "aurora-text",
- description: "A beautiful aurora text effect",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/aurora-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/aurora-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "morphing-text": {
- name: "morphing-text",
- description: "A dynamic text morphing component for Magic UI.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/morphing-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/morphing-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scroll-progress": {
- name: "scroll-progress",
- description: "Animated Scroll Progress for your pages",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/scroll-progress.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/scroll-progress.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- lens: {
- name: "lens",
- description:
- "A interactive component that enables zooming into images, videos and other elements.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/lens.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/lens.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- pointer: {
- name: "pointer",
- description:
- "A component that displays a pointer when hovering over an element",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/pointer.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/pointer.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "smooth-cursor": {
- name: "smooth-cursor",
- description:
- "A customizable, physics-based smooth cursor animation component with spring animations and rotation effects",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/smooth-cursor.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/smooth-cursor.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "progressive-blur": {
- name: "progressive-blur",
- description:
- "The Progressive Blur component adds a smooth blur gradient effect to scrollable content, indicating more content below or above.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/progressive-blur.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/progressive-blur.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "neon-gradient-card": {
- name: "neon-gradient-card",
- description: "A beautiful neon card effect",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/neon-gradient-card.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/neon-gradient-card.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- meteors: {
- name: "meteors",
- description: "A meteor shower effect.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/meteors.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/meteors.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-pattern": {
- name: "grid-pattern",
- description:
- "A background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/grid-pattern.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/grid-pattern.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "interactive-grid-pattern": {
- name: "interactive-grid-pattern",
- description:
- "A interactive background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/interactive-grid-pattern.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/magicui/interactive-grid-pattern.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dot-pattern": {
- name: "dot-pattern",
- description:
- "A background dot pattern made with SVGs, fully customizable using Tailwind CSS.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/dot-pattern.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/dot-pattern.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "flickering-grid": {
- name: "flickering-grid",
- description:
- "A flickering grid background made with SVGs, fully customizable using Tailwind CSS.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/flickering-grid.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/flickering-grid.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "hero-video-dialog": {
- name: "hero-video-dialog",
- description: "A hero video dialog component.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/hero-video-dialog.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/hero-video-dialog.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "code-comparison": {
- name: "code-comparison",
- description: "A component which compares two code snippets.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/code-comparison.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/code-comparison.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "script-copy-btn": {
- name: "script-copy-btn",
- description: "Copy code to clipboard",
- type: "registry:ui",
- registryDependencies: ["button"],
- files: [
- {
- path: "registry/magicui/script-copy-btn.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/script-copy-btn.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- marquee: {
- name: "marquee",
- description:
- "An infinite scrolling component that can be used to display text, images, or videos.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/marquee.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/marquee.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- globe: {
- name: "globe",
- description:
- "An autorotating, interactive, and highly performant globe made using WebGL.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/globe.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/globe.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shimmer-button": {
- name: "shimmer-button",
- description:
- "A button with a shimmering light which travels around the perimeter.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/shimmer-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/shimmer-button.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "tweet-card": {
- name: "tweet-card",
- description:
- "A card that displays a tweet with the author's name, handle, and profile picture.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/tweet-card.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/tweet-card.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "client-tweet-card": {
- name: "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.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/client-tweet-card.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/client-tweet-card.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "bento-grid": {
- name: "bento-grid",
- description:
- "Bento grid is a layout used to showcase the features of a product in a simple and elegant way.",
- type: "registry:ui",
- registryDependencies: ["button"],
- files: [
- {
- path: "registry/magicui/bento-grid.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/bento-grid.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- particles: {
- name: "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.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/particles.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/particles.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "number-ticker": {
- name: "number-ticker",
- description: "Animate numbers to count up or down to a target number",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/number-ticker.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/number-ticker.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- ripple: {
- name: "ripple",
- description:
- "An animated ripple effect typically used behind elements to emphasize them.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/ripple.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/ripple.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "retro-grid": {
- name: "retro-grid",
- description: "An animated scrolling retro grid effect",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/retro-grid.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/retro-grid.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-list": {
- name: "animated-list",
- description:
- "A list that animates each item in sequence with a delay. Used to showcase notifications or events on your landing page.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-list.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-list.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-shiny-text": {
- name: "animated-shiny-text",
- description:
- "A light glare effect which pans across text making it appear as if it is shimmering.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-shiny-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-shiny-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-grid-pattern": {
- name: "animated-grid-pattern",
- description:
- "A animated background grid pattern made with SVGs, fully customizable using Tailwind CSS.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-grid-pattern.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-grid-pattern.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "border-beam": {
- name: "border-beam",
- description:
- "An animated beam of light which travels along the border of its container.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/border-beam.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/border-beam.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam": {
- name: "animated-beam",
- description:
- "An animated beam of light which travels along a path. Useful for showcasing the integration features of a website.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-beam.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-beam.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-reveal": {
- name: "text-reveal",
- description: "Fade in text as you scroll down the page.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/text-reveal.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/text-reveal.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "hyper-text": {
- name: "hyper-text",
- description:
- "A text animation that scrambles letters before revealing the final text.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/hyper-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/hyper-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-gradient-text": {
- name: "animated-gradient-text",
- description:
- "An animated gradient background which transitions between colors for text.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-gradient-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-gradient-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "orbiting-circles": {
- name: "orbiting-circles",
- description:
- "A collection of circles which move in orbit along a circular path",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/orbiting-circles.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/orbiting-circles.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- dock: {
- name: "dock",
- description:
- "An implementation of the MacOS dock using react + tailwindcss + motion",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/dock.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/dock.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "word-rotate": {
- name: "word-rotate",
- description: "A vertical rotation of words",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/word-rotate.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/word-rotate.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "avatar-circles": {
- name: "avatar-circles",
- description: "Overlapping circles of avatars.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/avatar-circles.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/avatar-circles.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "typing-animation": {
- name: "typing-animation",
- description: "Characters appearing in typed animation",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/typing-animation.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/typing-animation.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "sparkles-text": {
- name: "sparkles-text",
- description:
- "A dynamic text that generates continuous sparkles with smooth transitions, perfect for highlighting text with animated stars.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/sparkles-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/sparkles-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "spinning-text": {
- name: "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.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/spinning-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/spinning-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "flip-text": {
- name: "flip-text",
- description: "Text flipping character animation",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/flip-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/flip-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "comic-text": {
- name: "comic-text",
- description: "Comic text animation",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/comic-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/comic-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "icon-cloud": {
- name: "icon-cloud",
- description: "An interactive 3D tag cloud component",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/icon-cloud.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/icon-cloud.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate": {
- name: "text-animate",
- description:
- "A text animation component that animates text using a variety of different animations.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/text-animate.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/text-animate.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scroll-based-velocity": {
- name: "scroll-based-velocity",
- description: "Scrolling text whose speed changes based on scroll speed",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/scroll-based-velocity.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/scroll-based-velocity.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scratch-to-reveal": {
- name: "scratch-to-reveal",
- description:
- "The ScratchToReveal component creates an interactive scratch-off effect with customizable dimensions and animations, revealing hidden content beneath.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/scratch-to-reveal.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/scratch-to-reveal.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shiny-button": {
- name: "shiny-button",
- description:
- "A shiny button component with dynamic styles in the dark mode or light mode.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/shiny-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/shiny-button.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "box-reveal": {
- name: "box-reveal",
- description: "Sliding box animation that reveals text behind it.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/box-reveal.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/box-reveal.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shine-border": {
- name: "shine-border",
- description: "Shine border is an animated background border effect.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/shine-border.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/shine-border.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-circular-progress-bar": {
- name: "animated-circular-progress-bar",
- description:
- "Animated Circular Progress Bar is a component that displays a circular gauge with a percentage value.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-circular-progress-bar.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/magicui/animated-circular-progress-bar.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- confetti: {
- name: "confetti",
- description:
- "Confetti animations are best used to delight your users when something special happens",
- type: "registry:ui",
- registryDependencies: ["button"],
- files: [
- {
- path: "registry/magicui/confetti.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/confetti.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-subscribe-button": {
- name: "animated-subscribe-button",
- description:
- "An animated subscribe button useful for showing a micro animation from intial to final result.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-subscribe-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/magicui/animated-subscribe-button.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "cool-mode": {
- name: "cool-mode",
- description: "Cool mode effect for buttons, links, and other DOMs",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/cool-mode.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/cool-mode.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "pulsating-button": {
- name: "pulsating-button",
- description:
- "An animated pulsating button useful for capturing attention of users.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/pulsating-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/pulsating-button.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "ripple-button": {
- name: "ripple-button",
- description: "An animated button with ripple useful for user engagement.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/ripple-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/ripple-button.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "file-tree": {
- name: "file-tree",
- description:
- "A component used to showcase the folder and file structure of a directory.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/file-tree.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/file-tree.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "blur-fade": {
- name: "blur-fade",
- description:
- "Blur fade in and out animation. Used to smoothly fade in and out content.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/blur-fade.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/blur-fade.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- safari: {
- name: "safari",
- description: "A safari browser mockup to showcase your website.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/safari.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/safari.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "iphone-15-pro": {
- name: "iphone-15-pro",
- description: "A mockup of the iPhone 15 Pro",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/iphone-15-pro.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/iphone-15-pro.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "rainbow-button": {
- name: "rainbow-button",
- description: "An animated button with a rainbow effect.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/rainbow-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/rainbow-button.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "interactive-hover-button": {
- name: "interactive-hover-button",
- description: "",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/interactive-hover-button.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/magicui/interactive-hover-button.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- terminal: {
- name: "terminal",
- description: "A terminal component",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/terminal.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/terminal.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "video-text": {
- name: "video-text",
- description:
- "A component that displays text with a video playing in the background.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/video-text.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/video-text.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "pixel-image": {
- name: "pixel-image",
- description:
- "A component that displays an image with a pixelated effect, creating a retro aesthetic.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/pixel-image.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/pixel-image.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- highlighter: {
- name: "highlighter",
- description:
- "A text highlighter that mimics the effect of a human-drawn marker stroke.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/highlighter.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/highlighter.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "arc-timeline": {
- name: "arc-timeline",
- description:
- "A curved timeline that elegantly visualizes key milestones, perfect for Web3 and AI roadmaps.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/arc-timeline.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/arc-timeline.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-theme-toggler": {
- name: "animated-theme-toggler",
- description: "A component for theme changing animation.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/animated-theme-toggler.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/animated-theme-toggler.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-beams": {
- name: "grid-beams",
- description:
- "A dynamic grid background with animated light beams rays and grid patterns.",
- type: "registry:ui",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/magicui/grid-beams.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/grid-beams.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "magic-card-demo": {
- name: "magic-card-demo",
- description:
- "Example showing a spotlight effect that follows your mouse cursor and highlights borders on hover.",
- type: "registry:example",
- registryDependencies: ["@magicui/magic-card"],
- files: [
- {
- path: "registry/example/magic-card-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/magic-card-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "android-demo": {
- name: "android-demo",
- description: "Example showing a mockup of an Android device.",
- type: "registry:example",
- registryDependencies: ["@magicui/android"],
- files: [
- {
- path: "registry/example/android-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/android-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "android-demo-2": {
- name: "android-demo-2",
- description: "Second example showing a mockup of an Android device.",
- type: "registry:example",
- registryDependencies: ["@magicui/android"],
- files: [
- {
- path: "registry/example/android-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/android-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "android-demo-3": {
- name: "android-demo-3",
- description: "Third example showing a mockup of an Android device.",
- type: "registry:example",
- registryDependencies: ["@magicui/android"],
- files: [
- {
- path: "registry/example/android-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/android-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "warp-background-demo": {
- name: "warp-background-demo",
- description:
- "Example showing a card with a time warping background effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/warp-background"],
- files: [
- {
- path: "registry/example/warp-background-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/warp-background-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "line-shadow-text-demo": {
- name: "line-shadow-text-demo",
- description: "Example showing a text component with a moving line shadow.",
- type: "registry:example",
- registryDependencies: ["@magicui/line-shadow-text"],
- files: [
- {
- path: "registry/example/line-shadow-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/line-shadow-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "aurora-text-demo": {
- name: "aurora-text-demo",
- description: "Example showing a beautiful aurora text effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/aurora-text"],
- files: [
- {
- path: "registry/example/aurora-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/aurora-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "morphing-text-demo": {
- name: "morphing-text-demo",
- description: "Example showing a dynamic text morphing component.",
- type: "registry:example",
- registryDependencies: ["@magicui/morphing-text"],
- files: [
- {
- path: "registry/example/morphing-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/morphing-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scroll-progress-demo": {
- name: "scroll-progress-demo",
- description: "Example showing animated scroll progress for your pages.",
- type: "registry:example",
- registryDependencies: ["@magicui/scroll-progress"],
- files: [
- {
- path: "registry/example/scroll-progress-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/scroll-progress-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "lens-demo": {
- name: "lens-demo",
- description: "Example showing a lens effect component",
- type: "registry:example",
- registryDependencies: ["button", "card", "@magicui/lens"],
- files: [
- {
- path: "registry/example/lens-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/lens-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "lens-demo-2": {
- name: "lens-demo-2",
- description: "Second example showing a lens effect component",
- type: "registry:example",
- registryDependencies: ["button", "card", "@magicui/lens"],
- files: [
- {
- path: "registry/example/lens-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/lens-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "lens-demo-3": {
- name: "lens-demo-3",
- description: "Third example showing a lens effect component",
- type: "registry:example",
- registryDependencies: ["button", "card", "@magicui/lens"],
- files: [
- {
- path: "registry/example/lens-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/lens-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "pointer-demo-1": {
- name: "pointer-demo-1",
- description: "Example showing a pointer effect component",
- type: "registry:example",
- registryDependencies: ["@magicui/pointer"],
- files: [
- {
- path: "registry/example/pointer-demo-1.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/pointer-demo-1.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "smooth-cursor-demo": {
- name: "smooth-cursor-demo",
- description: "Basic smooth cursor example",
- type: "registry:example",
- registryDependencies: ["@magicui/smooth-cursor"],
- files: [
- {
- path: "registry/example/smooth-cursor-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/smooth-cursor-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "progressive-blur-demo": {
- name: "progressive-blur-demo",
- description:
- "Example showing progressive blur effect for scrollable content.",
- type: "registry:example",
- registryDependencies: ["@magicui/progressive-blur"],
- files: [
- {
- path: "registry/example/progressive-blur-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/progressive-blur-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "neon-gradient-card-demo": {
- name: "neon-gradient-card-demo",
- description: "Example showing a beautiful neon card effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/neon-gradient-card"],
- files: [
- {
- path: "registry/example/neon-gradient-card-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/neon-gradient-card-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "meteors-demo": {
- name: "meteors-demo",
- description: "Example showing a meteor shower effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/meteors"],
- files: [
- {
- path: "registry/example/meteors-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/meteors-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-pattern-demo": {
- name: "grid-pattern-demo",
- description: "Example showing a background grid pattern made with SVGs.",
- type: "registry:example",
- registryDependencies: ["@magicui/grid-pattern"],
- files: [
- {
- path: "registry/example/grid-pattern-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/grid-pattern-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-pattern-linear-gradient": {
- name: "grid-pattern-linear-gradient",
- description: "Example showing a grid pattern with linear gradient effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/grid-pattern"],
- files: [
- {
- path: "registry/example/grid-pattern-linear-gradient.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/grid-pattern-linear-gradient.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-pattern-dashed": {
- name: "grid-pattern-dashed",
- description: "Example showing a dashed grid pattern.",
- type: "registry:example",
- registryDependencies: ["@magicui/grid-pattern"],
- files: [
- {
- path: "registry/example/grid-pattern-dashed.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/grid-pattern-dashed.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dot-pattern-demo": {
- name: "dot-pattern-demo",
- description: "Example showing a background dot pattern made with SVGs.",
- type: "registry:example",
- registryDependencies: ["@magicui/dot-pattern"],
- files: [
- {
- path: "registry/example/dot-pattern-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/dot-pattern-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dot-pattern-linear-gradient": {
- name: "dot-pattern-linear-gradient",
- description: "Example showing a dot pattern with linear gradient effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/dot-pattern"],
- files: [
- {
- path: "registry/example/dot-pattern-linear-gradient.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/dot-pattern-linear-gradient.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dot-pattern-with-glow-effect": {
- name: "dot-pattern-with-glow-effect",
- description: "Example showing a dot pattern with glow effect",
- type: "registry:example",
- registryDependencies: ["@magicui/dot-pattern"],
- files: [
- {
- path: "registry/example/dot-pattern-with-glow-effect.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/dot-pattern-with-glow-effect.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "flickering-grid-demo": {
- name: "flickering-grid-demo",
- description: "Example showing a flickering grid background.",
- type: "registry:example",
- registryDependencies: ["@magicui/flickering-grid"],
- files: [
- {
- path: "registry/example/flickering-grid-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/flickering-grid-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "flickering-grid-rounded-demo": {
- name: "flickering-grid-rounded-demo",
- description:
- "Example showing a flickering grid background with rounded corners.",
- type: "registry:example",
- registryDependencies: ["@magicui/flickering-grid"],
- files: [
- {
- path: "registry/example/flickering-grid-rounded-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/flickering-grid-rounded-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "hero-video-dialog-demo": {
- name: "hero-video-dialog-demo",
- description: "Example showing a hero video dialog component.",
- type: "registry:example",
- registryDependencies: ["@magicui/hero-video-dialog"],
- files: [
- {
- path: "registry/example/hero-video-dialog-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/hero-video-dialog-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "hero-video-dialog-demo-top-in-bottom-out": {
- name: "hero-video-dialog-demo-top-in-bottom-out",
- description:
- "Example showing a hero video dialog with top-in bottom-out animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/hero-video-dialog"],
- files: [
- {
- path: "registry/example/hero-video-dialog-demo-top-in-bottom-out.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/hero-video-dialog-demo-top-in-bottom-out.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "code-comparison-demo": {
- name: "code-comparison-demo",
- description:
- "Example showing a component which compares two code snippets.",
- type: "registry:example",
- registryDependencies: ["@magicui/code-comparison"],
- files: [
- {
- path: "registry/example/code-comparison-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/code-comparison-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "script-copy-btn-demo": {
- name: "script-copy-btn-demo",
- description: "Example showing how to copy code to clipboard.",
- type: "registry:example",
- registryDependencies: ["@magicui/script-copy-btn"],
- files: [
- {
- path: "registry/example/script-copy-btn-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/script-copy-btn-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "marquee-demo": {
- name: "marquee-demo",
- description: "Example showing an infinite scrolling component.",
- type: "registry:example",
- registryDependencies: ["@magicui/marquee"],
- files: [
- {
- path: "registry/example/marquee-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/marquee-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "marquee-demo-vertical": {
- name: "marquee-demo-vertical",
- description: "Example showing a vertical infinite scrolling component.",
- type: "registry:example",
- registryDependencies: ["@magicui/marquee"],
- files: [
- {
- path: "registry/example/marquee-demo-vertical.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/marquee-demo-vertical.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "marquee-logos": {
- name: "marquee-logos",
- description: "Example showing an infinite scrolling logo carousel.",
- type: "registry:example",
- registryDependencies: ["@magicui/marquee"],
- files: [
- {
- path: "registry/example/marquee-logos.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/marquee-logos.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "marquee-3d": {
- name: "marquee-3d",
- description: "Example showing a 3D infinite scrolling component.",
- type: "registry:example",
- registryDependencies: ["@magicui/marquee"],
- files: [
- {
- path: "registry/example/marquee-3d.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/marquee-3d.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "globe-demo": {
- name: "globe-demo",
- description: "Example showing an autorotating, interactive WebGL globe.",
- type: "registry:example",
- registryDependencies: ["@magicui/globe"],
- files: [
- {
- path: "registry/example/globe-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/globe-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "tweet-card-demo": {
- name: "tweet-card-demo",
- description: "Example showing a tweet card with author info.",
- type: "registry:example",
- registryDependencies: ["@magicui/tweet-card"],
- files: [
- {
- path: "registry/example/tweet-card-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/tweet-card-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "tweet-card-images": {
- name: "tweet-card-images",
- description: "Example showing a tweet card with images.",
- type: "registry:example",
- registryDependencies: ["@magicui/tweet-card"],
- files: [
- {
- path: "registry/example/tweet-card-images.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/tweet-card-images.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "tweet-card-meta-preview": {
- name: "tweet-card-meta-preview",
- description: "Example showing a tweet card with meta preview.",
- type: "registry:example",
- registryDependencies: ["@magicui/tweet-card"],
- files: [
- {
- path: "registry/example/tweet-card-meta-preview.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/tweet-card-meta-preview.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shimmer-button-demo": {
- name: "shimmer-button-demo",
- description: "Example showing a button with a shimmering light effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/shimmer-button"],
- files: [
- {
- path: "registry/example/shimmer-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/shimmer-button-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "bento-demo": {
- name: "bento-demo",
- description: "Example showing a bento grid layout for showcasing features.",
- type: "registry:example",
- registryDependencies: [
- "button",
- "calendar",
- "@magicui/marquee",
- "@magicui/bento-grid",
- "@magicui/animated-list-demo",
- "@magicui/animated-beam-multiple-outputs",
- ],
- files: [
- {
- path: "registry/example/bento-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/bento-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "bento-demo-vertical": {
- name: "bento-demo-vertical",
- description: "Example showing a vertical bento grid layout.",
- type: "registry:example",
- registryDependencies: ["@magicui/bento-grid"],
- files: [
- {
- path: "registry/example/bento-demo-vertical.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/bento-demo-vertical.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "number-ticker-demo": {
- name: "number-ticker-demo",
- description: "Example showing animated counting numbers.",
- type: "registry:example",
- registryDependencies: ["@magicui/number-ticker"],
- files: [
- {
- path: "registry/example/number-ticker-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/number-ticker-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "number-ticker-demo-2": {
- name: "number-ticker-demo-2",
- description: "Example showing animated counting numbers.",
- type: "registry:example",
- registryDependencies: ["@magicui/number-ticker"],
- files: [
- {
- path: "registry/example/number-ticker-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/number-ticker-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "number-ticker-decimal-demo": {
- name: "number-ticker-decimal-demo",
- description: "Example showing animated counting decimal numbers.",
- type: "registry:example",
- registryDependencies: ["@magicui/number-ticker"],
- files: [
- {
- path: "registry/example/number-ticker-decimal-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/number-ticker-decimal-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "ripple-demo": {
- name: "ripple-demo",
- description: "Example showing an animated ripple effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/ripple"],
- files: [
- {
- path: "registry/example/ripple-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/ripple-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "retro-grid-demo": {
- name: "retro-grid-demo",
- description: "Example showing an animated scrolling retro grid effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/retro-grid"],
- files: [
- {
- path: "registry/example/retro-grid-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/retro-grid-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-list-demo": {
- name: "animated-list-demo",
- description: "Example showing a list with sequenced item animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-list"],
- files: [
- {
- path: "registry/example/animated-list-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/animated-list-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-shiny-text-demo": {
- name: "animated-shiny-text-demo",
- description: "Example showing text with a shimmering light effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-shiny-text"],
- files: [
- {
- path: "registry/example/animated-shiny-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-shiny-text-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "particles-demo": {
- name: "particles-demo",
- description: "Example showing interactive particle effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/particles"],
- files: [
- {
- path: "registry/example/particles-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/particles-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-grid-pattern-demo": {
- name: "animated-grid-pattern-demo",
- description: "Example showing an animated grid pattern background.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-grid-pattern"],
- files: [
- {
- path: "registry/example/animated-grid-pattern-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-grid-pattern-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "interactive-grid-pattern-demo": {
- name: "interactive-grid-pattern-demo",
- description: "Example showing an interactive grid pattern background.",
- type: "registry:example",
- registryDependencies: ["@magicui/interactive-grid-pattern"],
- files: [
- {
- path: "registry/example/interactive-grid-pattern-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/interactive-grid-pattern-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "interactive-grid-pattern-demo-2": {
- name: "interactive-grid-pattern-demo-2",
- description:
- "Second example showing an interactive grid pattern background.",
- type: "registry:example",
- registryDependencies: ["@magicui/interactive-grid-pattern"],
- files: [
- {
- path: "registry/example/interactive-grid-pattern-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/interactive-grid-pattern-demo-2.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "border-beam-demo": {
- name: "border-beam-demo",
- description: "Example showing an animated border beam effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/border-beam"],
- files: [
- {
- path: "registry/example/border-beam-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/border-beam-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "border-beam-demo-2": {
- name: "border-beam-demo-2",
- description: "Example showing an animated border beam effect.",
- type: "registry:example",
- registryDependencies: ["button", "card", "@magicui/border-beam"],
- files: [
- {
- path: "registry/example/border-beam-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/border-beam-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "border-beam-demo-3": {
- name: "border-beam-demo-3",
- description: "Example showing an animated border beam effect.",
- type: "registry:example",
- registryDependencies: [
- "button",
- "card",
- "input",
- "label",
- "@magicui/border-beam",
- ],
- files: [
- {
- path: "registry/example/border-beam-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/border-beam-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "border-beam-demo-4": {
- name: "border-beam-demo-4",
- description: "Example showing an animated border beam effect.",
- type: "registry:example",
- registryDependencies: ["button", "@magicui/border-beam"],
- files: [
- {
- path: "registry/example/border-beam-demo-4.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/border-beam-demo-4.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam-demo": {
- name: "animated-beam-demo",
- description: "Example showing an animated beam of light effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-beam"],
- files: [
- {
- path: "registry/example/animated-beam-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/animated-beam-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam-unidirectional": {
- name: "animated-beam-unidirectional",
- description: "Example showing a unidirectional animated beam effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-beam"],
- files: [
- {
- path: "registry/example/animated-beam-unidirectional.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-beam-unidirectional.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam-bidirectional": {
- name: "animated-beam-bidirectional",
- description: "Example showing a bidirectional animated beam effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-beam"],
- files: [
- {
- path: "registry/example/animated-beam-bidirectional.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-beam-bidirectional.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam-multiple-inputs": {
- name: "animated-beam-multiple-inputs",
- description: "Example showing animated beams with multiple input points.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-beam"],
- files: [
- {
- path: "registry/example/animated-beam-multiple-inputs.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-beam-multiple-inputs.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-beam-multiple-outputs": {
- name: "animated-beam-multiple-outputs",
- description: "Example showing animated beams with multiple output points.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-beam"],
- files: [
- {
- path: "registry/example/animated-beam-multiple-outputs.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-beam-multiple-outputs.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-reveal-demo": {
- name: "text-reveal-demo",
- description: "Example showing text that fades in on scroll.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-reveal"],
- files: [
- {
- path: "registry/example/text-reveal-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-reveal-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-gradient-text-demo": {
- name: "animated-gradient-text-demo",
- description: "Example showing text with animated gradient backgrounds.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-gradient-text"],
- files: [
- {
- path: "registry/example/animated-gradient-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-gradient-text-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-gradient-text-demo-2": {
- name: "animated-gradient-text-demo-2",
- description:
- "Second example showing text with animated gradient backgrounds.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-gradient-text"],
- files: [
- {
- path: "registry/example/animated-gradient-text-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-gradient-text-demo-2.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "orbiting-circles-demo": {
- name: "orbiting-circles-demo",
- description: "Example showing circles moving in orbital paths.",
- type: "registry:example",
- registryDependencies: ["@magicui/orbiting-circles"],
- files: [
- {
- path: "registry/example/orbiting-circles-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/orbiting-circles-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dock-demo": {
- name: "dock-demo",
- description: "Example showing a MacOS-style dock implementation.",
- type: "registry:example",
- registryDependencies: ["button", "@magicui/dock"],
- files: [
- {
- path: "registry/example/dock-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/dock-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dock-demo-2": {
- name: "dock-demo-2",
- description: "Second example showing a MacOS-style dock implementation.",
- type: "registry:example",
- registryDependencies: ["@magicui/dock"],
- files: [
- {
- path: "registry/example/dock-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/dock-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "dock-demo-3": {
- name: "dock-demo-3",
- description: "Third example showing a MacOS-style dock implementation.",
- type: "registry:example",
- registryDependencies: ["@magicui/dock"],
- files: [
- {
- path: "registry/example/dock-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/dock-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "word-rotate-demo": {
- name: "word-rotate-demo",
- description: "Example showing vertical word rotation animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/word-rotate"],
- files: [
- {
- path: "registry/example/word-rotate-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/word-rotate-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "hyper-text-demo": {
- name: "hyper-text-demo",
- description: "Example showing text with scrambling letter animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/hyper-text"],
- files: [
- {
- path: "registry/example/hyper-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/hyper-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "avatar-circles-demo": {
- name: "avatar-circles-demo",
- description: "Example showing overlapping avatar circles.",
- type: "registry:example",
- registryDependencies: ["@magicui/avatar-circles"],
- files: [
- {
- path: "registry/example/avatar-circles-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/avatar-circles-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "typing-animation-demo": {
- name: "typing-animation-demo",
- description: "Example showing typed character animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/typing-animation"],
- files: [
- {
- path: "registry/example/typing-animation-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/typing-animation-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scroll-based-velocity-demo": {
- name: "scroll-based-velocity-demo",
- description: "Example showing text speed changes based on scroll velocity.",
- type: "registry:example",
- registryDependencies: ["@magicui/scroll-based-velocity"],
- files: [
- {
- path: "registry/example/scroll-based-velocity-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/scroll-based-velocity-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scroll-based-velocity-images-demo": {
- name: "scroll-based-velocity-images-demo",
- description:
- "Example showing Unsplash images scrolling with speed reacting to scroll velocity.",
- type: "registry:example",
- registryDependencies: ["@magicui/scroll-based-velocity"],
- files: [
- {
- path: "registry/example/scroll-based-velocity-images-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/scroll-based-velocity-images-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "scratch-to-reveal-demo": {
- name: "scratch-to-reveal-demo",
- description: "Example showing an interactive scratch-off reveal effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/scratch-to-reveal"],
- files: [
- {
- path: "registry/example/scratch-to-reveal-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/scratch-to-reveal-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "flip-text-demo": {
- name: "flip-text-demo",
- description: "Example showing text with character flip animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/flip-text"],
- files: [
- {
- path: "registry/example/flip-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/flip-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "sparkles-text-demo": {
- name: "sparkles-text-demo",
- description: "Example showing text with animated sparkle effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/sparkles-text"],
- files: [
- {
- path: "registry/example/sparkles-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/sparkles-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "spinning-text-demo": {
- name: "spinning-text-demo",
- description: "Example showing spinning text animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/spinning-text"],
- files: [
- {
- path: "registry/example/spinning-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/spinning-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "spinning-text-demo-2": {
- name: "spinning-text-demo-2",
- description: "Example showing spinning text animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/spinning-text"],
- files: [
- {
- path: "registry/example/spinning-text-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/spinning-text-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "comic-text-demo": {
- name: "comic-text-demo",
- description: "Example showing comic text animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/comic-text"],
- files: [
- {
- path: "registry/example/comic-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/comic-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "icon-cloud-demo": {
- name: "icon-cloud-demo",
- description: "Example showing an interactive 3D icon cloud.",
- type: "registry:example",
- registryDependencies: ["@magicui/icon-cloud"],
- files: [
- {
- path: "registry/example/icon-cloud-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/icon-cloud-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "icon-cloud-demo-2": {
- name: "icon-cloud-demo-2",
- description: "Second example showing an interactive 3D icon cloud.",
- type: "registry:example",
- registryDependencies: ["@magicui/icon-cloud"],
- files: [
- {
- path: "registry/example/icon-cloud-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/icon-cloud-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "icon-cloud-demo-3": {
- name: "icon-cloud-demo-3",
- description: "Third example showing an interactive 3D icon cloud.",
- type: "registry:example",
- registryDependencies: ["@magicui/icon-cloud"],
- files: [
- {
- path: "registry/example/icon-cloud-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/icon-cloud-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo": {
- name: "text-animate-demo",
- description: "Example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-2": {
- name: "text-animate-demo-2",
- description: "Second example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-3": {
- name: "text-animate-demo-3",
- description: "Third example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-4": {
- name: "text-animate-demo-4",
- description: "Fourth example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-4.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-4.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-5": {
- name: "text-animate-demo-5",
- description: "Fifth example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-5.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-5.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-6": {
- name: "text-animate-demo-6",
- description: "Sixth example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-6.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-6.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-7": {
- name: "text-animate-demo-7",
- description: "Seventh example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-7.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-7.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-8": {
- name: "text-animate-demo-8",
- description: "Eighth example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-8.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-8.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "text-animate-demo-9": {
- name: "text-animate-demo-9",
- description: "Ninth example showing various text animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/text-animate"],
- files: [
- {
- path: "registry/example/text-animate-demo-9.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/text-animate-demo-9.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shiny-button-demo": {
- name: "shiny-button-demo",
- description: "Example showing a shiny button with dynamic styles.",
- type: "registry:example",
- registryDependencies: ["@magicui/shiny-button"],
- files: [
- {
- path: "registry/example/shiny-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/shiny-button-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "box-reveal-demo": {
- name: "box-reveal-demo",
- description: "Example showing a sliding box text reveal animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/box-reveal"],
- files: [
- {
- path: "registry/example/box-reveal-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/box-reveal-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-circular-progress-bar-demo": {
- name: "animated-circular-progress-bar-demo",
- description: "Example showing an animated circular progress gauge.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-circular-progress-bar"],
- files: [
- {
- path: "registry/example/animated-circular-progress-bar-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-circular-progress-bar-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shine-border-demo": {
- name: "shine-border-demo",
- description: "Example showing an animated shining border effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/shine-border"],
- files: [
- {
- path: "registry/example/shine-border-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/shine-border-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "shine-border-demo-2": {
- name: "shine-border-demo-2",
- description: "Second example showing an animated shining border effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/shine-border"],
- files: [
- {
- path: "registry/example/shine-border-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/shine-border-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-demo": {
- name: "confetti-demo",
- description: "Example showing confetti animations for celebrations.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-basic-cannon": {
- name: "confetti-basic-cannon",
- description: "Example showing basic confetti cannon animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-basic-cannon.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-basic-cannon.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-random-direction": {
- name: "confetti-random-direction",
- description: "Example showing confetti with random directions.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-random-direction.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/confetti-random-direction.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-fireworks": {
- name: "confetti-fireworks",
- description: "Example showing fireworks-style confetti animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-fireworks.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-fireworks.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-stars": {
- name: "confetti-stars",
- description: "Example showing star-shaped confetti animation.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-stars.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-stars.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-side-cannons": {
- name: "confetti-side-cannons",
- description: "Example showing side-mounted confetti cannons.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-side-cannons.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-side-cannons.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-custom-shapes": {
- name: "confetti-custom-shapes",
- description: "Example showing confetti with custom shape particles.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-custom-shapes.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-custom-shapes.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "confetti-emoji": {
- name: "confetti-emoji",
- description: "Example showing confetti with emoji particles.",
- type: "registry:example",
- registryDependencies: ["@magicui/confetti"],
- files: [
- {
- path: "registry/example/confetti-emoji.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/confetti-emoji.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-subscribe-button-demo": {
- name: "animated-subscribe-button-demo",
- description:
- "Example showing an animated subscribe button with micro animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-subscribe-button"],
- files: [
- {
- path: "registry/example/animated-subscribe-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-subscribe-button-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-subscribe-button-controlled-demo": {
- name: "animated-subscribe-button-controlled-demo",
- description:
- "Controlled example showing async behavior for AnimatedSubscribeButton.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-subscribe-button"],
- files: [
- {
- path: "registry/example/animated-subscribe-button-controlled-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-subscribe-button-controlled-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "cool-mode-demo": {
- name: "cool-mode-demo",
- description: "Example showing cool mode effect for buttons and links.",
- type: "registry:example",
- registryDependencies: ["@magicui/cool-mode"],
- files: [
- {
- path: "registry/example/cool-mode-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/cool-mode-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "cool-mode-custom": {
- name: "cool-mode-custom",
- description: "Example showing customized cool mode effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/cool-mode"],
- files: [
- {
- path: "registry/example/cool-mode-custom.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/cool-mode-custom.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "pulsating-button-demo": {
- name: "pulsating-button-demo",
- description: "Example showing an animated pulsating button.",
- type: "registry:example",
- registryDependencies: ["@magicui/pulsating-button"],
- files: [
- {
- path: "registry/example/pulsating-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/pulsating-button-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "ripple-button-demo": {
- name: "ripple-button-demo",
- description: "Example showing an animated button with ripple effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/ripple-button"],
- files: [
- {
- path: "registry/example/ripple-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/ripple-button-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "file-tree-demo": {
- name: "file-tree-demo",
- description:
- "Example showing a component that displays folder and file structure.",
- type: "registry:example",
- registryDependencies: ["@magicui/file-tree"],
- files: [
- {
- path: "registry/example/file-tree-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/file-tree-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "blur-fade-demo": {
- name: "blur-fade-demo",
- description: "Example showing blur fade in and out animations.",
- type: "registry:example",
- registryDependencies: ["@magicui/blur-fade"],
- files: [
- {
- path: "registry/example/blur-fade-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/blur-fade-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "blur-fade-text-demo": {
- name: "blur-fade-text-demo",
- description: "Example showing blur fade animations with text.",
- type: "registry:example",
- registryDependencies: ["@magicui/blur-fade"],
- files: [
- {
- path: "registry/example/blur-fade-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/blur-fade-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "safari-demo": {
- name: "safari-demo",
- description: "Example showing a Safari browser mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/safari"],
- files: [
- {
- path: "registry/example/safari-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/safari-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "safari-demo-2": {
- name: "safari-demo-2",
- description: "Second example showing a Safari browser mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/safari"],
- files: [
- {
- path: "registry/example/safari-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/safari-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "safari-demo-3": {
- name: "safari-demo-3",
- description: "Third example showing a Safari browser mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/safari"],
- files: [
- {
- path: "registry/example/safari-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/safari-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "safari-demo-4": {
- name: "safari-demo-4",
- description: "Fourth example showing a Safari browser mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/safari"],
- files: [
- {
- path: "registry/example/safari-demo-4.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/safari-demo-4.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "iphone-15-pro-demo": {
- name: "iphone-15-pro-demo",
- description: "Example showing an iPhone 15 Pro mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
- files: [
- {
- path: "registry/example/iphone-15-pro-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "iphone-15-pro-demo-2": {
- name: "iphone-15-pro-demo-2",
- description: "Second example showing an iPhone 15 Pro mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
- files: [
- {
- path: "registry/example/iphone-15-pro-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "iphone-15-pro-demo-3": {
- name: "iphone-15-pro-demo-3",
- description: "Third example showing an iPhone 15 Pro mockup.",
- type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
- files: [
- {
- path: "registry/example/iphone-15-pro-demo-3.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo-3.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "rainbow-button-demo": {
- name: "rainbow-button-demo",
- description: "Example showing an animated button with rainbow effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/rainbow-button"],
- files: [
- {
- path: "registry/example/rainbow-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/rainbow-button-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "rainbow-button-demo-2": {
- name: "rainbow-button-demo-2",
- description: "Example showing an animated button with rainbow effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/rainbow-button"],
- files: [
- {
- path: "registry/example/rainbow-button-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/rainbow-button-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "interactive-hover-button-demo": {
- name: "interactive-hover-button-demo",
- description: "Example showing an interactive button with hover effects.",
- type: "registry:example",
- registryDependencies: ["@magicui/interactive-hover-button"],
- files: [
- {
- path: "registry/example/interactive-hover-button-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/interactive-hover-button-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "terminal-demo": {
- name: "terminal-demo",
- description: "Example showing a terminal with animated text.",
- type: "registry:example",
- registryDependencies: ["@magicui/terminal"],
- files: [
- {
- path: "registry/example/terminal-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/terminal-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "terminal-demo-2": {
- name: "terminal-demo-2",
- description:
- "Example showing a terminal with animated text and custom delays",
- type: "registry:example",
- registryDependencies: ["@magicui/terminal"],
- files: [
- {
- path: "registry/example/terminal-demo-2.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/terminal-demo-2.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "video-text-demo": {
- name: "video-text-demo",
- description: "Example showing text with a video background.",
- type: "registry:example",
- registryDependencies: ["@magicui/video-text"],
- files: [
- {
- path: "registry/example/video-text-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/video-text-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "pixel-image-demo": {
- name: "pixel-image-demo",
- description: "Example showing a pixelated image effect.",
- type: "registry:example",
- registryDependencies: ["@magicui/pixel-image"],
- files: [
- {
- path: "registry/example/pixel-image-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/pixel-image-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "highlighter-demo": {
- name: "highlighter-demo",
- description: "Example showing the demo of a Highlighter",
- type: "registry:example",
- registryDependencies: ["@magicui/highlighter"],
- files: [
- {
- path: "registry/example/highlighter-demo.tsx",
- type: "registry:example",
- target: "",
- },
- {
- path: "registry/magicui/highlighter.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/highlighter-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "arc-timeline-demo": {
- name: "arc-timeline-demo",
- description: "Example showing an arc timeline component.",
- type: "registry:example",
- registryDependencies: ["@magicui/arc-timeline"],
- files: [
- {
- path: "registry/example/arc-timeline-demo.tsx",
- type: "registry:example",
- target: "",
- },
- {
- path: "registry/magicui/arc-timeline.tsx",
- type: "registry:ui",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/arc-timeline-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "animated-theme-toggler-demo": {
- name: "animated-theme-toggler-demo",
- description: "Example showing animation while changing the theme.",
- type: "registry:example",
- registryDependencies: ["@magicui/animated-theme-toggler"],
- files: [
- {
- path: "registry/example/animated-theme-toggler-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import(
- "@/registry/example/animated-theme-toggler-demo.tsx"
- )
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- "grid-beams-demo": {
- name: "grid-beams-demo",
- description:
- "Demo of the grid-beams component showcasing animated light rays over a grid",
- type: "registry:example",
- registryDependencies: ["@magicui/grid-beams"],
- files: [
- {
- path: "registry/example/grid-beams-demo.tsx",
- type: "registry:example",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/example/grid-beams-demo.tsx")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
- utils: {
- name: "utils",
- description: "",
- type: "registry:lib",
- registryDependencies: undefined,
- files: [
- {
- path: "registry/lib/utils.ts",
- type: "registry:lib",
- target: "",
- },
- ],
- component: React.lazy(async () => {
- const mod = await import("@/registry/lib/utils.ts")
- const exportName =
- Object.keys(mod).find(
- (key) =>
- typeof mod[key] === "function" || typeof mod[key] === "object"
- ) || item.name
- return { default: mod.default || mod[exportName] }
- }),
- meta: undefined,
- },
-}
diff --git a/apps/www/content/docs/components/iphone-15-pro.mdx b/apps/www/content/docs/components/iphone.mdx
similarity index 77%
rename from apps/www/content/docs/components/iphone-15-pro.mdx
rename to apps/www/content/docs/components/iphone.mdx
index 5e61ea7b..b5865ae4 100644
--- a/apps/www/content/docs/components/iphone-15-pro.mdx
+++ b/apps/www/content/docs/components/iphone.mdx
@@ -1,12 +1,12 @@
---
-title: iPhone 15 Pro
+title: iPhone
date: 2024-09-01
-description: A mockup of the iPhone 15 Pro
+description: A mockup of the iPhone
author: dillionverma, Yeom-JinHo
published: true
---
-<ComponentPreview name="iphone-15-pro-demo" />
+<ComponentPreview name="iphone-demo" />
## Installation
@@ -19,7 +19,7 @@ published: true
<TabsContent value="cli">
```bash
-npx shadcn@latest add @magicui/iphone-15-pro
+npx shadcn@latest add @magicui/iphone
```
</TabsContent>
@@ -30,7 +30,7 @@ npx shadcn@latest add @magicui/iphone-15-pro
<Step>Copy and paste the following code into your project.</Step>
-<ComponentSource name="iphone-15-pro" />
+<ComponentSource name="iphone" />
<Step>Update the import paths to match your project setup.</Step>
@@ -44,20 +44,20 @@ npx shadcn@latest add @magicui/iphone-15-pro
### With Image
-<ComponentPreview name="iphone-15-pro-demo-2" />
+<ComponentPreview name="iphone-demo-2" />
### With Video
-<ComponentPreview name="iphone-15-pro-demo-3" />
+<ComponentPreview name="iphone-demo-3" />
## Usage
```tsx showLineNumbers
-import { Iphone15Pro } from "@/components/magicui/iphone-15-pro"
+import { Iphone } from "@/components/magicui/iphone"
```
```tsx showLineNumbers
-<Iphone15Pro />
+<Iphone />
```
## Props
@@ -73,5 +73,5 @@ import { Iphone15Pro } from "@/components/magicui/iphone-15-pro"
- Sizing: width and height props have been removed. The size is controlled by the wrapper `<div>`. The component enforces the aspect ratio 433/882.
- Masking: The screen area is only masked when media (src or videoSrc) is provided. Without media, only the frame is rendered.
-- HTML Attributes: The Iphone15Pro component accepts all standard HTMLDivElement props.
+- HTML Attributes: The Iphone component accepts all standard HTMLDivElement props.
- iOS Compatibility: Video is rendered as a DOM overlay instead of foreignObject to avoid Safari/iOS masking issues.
diff --git a/apps/www/content/docs/components/safari.mdx b/apps/www/content/docs/components/safari.mdx
index 8eb3eda0..059ee041 100644
--- a/apps/www/content/docs/components/safari.mdx
+++ b/apps/www/content/docs/components/safari.mdx
@@ -79,5 +79,5 @@ import { Safari } from "@/components/magicui/safari"
- Sizing: width and height props have been removed. The size is controlled by the wrapper `<div>`. The component enforces the aspect ratio 1203/753.
- Masking: The screen area is only masked when media (src or videoSrc) is provided. Without media, only the frame is rendered.
-- HTML Attributes: The Iphone15Pro component accepts all standard HTMLDivElement props.
+- HTML Attributes: The Safari component accepts all standard HTMLDivElement props.
- iOS Compatibility: Video is rendered as a DOM overlay instead of foreignObject to avoid Safari/iOS masking issues.
diff --git a/apps/www/public/llms-full.txt b/apps/www/public/llms-full.txt
index dee27b93..84c05e10 100644
--- a/apps/www/public/llms-full.txt
+++ b/apps/www/public/llms-full.txt
@@ -573,24 +573,24 @@ Title: Interactive Hover Button Demo
-===== COMPONENT: iphone-15-pro =====
-Title: iPhone 15 Pro
-Description: A mockup of the iPhone 15 Pro
+===== COMPONENT: iphone =====
+Title: iPhone
+Description: A mockup of the iPhone
-===== EXAMPLE: iphone-15-pro-demo =====
-Title: iPhone 15 Pro Demo
+===== EXAMPLE: iphone-demo =====
+Title: iPhone Demo
-===== EXAMPLE: iphone-15-pro-demo-2 =====
-Title: iPhone 15 Pro Demo 2
+===== EXAMPLE: iphone-demo-2 =====
+Title: iPhone Demo 2
-===== EXAMPLE: iphone-15-pro-demo-3 =====
-Title: iPhone 15 Pro Demo 3
+===== EXAMPLE: iphone-demo-3 =====
+Title: iPhone Demo 3
diff --git a/apps/www/public/llms.txt b/apps/www/public/llms.txt
index 5c404ee9..8060f8b1 100644
--- a/apps/www/public/llms.txt
+++ b/apps/www/public/llms.txt
@@ -41,7 +41,7 @@ This file provides LLM-friendly entry points to documentation and examples.
- [Icon Cloud](https://magicui.design/docs/components/icon-cloud): An interactive 3D tag cloud component
- [Interactive Grid Pattern](https://magicui.design/docs/components/interactive-grid-pattern): A interactive background grid pattern made with SVGs, fully customizable using Tailwind CSS.
- [interactive-hover-button](https://magicui.design/docs/components/interactive-hover-button): The interactive-hover-button component.
-- [iPhone 15 Pro](https://magicui.design/docs/components/iphone-15-pro): A mockup of the iPhone 15 Pro
+- [iPhone](https://magicui.design/docs/components/iphone): A mockup of the iPhone
- [Lens](https://magicui.design/docs/components/lens): A interactive component that enables zooming into images, videos and other elements.
- [Line Shadow Text](https://magicui.design/docs/components/line-shadow-text): A text component with a moving line shadow.
- [Magic Card](https://magicui.design/docs/components/magic-card): A spotlight effect that follows your mouse cursor and highlights borders on hover.
@@ -199,9 +199,9 @@ This file provides LLM-friendly entry points to documentation and examples.
- [Safari Demo 2](https://github.com/magicuidesign/magicui/blob/main/example/safari-demo-2.tsx): Example usage
- [Safari Demo 3](https://github.com/magicuidesign/magicui/blob/main/example/safari-demo-3.tsx): Example usage
- [Safari Demo 4](https://github.com/magicuidesign/magicui/blob/main/example/safari-demo-4.tsx): Example usage
-- [iPhone 15 Pro Demo](https://github.com/magicuidesign/magicui/blob/main/example/iphone-15-pro-demo.tsx): Example usage
-- [iPhone 15 Pro Demo 2](https://github.com/magicuidesign/magicui/blob/main/example/iphone-15-pro-demo-2.tsx): Example usage
-- [iPhone 15 Pro Demo 3](https://github.com/magicuidesign/magicui/blob/main/example/iphone-15-pro-demo-3.tsx): Example usage
+- [iPhone Demo](https://github.com/magicuidesign/magicui/blob/main/example/iphone-demo.tsx): Example usage
+- [iPhone Demo 2](https://github.com/magicuidesign/magicui/blob/main/example/iphone-demo-2.tsx): Example usage
+- [iPhone Demo 3](https://github.com/magicuidesign/magicui/blob/main/example/iphone-demo-3.tsx): Example usage
- [Rainbow Button Demo](https://github.com/magicuidesign/magicui/blob/main/example/rainbow-button-demo.tsx): Example usage
- [Rainbow Button Demo 2](https://github.com/magicuidesign/magicui/blob/main/example/rainbow-button-demo-2.tsx): Example usage
- [Interactive Hover Button Demo](https://github.com/magicuidesign/magicui/blob/main/example/interactive-hover-button-demo.tsx): Example usage
diff --git a/apps/www/public/r/iphone-15-pro-demo-2.json b/apps/www/public/r/iphone-15-pro-demo-2.json
deleted file mode 100644
index f1233cd4..00000000
--- a/apps/www/public/r/iphone-15-pro-demo-2.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "iphone-15-pro-demo-2",
- "type": "registry:example",
- "title": "iPhone 15 Pro Demo 2",
- "description": "Second example showing an iPhone 15 Pro mockup.",
- "registryDependencies": [
- "@magicui/iphone-15-pro"
- ],
- "files": [
- {
- "path": "registry/example/iphone-15-pro-demo-2.tsx",
- "content": "import { Iphone15Pro } from \"@/registry/magicui/iphone-15-pro\"\n\nexport default function Iphone15ProDemo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone15Pro src=\"https://placehold.co/900x1600?text=Hello+World\" />\n </div>\n )\n}\n",
- "type": "registry:example"
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-15-pro-demo-3.json b/apps/www/public/r/iphone-15-pro-demo-3.json
deleted file mode 100644
index 971feb66..00000000
--- a/apps/www/public/r/iphone-15-pro-demo-3.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "iphone-15-pro-demo-3",
- "type": "registry:example",
- "title": "iPhone 15 Pro Demo 3",
- "description": "Third example showing an iPhone 15 Pro mockup.",
- "registryDependencies": [
- "@magicui/iphone-15-pro"
- ],
- "files": [
- {
- "path": "registry/example/iphone-15-pro-demo-3.tsx",
- "content": "import { Iphone15Pro } from \"@/registry/magicui/iphone-15-pro\"\n\nexport default function Iphone15ProDemo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone15Pro videoSrc=\"https://videos.pexels.com/video-files/8946986/8946986-uhd_1440_2732_25fps.mp4\" />\n </div>\n )\n}\n",
- "type": "registry:example"
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-15-pro-demo.json b/apps/www/public/r/iphone-15-pro-demo.json
deleted file mode 100644
index 201a3faf..00000000
--- a/apps/www/public/r/iphone-15-pro-demo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "iphone-15-pro-demo",
- "type": "registry:example",
- "title": "iPhone 15 Pro Demo",
- "description": "Example showing an iPhone 15 Pro mockup.",
- "registryDependencies": [
- "@magicui/iphone-15-pro"
- ],
- "files": [
- {
- "path": "registry/example/iphone-15-pro-demo.tsx",
- "content": "import { Iphone15Pro } from \"@/registry/magicui/iphone-15-pro\"\n\nexport default function Iphone15ProDemo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone15Pro />\n </div>\n )\n}\n",
- "type": "registry:example"
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-15-pro.json b/apps/www/public/r/iphone-15-pro.json
deleted file mode 100644
index 3b3c8596..00000000
--- a/apps/www/public/r/iphone-15-pro.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "iphone-15-pro",
- "type": "registry:ui",
- "title": "iPhone 15 Pro",
- "description": "A mockup of the iPhone 15 Pro",
- "files": [
- {
- "path": "registry/magicui/iphone-15-pro.tsx",
- "content": "import type { HTMLAttributes } from \"react\"\n\nconst PHONE_WIDTH = 433\nconst PHONE_HEIGHT = 882\nconst SCREEN_X = 21.25\nconst SCREEN_Y = 19.25\nconst SCREEN_WIDTH = 389.5\nconst SCREEN_HEIGHT = 843.5\nconst SCREEN_RADIUS = 55.75\n\n// Calculated percentages\nconst LEFT_PCT = (SCREEN_X / PHONE_WIDTH) * 100\nconst TOP_PCT = (SCREEN_Y / PHONE_HEIGHT) * 100\nconst WIDTH_PCT = (SCREEN_WIDTH / PHONE_WIDTH) * 100\nconst HEIGHT_PCT = (SCREEN_HEIGHT / PHONE_HEIGHT) * 100\nconst RADIUS_H = (SCREEN_RADIUS / SCREEN_WIDTH) * 100\nconst RADIUS_V = (SCREEN_RADIUS / SCREEN_HEIGHT) * 100\n\nexport interface Iphone15ProProps extends HTMLAttributes<HTMLDivElement> {\n src?: string\n videoSrc?: string\n}\n\nexport function Iphone15Pro({\n src,\n videoSrc,\n className,\n style,\n ...props\n}: Iphone15ProProps) {\n const hasVideo = !!videoSrc\n const hasMedia = hasVideo || !!src\n\n return (\n <div\n className={`relative inline-block w-full align-middle leading-none ${className}`}\n style={{\n aspectRatio: `${PHONE_WIDTH}/${PHONE_HEIGHT}`,\n ...style,\n }}\n {...props}\n >\n {hasVideo && (\n <div\n className=\"pointer-events-none absolute z-0 overflow-hidden\"\n style={{\n left: `${LEFT_PCT}%`,\n top: `${TOP_PCT}%`,\n width: `${WIDTH_PCT}%`,\n height: `${HEIGHT_PCT}%`,\n borderRadius: `${RADIUS_H}% / ${RADIUS_V}%`,\n }}\n >\n <video\n className=\"block size-full object-cover\"\n src={videoSrc}\n autoPlay\n loop\n muted\n playsInline\n preload=\"metadata\"\n />\n </div>\n )}\n\n {!hasVideo && src && (\n <div\n className=\"pointer-events-none absolute z-0 overflow-hidden\"\n style={{\n left: `${LEFT_PCT}%`,\n top: `${TOP_PCT}%`,\n width: `${WIDTH_PCT}%`,\n height: `${HEIGHT_PCT}%`,\n borderRadius: `${RADIUS_H}% / ${RADIUS_V}%`,\n }}\n >\n <img\n src={src}\n alt=\"\"\n className=\"block size-full object-cover object-top\"\n />\n </div>\n )}\n\n <svg\n viewBox={`0 0 ${PHONE_WIDTH} ${PHONE_HEIGHT}`}\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"absolute inset-0 size-full\"\n style={{ transform: \"translateZ(0)\" }}\n >\n <g mask={hasMedia ? \"url(#screenPunch)\" : undefined}>\n <path\n d=\"M2 73C2 32.6832 34.6832 0 75 0H357C397.317 0 430 32.6832 430 73V809C430 849.317 397.317 882 357 882H75C34.6832 882 2 849.317 2 809V73Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M0 171C0 170.448 0.447715 170 1 170H3V204H1C0.447715 204 0 203.552 0 203V171Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M1 234C1 233.448 1.44772 233 2 233H3.5V300H2C1.44772 300 1 299.552 1 299V234Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M1 319C1 318.448 1.44772 318 2 318H3.5V385H2C1.44772 385 1 384.552 1 384V319Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M430 279H432C432.552 279 433 279.448 433 280V384C433 384.552 432.552 385 432 385H430V279Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M6 74C6 35.3401 37.3401 4 76 4H356C394.66 4 426 35.3401 426 74V808C426 846.66 394.66 878 356 878H76C37.3401 878 6 846.66 6 808V74Z\"\n className=\"fill-white dark:fill-[#262626]\"\n />\n </g>\n\n <path\n opacity=\"0.5\"\n d=\"M174 5H258V5.5C258 6.60457 257.105 7.5 256 7.5H176C174.895 7.5 174 6.60457 174 5.5V5Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n\n <path\n d={`M${SCREEN_X} 75C${SCREEN_X} 44.2101 46.2101 ${SCREEN_Y} 77 ${SCREEN_Y}H355C385.79 ${SCREEN_Y} 410.75 44.2101 410.75 75V807C410.75 837.79 385.79 862.75 355 862.75H77C46.2101 862.75 ${SCREEN_X} 837.79 ${SCREEN_X} 807V75Z`}\n className=\"fill-[#E5E5E5] stroke-[#E5E5E5] stroke-[0.5] dark:fill-[#404040] dark:stroke-[#404040]\"\n mask={hasMedia ? \"url(#screenPunch)\" : undefined}\n />\n\n <path\n d=\"M154 48.5C154 38.2827 162.283 30 172.5 30H259.5C269.717 30 278 38.2827 278 48.5C278 58.7173 269.717 67 259.5 67H172.5C162.283 67 154 58.7173 154 48.5Z\"\n className=\"fill-[#F5F5F5] dark:fill-[#262626]\"\n />\n <path\n d=\"M249 48.5C249 42.701 253.701 38 259.5 38C265.299 38 270 42.701 270 48.5C270 54.299 265.299 59 259.5 59C253.701 59 249 54.299 249 48.5Z\"\n className=\"fill-[#F5F5F5] dark:fill-[#262626]\"\n />\n <path\n d=\"M254 48.5C254 45.4624 256.462 43 259.5 43C262.538 43 265 45.4624 265 48.5C265 51.5376 262.538 54 259.5 54C256.462 54 254 51.5376 254 48.5Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n\n <defs>\n <mask id=\"screenPunch\" maskUnits=\"userSpaceOnUse\">\n <rect\n x=\"0\"\n y=\"0\"\n width={PHONE_WIDTH}\n height={PHONE_HEIGHT}\n fill=\"white\"\n />\n <rect\n x={SCREEN_X}\n y={SCREEN_Y}\n width={SCREEN_WIDTH}\n height={SCREEN_HEIGHT}\n rx={SCREEN_RADIUS}\n ry={SCREEN_RADIUS}\n fill=\"black\"\n />\n </mask>\n <clipPath id=\"roundedCorners\">\n <rect\n x={SCREEN_X}\n y={SCREEN_Y}\n width={SCREEN_WIDTH}\n height={SCREEN_HEIGHT}\n rx={SCREEN_RADIUS}\n ry={SCREEN_RADIUS}\n />\n </clipPath>\n </defs>\n </svg>\n </div>\n )\n}\n",
- "type": "registry:ui"
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-demo-2.json b/apps/www/public/r/iphone-demo-2.json
new file mode 100644
index 00000000..8593d7b8
--- /dev/null
+++ b/apps/www/public/r/iphone-demo-2.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "iphone-demo-2",
+ "type": "registry:example",
+ "title": "iPhone Demo 2",
+ "description": "Second example showing an iPhone mockup.",
+ "registryDependencies": [
+ "@magicui/iphone"
+ ],
+ "files": [
+ {
+ "path": "registry/example/iphone-demo-2.tsx",
+ "content": "import { Iphone } from \"@/registry/magicui/iphone\"\n\nexport default function Demo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone src=\"https://placehold.co/900x1600?text=Hello+World\" />\n </div>\n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-demo-3.json b/apps/www/public/r/iphone-demo-3.json
new file mode 100644
index 00000000..c682cb81
--- /dev/null
+++ b/apps/www/public/r/iphone-demo-3.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "iphone-demo-3",
+ "type": "registry:example",
+ "title": "iPhone Demo 3",
+ "description": "Third example showing an iPhone mockup.",
+ "registryDependencies": [
+ "@magicui/iphone"
+ ],
+ "files": [
+ {
+ "path": "registry/example/iphone-demo-3.tsx",
+ "content": "import { Iphone } from \"@/registry/magicui/iphone\"\n\nexport default function Demo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone videoSrc=\"https://videos.pexels.com/video-files/8946986/8946986-uhd_1440_2732_25fps.mp4\" />\n </div>\n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone-demo.json b/apps/www/public/r/iphone-demo.json
new file mode 100644
index 00000000..8f99e65f
--- /dev/null
+++ b/apps/www/public/r/iphone-demo.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "iphone-demo",
+ "type": "registry:example",
+ "title": "iPhone Demo",
+ "description": "Example showing an iPhone mockup.",
+ "registryDependencies": [
+ "@magicui/iphone"
+ ],
+ "files": [
+ {
+ "path": "registry/example/iphone-demo.tsx",
+ "content": "import { Iphone } from \"@/registry/magicui/iphone\"\n\nexport default function Demo() {\n return (\n <div className=\"w-[434px]\">\n <Iphone />\n </div>\n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/iphone.json b/apps/www/public/r/iphone.json
new file mode 100644
index 00000000..32d50bc7
--- /dev/null
+++ b/apps/www/public/r/iphone.json
@@ -0,0 +1,14 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "iphone",
+ "type": "registry:ui",
+ "title": "iPhone",
+ "description": "A mockup of the iPhone",
+ "files": [
+ {
+ "path": "registry/magicui/iphone.tsx",
+ "content": "import type { HTMLAttributes } from \"react\"\n\nconst PHONE_WIDTH = 433\nconst PHONE_HEIGHT = 882\nconst SCREEN_X = 21.25\nconst SCREEN_Y = 19.25\nconst SCREEN_WIDTH = 389.5\nconst SCREEN_HEIGHT = 843.5\nconst SCREEN_RADIUS = 55.75\n\n// Calculated percentages\nconst LEFT_PCT = (SCREEN_X / PHONE_WIDTH) * 100\nconst TOP_PCT = (SCREEN_Y / PHONE_HEIGHT) * 100\nconst WIDTH_PCT = (SCREEN_WIDTH / PHONE_WIDTH) * 100\nconst HEIGHT_PCT = (SCREEN_HEIGHT / PHONE_HEIGHT) * 100\nconst RADIUS_H = (SCREEN_RADIUS / SCREEN_WIDTH) * 100\nconst RADIUS_V = (SCREEN_RADIUS / SCREEN_HEIGHT) * 100\n\nexport interface IphoneProps extends HTMLAttributes<HTMLDivElement> {\n src?: string\n videoSrc?: string\n}\n\nexport function Iphone({\n src,\n videoSrc,\n className,\n style,\n ...props\n}: IphoneProps) {\n const hasVideo = !!videoSrc\n const hasMedia = hasVideo || !!src\n\n return (\n <div\n className={`relative inline-block w-full align-middle leading-none ${className}`}\n style={{\n aspectRatio: `${PHONE_WIDTH}/${PHONE_HEIGHT}`,\n ...style,\n }}\n {...props}\n >\n {hasVideo && (\n <div\n className=\"pointer-events-none absolute z-0 overflow-hidden\"\n style={{\n left: `${LEFT_PCT}%`,\n top: `${TOP_PCT}%`,\n width: `${WIDTH_PCT}%`,\n height: `${HEIGHT_PCT}%`,\n borderRadius: `${RADIUS_H}% / ${RADIUS_V}%`,\n }}\n >\n <video\n className=\"block size-full object-cover\"\n src={videoSrc}\n autoPlay\n loop\n muted\n playsInline\n preload=\"metadata\"\n />\n </div>\n )}\n\n {!hasVideo && src && (\n <div\n className=\"pointer-events-none absolute z-0 overflow-hidden\"\n style={{\n left: `${LEFT_PCT}%`,\n top: `${TOP_PCT}%`,\n width: `${WIDTH_PCT}%`,\n height: `${HEIGHT_PCT}%`,\n borderRadius: `${RADIUS_H}% / ${RADIUS_V}%`,\n }}\n >\n <img\n src={src}\n alt=\"\"\n className=\"block size-full object-cover object-top\"\n />\n </div>\n )}\n\n <svg\n viewBox={`0 0 ${PHONE_WIDTH} ${PHONE_HEIGHT}`}\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"absolute inset-0 size-full\"\n style={{ transform: \"translateZ(0)\" }}\n >\n <g mask={hasMedia ? \"url(#screenPunch)\" : undefined}>\n <path\n d=\"M2 73C2 32.6832 34.6832 0 75 0H357C397.317 0 430 32.6832 430 73V809C430 849.317 397.317 882 357 882H75C34.6832 882 2 849.317 2 809V73Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M0 171C0 170.448 0.447715 170 1 170H3V204H1C0.447715 204 0 203.552 0 203V171Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M1 234C1 233.448 1.44772 233 2 233H3.5V300H2C1.44772 300 1 299.552 1 299V234Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M1 319C1 318.448 1.44772 318 2 318H3.5V385H2C1.44772 385 1 384.552 1 384V319Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M430 279H432C432.552 279 433 279.448 433 280V384C433 384.552 432.552 385 432 385H430V279Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n <path\n d=\"M6 74C6 35.3401 37.3401 4 76 4H356C394.66 4 426 35.3401 426 74V808C426 846.66 394.66 878 356 878H76C37.3401 878 6 846.66 6 808V74Z\"\n className=\"fill-white dark:fill-[#262626]\"\n />\n </g>\n\n <path\n opacity=\"0.5\"\n d=\"M174 5H258V5.5C258 6.60457 257.105 7.5 256 7.5H176C174.895 7.5 174 6.60457 174 5.5V5Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n\n <path\n d={`M${SCREEN_X} 75C${SCREEN_X} 44.2101 46.2101 ${SCREEN_Y} 77 ${SCREEN_Y}H355C385.79 ${SCREEN_Y} 410.75 44.2101 410.75 75V807C410.75 837.79 385.79 862.75 355 862.75H77C46.2101 862.75 ${SCREEN_X} 837.79 ${SCREEN_X} 807V75Z`}\n className=\"fill-[#E5E5E5] stroke-[#E5E5E5] stroke-[0.5] dark:fill-[#404040] dark:stroke-[#404040]\"\n mask={hasMedia ? \"url(#screenPunch)\" : undefined}\n />\n\n <path\n d=\"M154 48.5C154 38.2827 162.283 30 172.5 30H259.5C269.717 30 278 38.2827 278 48.5C278 58.7173 269.717 67 259.5 67H172.5C162.283 67 154 58.7173 154 48.5Z\"\n className=\"fill-[#F5F5F5] dark:fill-[#262626]\"\n />\n <path\n d=\"M249 48.5C249 42.701 253.701 38 259.5 38C265.299 38 270 42.701 270 48.5C270 54.299 265.299 59 259.5 59C253.701 59 249 54.299 249 48.5Z\"\n className=\"fill-[#F5F5F5] dark:fill-[#262626]\"\n />\n <path\n d=\"M254 48.5C254 45.4624 256.462 43 259.5 43C262.538 43 265 45.4624 265 48.5C265 51.5376 262.538 54 259.5 54C256.462 54 254 51.5376 254 48.5Z\"\n className=\"fill-[#E5E5E5] dark:fill-[#404040]\"\n />\n\n <defs>\n <mask id=\"screenPunch\" maskUnits=\"userSpaceOnUse\">\n <rect\n x=\"0\"\n y=\"0\"\n width={PHONE_WIDTH}\n height={PHONE_HEIGHT}\n fill=\"white\"\n />\n <rect\n x={SCREEN_X}\n y={SCREEN_Y}\n width={SCREEN_WIDTH}\n height={SCREEN_HEIGHT}\n rx={SCREEN_RADIUS}\n ry={SCREEN_RADIUS}\n fill=\"black\"\n />\n </mask>\n <clipPath id=\"roundedCorners\">\n <rect\n x={SCREEN_X}\n y={SCREEN_Y}\n width={SCREEN_WIDTH}\n height={SCREEN_HEIGHT}\n rx={SCREEN_RADIUS}\n ry={SCREEN_RADIUS}\n />\n </clipPath>\n </defs>\n </svg>\n </div>\n )\n}\n",
+ "type": "registry:ui"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/registry.json b/apps/www/public/r/registry.json
index 1c7c614e..a4c2811b 100644
--- a/apps/www/public/r/registry.json
+++ b/apps/www/public/r/registry.json
@@ -1148,13 +1148,13 @@
]
},
{
- "name": "iphone-15-pro",
+ "name": "iphone",
"type": "registry:ui",
- "title": "iPhone 15 Pro",
- "description": "A mockup of the iPhone 15 Pro",
+ "title": "iPhone",
+ "description": "A mockup of the iPhone",
"files": [
{
- "path": "registry/magicui/iphone-15-pro.tsx",
+ "path": "registry/magicui/iphone.tsx",
"type": "registry:ui"
}
]
@@ -3107,46 +3107,46 @@
]
},
{
- "name": "iphone-15-pro-demo",
+ "name": "iphone-demo",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo",
- "description": "Example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo",
+ "description": "Example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo.tsx",
+ "path": "registry/example/iphone-demo.tsx",
"type": "registry:example"
}
]
},
{
- "name": "iphone-15-pro-demo-2",
+ "name": "iphone-demo-2",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo 2",
- "description": "Second example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo 2",
+ "description": "Second example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo-2.tsx",
+ "path": "registry/example/iphone-demo-2.tsx",
"type": "registry:example"
}
]
},
{
- "name": "iphone-15-pro-demo-3",
+ "name": "iphone-demo-3",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo 3",
- "description": "Third example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo 3",
+ "description": "Third example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo-3.tsx",
+ "path": "registry/example/iphone-demo-3.tsx",
"type": "registry:example"
}
]
diff --git a/apps/www/registry.json b/apps/www/registry.json
index 1c7c614e..a4c2811b 100644
--- a/apps/www/registry.json
+++ b/apps/www/registry.json
@@ -1148,13 +1148,13 @@
]
},
{
- "name": "iphone-15-pro",
+ "name": "iphone",
"type": "registry:ui",
- "title": "iPhone 15 Pro",
- "description": "A mockup of the iPhone 15 Pro",
+ "title": "iPhone",
+ "description": "A mockup of the iPhone",
"files": [
{
- "path": "registry/magicui/iphone-15-pro.tsx",
+ "path": "registry/magicui/iphone.tsx",
"type": "registry:ui"
}
]
@@ -3107,46 +3107,46 @@
]
},
{
- "name": "iphone-15-pro-demo",
+ "name": "iphone-demo",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo",
- "description": "Example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo",
+ "description": "Example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo.tsx",
+ "path": "registry/example/iphone-demo.tsx",
"type": "registry:example"
}
]
},
{
- "name": "iphone-15-pro-demo-2",
+ "name": "iphone-demo-2",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo 2",
- "description": "Second example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo 2",
+ "description": "Second example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo-2.tsx",
+ "path": "registry/example/iphone-demo-2.tsx",
"type": "registry:example"
}
]
},
{
- "name": "iphone-15-pro-demo-3",
+ "name": "iphone-demo-3",
"type": "registry:example",
- "title": "iPhone 15 Pro Demo 3",
- "description": "Third example showing an iPhone 15 Pro mockup.",
+ "title": "iPhone Demo 3",
+ "description": "Third example showing an iPhone mockup.",
"registryDependencies": [
- "@magicui/iphone-15-pro"
+ "@magicui/iphone"
],
"files": [
{
- "path": "registry/example/iphone-15-pro-demo-3.tsx",
+ "path": "registry/example/iphone-demo-3.tsx",
"type": "registry:example"
}
]
diff --git a/apps/www/registry/__index__.tsx b/apps/www/registry/__index__.tsx
index 211769d8..ae26016a 100644
--- a/apps/www/registry/__index__.tsx
+++ b/apps/www/registry/__index__.tsx
@@ -1086,18 +1086,18 @@ export const Index: Record<string, any> = {
}),
meta: undefined,
},
- "iphone-15-pro": {
- name: "iphone-15-pro",
- description: "A mockup of the iPhone 15 Pro",
+ "iphone": {
+ name: "iphone",
+ description: "A mockup of the iPhone",
type: "registry:ui",
registryDependencies: undefined,
files: [{
- path: "registry/magicui/iphone-15-pro.tsx",
+ path: "registry/magicui/iphone.tsx",
type: "registry:ui",
target: ""
}],
component: React.lazy(async () => {
- const mod = await import("@/registry/magicui/iphone-15-pro.tsx")
+ const mod = await import("@/registry/magicui/iphone.tsx")
const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name
return { default: mod.default || mod[exportName] }
}),
@@ -3245,52 +3245,52 @@ export const Index: Record<string, any> = {
}),
meta: undefined,
},
- "iphone-15-pro-demo": {
- name: "iphone-15-pro-demo",
- description: "Example showing an iPhone 15 Pro mockup.",
+ "iphone-demo": {
+ name: "iphone-demo",
+ description: "Example showing an iPhone mockup.",
type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ registryDependencies: ["@magicui/iphone"],
files: [{
- path: "registry/example/iphone-15-pro-demo.tsx",
+ path: "registry/example/iphone-demo.tsx",
type: "registry:example",
target: ""
}],
component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo.tsx")
+ const mod = await import("@/registry/example/iphone-demo.tsx")
const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name
return { default: mod.default || mod[exportName] }
}),
meta: undefined,
},
- "iphone-15-pro-demo-2": {
- name: "iphone-15-pro-demo-2",
- description: "Second example showing an iPhone 15 Pro mockup.",
+ "iphone-demo-2": {
+ name: "iphone-demo-2",
+ description: "Second example showing an iPhone mockup.",
type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ registryDependencies: ["@magicui/iphone"],
files: [{
- path: "registry/example/iphone-15-pro-demo-2.tsx",
+ path: "registry/example/iphone-demo-2.tsx",
type: "registry:example",
target: ""
}],
component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo-2.tsx")
+ const mod = await import("@/registry/example/iphone-demo-2.tsx")
const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name
return { default: mod.default || mod[exportName] }
}),
meta: undefined,
},
- "iphone-15-pro-demo-3": {
- name: "iphone-15-pro-demo-3",
- description: "Third example showing an iPhone 15 Pro mockup.",
+ "iphone-demo-3": {
+ name: "iphone-demo-3",
+ description: "Third example showing an iPhone mockup.",
type: "registry:example",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ registryDependencies: ["@magicui/iphone"],
files: [{
- path: "registry/example/iphone-15-pro-demo-3.tsx",
+ path: "registry/example/iphone-demo-3.tsx",
type: "registry:example",
target: ""
}],
component: React.lazy(async () => {
- const mod = await import("@/registry/example/iphone-15-pro-demo-3.tsx")
+ const mod = await import("@/registry/example/iphone-demo-3.tsx")
const exportName = Object.keys(mod).find(key => typeof mod[key] === 'function' || typeof mod[key] === 'object') || item.name
return { default: mod.default || mod[exportName] }
}),
diff --git a/apps/www/registry/example/iphone-15-pro-demo-2.tsx b/apps/www/registry/example/iphone-15-pro-demo-2.tsx
deleted file mode 100644
index b90e3493..00000000
--- a/apps/www/registry/example/iphone-15-pro-demo-2.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Iphone15Pro } from "@/registry/magicui/iphone-15-pro"
-
-export default function Iphone15ProDemo() {
- return (
- <div className="w-[434px]">
- <Iphone15Pro src="https://placehold.co/900x1600?text=Hello+World" />
- </div>
- )
-}
diff --git a/apps/www/registry/example/iphone-15-pro-demo-3.tsx b/apps/www/registry/example/iphone-15-pro-demo-3.tsx
deleted file mode 100644
index ae0f94f0..00000000
--- a/apps/www/registry/example/iphone-15-pro-demo-3.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Iphone15Pro } from "@/registry/magicui/iphone-15-pro"
-
-export default function Iphone15ProDemo() {
- return (
- <div className="w-[434px]">
- <Iphone15Pro videoSrc="https://videos.pexels.com/video-files/8946986/8946986-uhd_1440_2732_25fps.mp4" />
- </div>
- )
-}
diff --git a/apps/www/registry/example/iphone-15-pro-demo.tsx b/apps/www/registry/example/iphone-15-pro-demo.tsx
deleted file mode 100644
index 822fb3d4..00000000
--- a/apps/www/registry/example/iphone-15-pro-demo.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Iphone15Pro } from "@/registry/magicui/iphone-15-pro"
-
-export default function Iphone15ProDemo() {
- return (
- <div className="w-[434px]">
- <Iphone15Pro />
- </div>
- )
-}
diff --git a/apps/www/registry/example/iphone-demo-2.tsx b/apps/www/registry/example/iphone-demo-2.tsx
new file mode 100644
index 00000000..ed35fdad
--- /dev/null
+++ b/apps/www/registry/example/iphone-demo-2.tsx
@@ -0,0 +1,9 @@
+import { Iphone } from "@/registry/magicui/iphone"
+
+export default function Demo() {
+ return (
+ <div className="w-[434px]">
+ <Iphone src="https://placehold.co/900x1600?text=Hello+World" />
+ </div>
+ )
+}
diff --git a/apps/www/registry/example/iphone-demo-3.tsx b/apps/www/registry/example/iphone-demo-3.tsx
new file mode 100644
index 00000000..5c9d6411
--- /dev/null
+++ b/apps/www/registry/example/iphone-demo-3.tsx
@@ -0,0 +1,9 @@
+import { Iphone } from "@/registry/magicui/iphone"
+
+export default function Demo() {
+ return (
+ <div className="w-[434px]">
+ <Iphone videoSrc="https://videos.pexels.com/video-files/8946986/8946986-uhd_1440_2732_25fps.mp4" />
+ </div>
+ )
+}
diff --git a/apps/www/registry/example/iphone-demo.tsx b/apps/www/registry/example/iphone-demo.tsx
new file mode 100644
index 00000000..3848f352
--- /dev/null
+++ b/apps/www/registry/example/iphone-demo.tsx
@@ -0,0 +1,9 @@
+import { Iphone } from "@/registry/magicui/iphone"
+
+export default function Demo() {
+ return (
+ <div className="w-[434px]">
+ <Iphone />
+ </div>
+ )
+}
diff --git a/apps/www/registry/magicui/iphone-15-pro.tsx b/apps/www/registry/magicui/iphone.tsx
similarity index 97%
rename from apps/www/registry/magicui/iphone-15-pro.tsx
rename to apps/www/registry/magicui/iphone.tsx
index 550223c9..e13a6c54 100644
--- a/apps/www/registry/magicui/iphone-15-pro.tsx
+++ b/apps/www/registry/magicui/iphone.tsx
@@ -16,18 +16,18 @@ const HEIGHT_PCT = (SCREEN_HEIGHT / PHONE_HEIGHT) * 100
const RADIUS_H = (SCREEN_RADIUS / SCREEN_WIDTH) * 100
const RADIUS_V = (SCREEN_RADIUS / SCREEN_HEIGHT) * 100
-export interface Iphone15ProProps extends HTMLAttributes<HTMLDivElement> {
+export interface IphoneProps extends HTMLAttributes<HTMLDivElement> {
src?: string
videoSrc?: string
}
-export function Iphone15Pro({
+export function Iphone({
src,
videoSrc,
className,
style,
...props
-}: Iphone15ProProps) {
+}: IphoneProps) {
const hasVideo = !!videoSrc
const hasMedia = hasVideo || !!src
diff --git a/apps/www/registry/registry-examples.ts b/apps/www/registry/registry-examples.ts
index 978094a8..4e2e5a01 100644
--- a/apps/www/registry/registry-examples.ts
+++ b/apps/www/registry/registry-examples.ts
@@ -1555,40 +1555,40 @@ export const examples: Registry["items"] = [
],
},
{
- name: "iphone-15-pro-demo",
+ name: "iphone-demo",
type: "registry:example",
- title: "iPhone 15 Pro Demo",
- description: "Example showing an iPhone 15 Pro mockup.",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ title: "iPhone Demo",
+ description: "Example showing an iPhone mockup.",
+ registryDependencies: ["@magicui/iphone"],
files: [
{
- path: "example/iphone-15-pro-demo.tsx",
+ path: "example/iphone-demo.tsx",
type: "registry:example",
},
],
},
{
- name: "iphone-15-pro-demo-2",
+ name: "iphone-demo-2",
type: "registry:example",
- title: "iPhone 15 Pro Demo 2",
- description: "Second example showing an iPhone 15 Pro mockup.",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ title: "iPhone Demo 2",
+ description: "Second example showing an iPhone mockup.",
+ registryDependencies: ["@magicui/iphone"],
files: [
{
- path: "example/iphone-15-pro-demo-2.tsx",
+ path: "example/iphone-demo-2.tsx",
type: "registry:example",
},
],
},
{
- name: "iphone-15-pro-demo-3",
+ name: "iphone-demo-3",
type: "registry:example",
- title: "iPhone 15 Pro Demo 3",
- description: "Third example showing an iPhone 15 Pro mockup.",
- registryDependencies: ["@magicui/iphone-15-pro"],
+ title: "iPhone Demo 3",
+ description: "Third example showing an iPhone mockup.",
+ registryDependencies: ["@magicui/iphone"],
files: [
{
- path: "example/iphone-15-pro-demo-3.tsx",
+ path: "example/iphone-demo-3.tsx",
type: "registry:example",
},
],
diff --git a/apps/www/registry/registry-ui.ts b/apps/www/registry/registry-ui.ts
index 97cb00a0..da3829ad 100644
--- a/apps/www/registry/registry-ui.ts
+++ b/apps/www/registry/registry-ui.ts
@@ -1079,13 +1079,13 @@ export const ui: Registry["items"] = [
],
},
{
- name: "iphone-15-pro",
+ name: "iphone",
type: "registry:ui",
- title: "iPhone 15 Pro",
- description: "A mockup of the iPhone 15 Pro",
+ title: "iPhone",
+ description: "A mockup of the iPhone",
files: [
{
- path: "magicui/iphone-15-pro.tsx",
+ path: "magicui/iphone.tsx",
type: "registry:ui",
},
],