Skip to content

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

fix: update docs + rename

Dillion Vermaba7dc82e244f
diff --git a/__registry__/index.tsx b/__registry__/index.tsx
index 3dffac71..cee9f673 100644
--- a/__registry__/index.tsx
+++ b/__registry__/index.tsx
@@ -1,2111 +1,1749 @@
// @ts-nocheck
// This file is autogenerated by scripts/build-registry.ts
// Do not edit this file directly.
-import * as React from "react";
+import * as React from "react"
export const Index: Record<string, any> = {
- default: {
+ "default": {
"magic-card": {
name: "magic-card",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/magic-card.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/magic-card.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/magic-card.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- android: {
+ "android": {
name: "android",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/android.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/android.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/android.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- "warp-animation-container": {
- name: "warp-animation-container",
+ "warp-background": {
+ name: "warp-background",
type: "registry:ui",
registryDependencies: undefined,
- files: ["registry/default/magicui/warp-animation-container.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/warp-animation-container.tsx"),
- ),
+ files: ["registry/default/magicui/warp-background.tsx"],
+ component: React.lazy(() => import("@/registry/default/magicui/warp-background.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"morphing-text": {
name: "morphing-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/morphing-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/morphing-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/morphing-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scroll-progress": {
name: "scroll-progress",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/scroll-progress.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/scroll-progress.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/scroll-progress.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"neon-gradient-card": {
name: "neon-gradient-card",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/neon-gradient-card.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/neon-gradient-card.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/neon-gradient-card.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- meteors: {
+ "meteors": {
name: "meteors",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/meteors.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/meteors.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/meteors.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"grid-pattern": {
name: "grid-pattern",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/grid-pattern.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/grid-pattern.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/grid-pattern.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dot-pattern": {
name: "dot-pattern",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/dot-pattern.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/dot-pattern.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/dot-pattern.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"flickering-grid": {
name: "flickering-grid",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/flickering-grid.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/flickering-grid.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/flickering-grid.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"hero-video-dialog": {
name: "hero-video-dialog",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/hero-video-dialog.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/hero-video-dialog.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/hero-video-dialog.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"code-comparison": {
name: "code-comparison",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/code-comparison.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/code-comparison.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/code-comparison.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"script-copy-btn": {
name: "script-copy-btn",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/script-copy-btn.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/script-copy-btn.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/script-copy-btn.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- marquee: {
+ "marquee": {
name: "marquee",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/marquee.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/marquee.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/marquee.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- globe: {
+ "globe": {
name: "globe",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/globe.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/globe.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/globe.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shimmer-button": {
name: "shimmer-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/shimmer-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/shimmer-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/shimmer-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"tweet-card": {
name: "tweet-card",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/tweet-card.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/tweet-card.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/tweet-card.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"client-tweet-card": {
name: "client-tweet-card",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/client-tweet-card.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/client-tweet-card.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/client-tweet-card.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"bento-grid": {
name: "bento-grid",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/bento-grid.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/bento-grid.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/bento-grid.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- particles: {
+ "particles": {
name: "particles",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/particles.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/particles.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/particles.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"number-ticker": {
name: "number-ticker",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/number-ticker.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/number-ticker.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/number-ticker.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- ripple: {
+ "ripple": {
name: "ripple",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/ripple.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/ripple.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/ripple.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"retro-grid": {
name: "retro-grid",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/retro-grid.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/retro-grid.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/retro-grid.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-list": {
name: "animated-list",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-list.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/animated-list.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-list.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-shiny-text": {
name: "animated-shiny-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-shiny-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/animated-shiny-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-shiny-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-grid-pattern": {
name: "animated-grid-pattern",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-grid-pattern.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/animated-grid-pattern.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-grid-pattern.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"border-beam": {
name: "border-beam",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/border-beam.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/border-beam.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/border-beam.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam": {
name: "animated-beam",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-beam.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/animated-beam.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-beam.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"text-reveal": {
name: "text-reveal",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/text-reveal.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/text-reveal.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/text-reveal.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"hyper-text": {
name: "hyper-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/hyper-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/hyper-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/hyper-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-gradient-text": {
name: "animated-gradient-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-gradient-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/animated-gradient-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-gradient-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"orbiting-circles": {
name: "orbiting-circles",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/orbiting-circles.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/orbiting-circles.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/orbiting-circles.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- dock: {
+ "dock": {
name: "dock",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/dock.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/dock.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/dock.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-rotate": {
name: "word-rotate",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/word-rotate.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/word-rotate.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/word-rotate.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"avatar-circles": {
name: "avatar-circles",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/avatar-circles.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/avatar-circles.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/avatar-circles.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-pull-up": {
name: "word-pull-up",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/word-pull-up.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/word-pull-up.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/word-pull-up.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"typing-animation": {
name: "typing-animation",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/typing-animation.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/typing-animation.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/typing-animation.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"blur-in": {
name: "blur-in",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/blur-in.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/blur-in.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/blur-in.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"letter-pullup": {
name: "letter-pullup",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/letter-pullup.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/letter-pullup.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/letter-pullup.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"sparkles-text": {
name: "sparkles-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/sparkles-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/sparkles-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/sparkles-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"flip-text": {
name: "flip-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/flip-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/flip-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/flip-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"icon-cloud": {
name: "icon-cloud",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/icon-cloud.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/icon-cloud.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/icon-cloud.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"gradual-spacing": {
name: "gradual-spacing",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/gradual-spacing.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/gradual-spacing.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/gradual-spacing.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-fade-in": {
name: "word-fade-in",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/word-fade-in.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/word-fade-in.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/word-fade-in.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scroll-based-velocity": {
name: "scroll-based-velocity",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/scroll-based-velocity.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/scroll-based-velocity.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/scroll-based-velocity.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scratch-to-reveal": {
name: "scratch-to-reveal",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/scratch-to-reveal.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/scratch-to-reveal.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/scratch-to-reveal.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"fade-text": {
name: "fade-text",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/fade-text.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/fade-text.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/fade-text.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shiny-button": {
name: "shiny-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/shiny-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/shiny-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/shiny-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"box-reveal": {
name: "box-reveal",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/box-reveal.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/box-reveal.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/box-reveal.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shine-border": {
name: "shine-border",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/shine-border.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/shine-border.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/shine-border.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-circular-progress-bar": {
name: "animated-circular-progress-bar",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-circular-progress-bar.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/magicui/animated-circular-progress-bar.tsx"
- ),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-circular-progress-bar.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- confetti: {
+ "confetti": {
name: "confetti",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/confetti.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/confetti.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/confetti.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-subscribe-button": {
name: "animated-subscribe-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/animated-subscribe-button.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/magicui/animated-subscribe-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/animated-subscribe-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"cool-mode": {
name: "cool-mode",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/cool-mode.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/cool-mode.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/cool-mode.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"pulsating-button": {
name: "pulsating-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/pulsating-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/pulsating-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/pulsating-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"ripple-button": {
name: "ripple-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/ripple-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/ripple-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/ripple-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"file-tree": {
name: "file-tree",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/file-tree.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/file-tree.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/file-tree.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"blur-fade": {
name: "blur-fade",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/blur-fade.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/blur-fade.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/blur-fade.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- safari: {
+ "safari": {
name: "safari",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/safari.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/safari.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/safari.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"iphone-15-pro": {
name: "iphone-15-pro",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/iphone-15-pro.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/iphone-15-pro.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/iphone-15-pro.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"rainbow-button": {
name: "rainbow-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/rainbow-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/rainbow-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/rainbow-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"interactive-hover-button": {
name: "interactive-hover-button",
type: "registry:ui",
registryDependencies: undefined,
files: ["registry/default/magicui/interactive-hover-button.tsx"],
- component: React.lazy(
- () => import("@/registry/default/magicui/interactive-hover-button.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/magicui/interactive-hover-button.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"magic-card-demo": {
name: "magic-card-demo",
type: "registry:example",
registryDependencies: ["magic-card"],
files: ["registry/default/example/magic-card-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/magic-card-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/magic-card-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"android-demo": {
name: "android-demo",
type: "registry:example",
registryDependencies: ["android"],
files: ["registry/default/example/android-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/android-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/android-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"android-demo-2": {
name: "android-demo-2",
type: "registry:example",
registryDependencies: ["android"],
files: ["registry/default/example/android-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/android-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/android-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"android-demo-3": {
name: "android-demo-3",
type: "registry:example",
registryDependencies: ["android"],
files: ["registry/default/example/android-demo-3.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/android-demo-3.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/android-demo-3.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- "warp-animation-container-demo": {
- name: "warp-animation-container-demo",
+ "warp-background-demo": {
+ name: "warp-background-demo",
type: "registry:example",
- registryDependencies: ["warp-animation-container"],
- files: ["registry/default/example/warp-animation-container-demo.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/warp-animation-container-demo.tsx"
- ),
- ),
+ registryDependencies: ["warp-background"],
+ files: ["registry/default/example/warp-background-demo.tsx"],
+ component: React.lazy(() => import("@/registry/default/example/warp-background-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"morphing-text-demo": {
name: "morphing-text-demo",
type: "registry:example",
registryDependencies: ["morphing-text"],
files: ["registry/default/example/morphing-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/morphing-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/morphing-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scroll-progress-demo": {
name: "scroll-progress-demo",
type: "registry:example",
registryDependencies: ["scroll-progress"],
files: ["registry/default/example/scroll-progress-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/scroll-progress-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/scroll-progress-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"neon-gradient-card-demo": {
name: "neon-gradient-card-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/neon-gradient-card-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/neon-gradient-card-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/neon-gradient-card-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"meteors-demo": {
name: "meteors-demo",
type: "registry:example",
registryDependencies: ["meteors"],
files: ["registry/default/example/meteors-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/meteors-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/meteors-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"grid-pattern-demo": {
name: "grid-pattern-demo",
type: "registry:example",
registryDependencies: ["grid-pattern"],
files: ["registry/default/example/grid-pattern-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/grid-pattern-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/grid-pattern-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"grid-pattern-linear-gradient": {
name: "grid-pattern-linear-gradient",
type: "registry:example",
registryDependencies: ["grid-pattern"],
files: ["registry/default/example/grid-pattern-linear-gradient.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/grid-pattern-linear-gradient.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/grid-pattern-linear-gradient.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"grid-pattern-dashed": {
name: "grid-pattern-dashed",
type: "registry:example",
registryDependencies: ["grid-pattern"],
files: ["registry/default/example/grid-pattern-dashed.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/grid-pattern-dashed.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/grid-pattern-dashed.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dot-pattern-demo": {
name: "dot-pattern-demo",
type: "registry:example",
registryDependencies: ["dot-pattern"],
files: ["registry/default/example/dot-pattern-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/dot-pattern-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/dot-pattern-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dot-pattern-linear-gradient": {
name: "dot-pattern-linear-gradient",
type: "registry:example",
registryDependencies: ["dot-pattern"],
files: ["registry/default/example/dot-pattern-linear-gradient.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/dot-pattern-linear-gradient.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/dot-pattern-linear-gradient.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"flickering-grid-demo": {
name: "flickering-grid-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/flickering-grid-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/flickering-grid-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/flickering-grid-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"flickering-grid-rounded-demo": {
name: "flickering-grid-rounded-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/flickering-grid-rounded-demo.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/flickering-grid-rounded-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/flickering-grid-rounded-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"hero-video-dialog-demo": {
name: "hero-video-dialog-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/hero-video-dialog-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/hero-video-dialog-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/hero-video-dialog-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"hero-video-dialog-demo-top-in-bottom-out": {
name: "hero-video-dialog-demo-top-in-bottom-out",
type: "registry:example",
registryDependencies: undefined,
- files: [
- "registry/default/example/hero-video-dialog-demo-top-in-bottom-out.tsx",
- ],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/hero-video-dialog-demo-top-in-bottom-out.tsx"
- ),
- ),
+ files: ["registry/default/example/hero-video-dialog-demo-top-in-bottom-out.tsx"],
+ component: React.lazy(() => import("@/registry/default/example/hero-video-dialog-demo-top-in-bottom-out.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"code-comparison-demo": {
name: "code-comparison-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/code-comparison-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/code-comparison-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/code-comparison-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"script-copy-btn-demo": {
name: "script-copy-btn-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/script-copy-btn-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/script-copy-btn-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/script-copy-btn-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"marquee-demo": {
name: "marquee-demo",
type: "registry:example",
registryDependencies: ["marquee"],
files: ["registry/default/example/marquee-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/marquee-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/marquee-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"marquee-demo-vertical": {
name: "marquee-demo-vertical",
type: "registry:example",
registryDependencies: ["marquee"],
files: ["registry/default/example/marquee-demo-vertical.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/marquee-demo-vertical.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/marquee-demo-vertical.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"marquee-logos": {
name: "marquee-logos",
type: "registry:example",
registryDependencies: ["marquee"],
files: ["registry/default/example/marquee-logos.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/marquee-logos.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/marquee-logos.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"marquee-3d": {
name: "marquee-3d",
type: "registry:example",
registryDependencies: ["marquee"],
files: ["registry/default/example/marquee-3d.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/marquee-3d.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/marquee-3d.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"globe-demo": {
name: "globe-demo",
type: "registry:example",
registryDependencies: ["globe"],
files: ["registry/default/example/globe-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/globe-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/globe-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"tweet-card-demo": {
name: "tweet-card-demo",
type: "registry:example",
registryDependencies: ["tweet-card"],
files: ["registry/default/example/tweet-card-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/tweet-card-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/tweet-card-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"tweet-card-images": {
name: "tweet-card-images",
type: "registry:example",
registryDependencies: ["tweet-card"],
files: ["registry/default/example/tweet-card-images.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/tweet-card-images.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/tweet-card-images.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"tweet-card-meta-preview": {
name: "tweet-card-meta-preview",
type: "registry:example",
registryDependencies: ["tweet-card"],
files: ["registry/default/example/tweet-card-meta-preview.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/tweet-card-meta-preview.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/tweet-card-meta-preview.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shimmer-button-demo": {
name: "shimmer-button-demo",
type: "registry:example",
registryDependencies: ["shimmer-button"],
files: ["registry/default/example/shimmer-button-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/shimmer-button-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/shimmer-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"bento-demo": {
name: "bento-demo",
type: "registry:example",
- registryDependencies: [
- "bento-grid",
- "marquee",
- "animated-list-demo",
- "animated-beam-multiple-outputs",
- "shadcn:command",
- "shadcn:calendar",
- ],
+ registryDependencies: ["bento-grid","marquee","animated-list-demo","animated-beam-multiple-outputs","shadcn:command","shadcn:calendar"],
files: ["registry/default/example/bento-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/bento-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/bento-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"bento-demo-vertical": {
name: "bento-demo-vertical",
type: "registry:example",
registryDependencies: ["bento-grid"],
files: ["registry/default/example/bento-demo-vertical.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/bento-demo-vertical.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/bento-demo-vertical.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"number-ticker-demo": {
name: "number-ticker-demo",
type: "registry:example",
registryDependencies: ["number-ticker"],
files: ["registry/default/example/number-ticker-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/number-ticker-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/number-ticker-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"number-ticker-decimal-demo": {
name: "number-ticker-decimal-demo",
type: "registry:example",
registryDependencies: ["number-ticker"],
files: ["registry/default/example/number-ticker-decimal-demo.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/number-ticker-decimal-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/number-ticker-decimal-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"ripple-demo": {
name: "ripple-demo",
type: "registry:example",
registryDependencies: ["ripple"],
files: ["registry/default/example/ripple-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/ripple-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/ripple-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"retro-grid-demo": {
name: "retro-grid-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/retro-grid-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/retro-grid-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/retro-grid-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-list-demo": {
name: "animated-list-demo",
type: "registry:example",
registryDependencies: ["animated-list"],
files: ["registry/default/example/animated-list-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/animated-list-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-list-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-shiny-text-demo": {
name: "animated-shiny-text-demo",
type: "registry:example",
registryDependencies: ["animated-shiny-text"],
files: ["registry/default/example/animated-shiny-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/animated-shiny-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-shiny-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"particles-demo": {
name: "particles-demo",
type: "registry:example",
registryDependencies: ["particles"],
files: ["registry/default/example/particles-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/particles-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/particles-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-grid-pattern-demo": {
name: "animated-grid-pattern-demo",
type: "registry:example",
registryDependencies: ["animated-grid-pattern"],
files: ["registry/default/example/animated-grid-pattern-demo.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/animated-grid-pattern-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-grid-pattern-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"border-beam-demo": {
name: "border-beam-demo",
type: "registry:example",
registryDependencies: ["border-beam"],
files: ["registry/default/example/border-beam-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/border-beam-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/border-beam-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam-demo": {
name: "animated-beam-demo",
type: "registry:example",
registryDependencies: ["animated-beam"],
files: ["registry/default/example/animated-beam-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/animated-beam-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-beam-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam-unidirectional": {
name: "animated-beam-unidirectional",
type: "registry:example",
registryDependencies: ["animated-beam"],
files: ["registry/default/example/animated-beam-unidirectional.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/animated-beam-unidirectional.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-beam-unidirectional.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam-bidirectional": {
name: "animated-beam-bidirectional",
type: "registry:example",
registryDependencies: ["animated-beam"],
files: ["registry/default/example/animated-beam-bidirectional.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/animated-beam-bidirectional.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-beam-bidirectional.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam-multiple-inputs": {
name: "animated-beam-multiple-inputs",
type: "registry:example",
registryDependencies: ["animated-beam"],
files: ["registry/default/example/animated-beam-multiple-inputs.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/animated-beam-multiple-inputs.tsx"
- ),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-beam-multiple-inputs.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-beam-multiple-outputs": {
name: "animated-beam-multiple-outputs",
type: "registry:example",
registryDependencies: ["animated-beam"],
files: ["registry/default/example/animated-beam-multiple-outputs.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/animated-beam-multiple-outputs.tsx"
- ),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-beam-multiple-outputs.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"text-reveal-demo": {
name: "text-reveal-demo",
type: "registry:example",
registryDependencies: ["text-reveal"],
files: ["registry/default/example/text-reveal-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/text-reveal-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/text-reveal-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-gradient-text-demo": {
name: "animated-gradient-text-demo",
type: "registry:example",
registryDependencies: ["animated-gradient-text"],
files: ["registry/default/example/animated-gradient-text-demo.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/animated-gradient-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-gradient-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"orbiting-circles-demo": {
name: "orbiting-circles-demo",
type: "registry:example",
registryDependencies: ["orbiting-circles"],
files: ["registry/default/example/orbiting-circles-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/orbiting-circles-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/orbiting-circles-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dock-demo": {
name: "dock-demo",
type: "registry:example",
registryDependencies: ["dock"],
files: ["registry/default/example/dock-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/dock-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/dock-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dock-demo-2": {
name: "dock-demo-2",
type: "registry:example",
registryDependencies: ["dock"],
files: ["registry/default/example/dock-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/dock-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/dock-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"dock-demo-3": {
name: "dock-demo-3",
type: "registry:example",
registryDependencies: ["dock"],
files: ["registry/default/example/dock-demo-3.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/dock-demo-3.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/dock-demo-3.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-rotate-demo": {
name: "word-rotate-demo",
type: "registry:example",
registryDependencies: ["word-rotate"],
files: ["registry/default/example/word-rotate-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/word-rotate-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/word-rotate-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"hyper-text-demo": {
name: "hyper-text-demo",
type: "registry:example",
registryDependencies: ["hyper-text"],
files: ["registry/default/example/hyper-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/hyper-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/hyper-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"avatar-circles-demo": {
name: "avatar-circles-demo",
type: "registry:example",
registryDependencies: ["avatar-circles"],
files: ["registry/default/example/avatar-circles-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/avatar-circles-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/avatar-circles-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-pull-up-demo": {
name: "word-pull-up-demo",
type: "registry:example",
registryDependencies: ["word-pull-up"],
files: ["registry/default/example/word-pull-up-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/word-pull-up-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/word-pull-up-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"typing-animation-demo": {
name: "typing-animation-demo",
type: "registry:example",
registryDependencies: ["typing-animation"],
files: ["registry/default/example/typing-animation-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/typing-animation-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/typing-animation-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"blur-in-demo": {
name: "blur-in-demo",
type: "registry:example",
registryDependencies: ["blur-in"],
files: ["registry/default/example/blur-in-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/blur-in-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/blur-in-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scroll-based-velocity-demo": {
name: "scroll-based-velocity-demo",
type: "registry:example",
registryDependencies: ["scroll-based-velocity"],
files: ["registry/default/example/scroll-based-velocity-demo.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/scroll-based-velocity-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/scroll-based-velocity-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"scratch-to-reveal-demo": {
name: "scratch-to-reveal-demo",
type: "registry:example",
registryDependencies: ["scratch-to-reveal"],
files: ["registry/default/example/scratch-to-reveal-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/scratch-to-reveal-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/scratch-to-reveal-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"letter-pullup-demo": {
name: "letter-pullup-demo",
type: "registry:example",
registryDependencies: ["letter-pullup"],
files: ["registry/default/example/letter-pullup-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/letter-pullup-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/letter-pullup-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"flip-text-demo": {
name: "flip-text-demo",
type: "registry:example",
registryDependencies: ["flip-text"],
files: ["registry/default/example/flip-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/flip-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/flip-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"sparkles-text-demo": {
name: "sparkles-text-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/sparkles-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/sparkles-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/sparkles-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"icon-cloud-demo": {
name: "icon-cloud-demo",
type: "registry:example",
registryDependencies: ["icon-cloud"],
files: ["registry/default/example/icon-cloud-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/icon-cloud-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/icon-cloud-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"icon-cloud-demo-2": {
name: "icon-cloud-demo-2",
type: "registry:example",
registryDependencies: ["icon-cloud"],
files: ["registry/default/example/icon-cloud-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/icon-cloud-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/icon-cloud-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"gradual-spacing-demo": {
name: "gradual-spacing-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/gradual-spacing-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/gradual-spacing-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/gradual-spacing-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"word-fade-in-demo": {
name: "word-fade-in-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/word-fade-in-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/word-fade-in-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/word-fade-in-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"fade-text-demo": {
name: "fade-text-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/fade-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/fade-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/fade-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shiny-button-demo": {
name: "shiny-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/shiny-button-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/shiny-button-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/shiny-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"box-reveal-demo": {
name: "box-reveal-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/box-reveal-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/box-reveal-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/box-reveal-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-circular-progress-bar-demo": {
name: "animated-circular-progress-bar-demo",
type: "registry:example",
registryDependencies: undefined,
- files: [
- "registry/default/example/animated-circular-progress-bar-demo.tsx",
- ],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/animated-circular-progress-bar-demo.tsx"
- ),
- ),
+ files: ["registry/default/example/animated-circular-progress-bar-demo.tsx"],
+ component: React.lazy(() => import("@/registry/default/example/animated-circular-progress-bar-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shine-border-demo": {
name: "shine-border-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/shine-border-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/shine-border-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/shine-border-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"shine-border-demo-2": {
name: "shine-border-demo-2",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/shine-border-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/shine-border-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/shine-border-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-demo": {
name: "confetti-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-basic-cannon": {
name: "confetti-basic-cannon",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-basic-cannon.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-basic-cannon.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-basic-cannon.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-random-direction": {
name: "confetti-random-direction",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-random-direction.tsx"],
- component: React.lazy(
- () =>
- import("@/registry/default/example/confetti-random-direction.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-random-direction.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-fireworks": {
name: "confetti-fireworks",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-fireworks.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-fireworks.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-fireworks.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-stars": {
name: "confetti-stars",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-stars.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-stars.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-stars.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-side-cannons": {
name: "confetti-side-cannons",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-side-cannons.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-side-cannons.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-side-cannons.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-custom-shapes": {
name: "confetti-custom-shapes",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-custom-shapes.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-custom-shapes.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-custom-shapes.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"confetti-emoji": {
name: "confetti-emoji",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/confetti-emoji.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/confetti-emoji.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/confetti-emoji.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"animated-subscribe-button-demo": {
name: "animated-subscribe-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/animated-subscribe-button-demo.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/animated-subscribe-button-demo.tsx"
- ),
- ),
+ component: React.lazy(() => import("@/registry/default/example/animated-subscribe-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"cool-mode-demo": {
name: "cool-mode-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/cool-mode-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/cool-mode-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/cool-mode-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"cool-mode-custom": {
name: "cool-mode-custom",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/cool-mode-custom.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/cool-mode-custom.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/cool-mode-custom.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"pulsating-button-demo": {
name: "pulsating-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/pulsating-button-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/pulsating-button-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/pulsating-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"ripple-button-demo": {
name: "ripple-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/ripple-button-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/ripple-button-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/ripple-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"file-tree-demo": {
name: "file-tree-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/file-tree-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/file-tree-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/file-tree-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"blur-fade-demo": {
name: "blur-fade-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/blur-fade-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/blur-fade-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/blur-fade-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"blur-fade-text-demo": {
name: "blur-fade-text-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/blur-fade-text-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/blur-fade-text-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/blur-fade-text-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"safari-demo": {
name: "safari-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/safari-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/safari-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/safari-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"safari-demo-2": {
name: "safari-demo-2",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/safari-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/safari-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/safari-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"safari-demo-3": {
name: "safari-demo-3",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/safari-demo-3.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/safari-demo-3.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/safari-demo-3.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"iphone-15-pro-demo": {
name: "iphone-15-pro-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/iphone-15-pro-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/iphone-15-pro-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/iphone-15-pro-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"iphone-15-pro-demo-2": {
name: "iphone-15-pro-demo-2",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/iphone-15-pro-demo-2.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/iphone-15-pro-demo-2.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/iphone-15-pro-demo-2.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"iphone-15-pro-demo-3": {
name: "iphone-15-pro-demo-3",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/iphone-15-pro-demo-3.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/iphone-15-pro-demo-3.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/iphone-15-pro-demo-3.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"rainbow-button-demo": {
name: "rainbow-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/rainbow-button-demo.tsx"],
- component: React.lazy(
- () => import("@/registry/default/example/rainbow-button-demo.tsx"),
- ),
+ component: React.lazy(() => import("@/registry/default/example/rainbow-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
"interactive-hover-button-demo": {
name: "interactive-hover-button-demo",
type: "registry:example",
registryDependencies: undefined,
files: ["registry/default/example/interactive-hover-button-demo.tsx"],
- component: React.lazy(
- () =>
- import(
- "@/registry/default/example/interactive-hover-button-demo.tsx"
- ),
- ),
+ component: React.lazy(() => import("@/registry/default/example/interactive-hover-button-demo.tsx")),
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
- utils: {
+ "utils": {
name: "utils",
type: "registry:lib",
registryDependencies: undefined,
@@ -2114,7 +1752,7 @@ export const Index: Record<string, any> = {
source: "",
category: "undefined",
subcategory: "undefined",
- chunks: [],
+ chunks: []
},
},
-};
+}
diff --git a/config/docs.ts b/config/docs.ts
index 47302d49..d720fe25 100644
--- a/config/docs.ts
+++ b/config/docs.ts
@@ -207,12 +207,7 @@ export const docsConfig: DocsConfig = {
items: [],
label: "New",
},
- {
- title: "Scratch To Reveal",
- href: `/docs/components/scratch-to-reveal`,
- items: [],
- label: "New",
- },
+
],
},
{
@@ -291,6 +286,12 @@ export const docsConfig: DocsConfig = {
items: [],
label: "",
},
+ {
+ title: "Scratch To Reveal",
+ href: `/docs/components/scratch-to-reveal`,
+ items: [],
+ label: "New",
+ },
{
title: "Scroll Progress",
href: `/docs/components/scroll-progress`,
@@ -308,12 +309,7 @@ export const docsConfig: DocsConfig = {
items: [],
label: "",
},
- {
- title: "Warp Animation Container",
- href: `/docs/components/warp-animation-container`,
- items: [],
- label: "New",
- },
+
],
},
{
@@ -434,7 +430,7 @@ export const docsConfig: DocsConfig = {
title: "Rainbow Button",
href: `/docs/components/rainbow-button`,
items: [],
- label: "New",
+ label: "",
},
{
title: "Shimmer Button",
@@ -451,7 +447,7 @@ export const docsConfig: DocsConfig = {
title: "Interactive Hover Button",
href: `/docs/components/interactive-hover-button`,
items: [],
- label: "New",
+ label: "",
},
{
title: "Animated Subscribe Button",
@@ -476,6 +472,12 @@ export const docsConfig: DocsConfig = {
{
title: "Backgrounds",
items: [
+ {
+ title: "Warp Animation Container",
+ href: `/docs/components/warp-animation-container`,
+ items: [],
+ label: "New",
+ },
{
title: "Flickering Grid",
href: `/docs/components/flickering-grid`,
diff --git a/content/docs/components/warp-animation-container.mdx b/content/docs/components/warp-background.mdx
similarity index 88%
rename from content/docs/components/warp-animation-container.mdx
rename to content/docs/components/warp-background.mdx
index ff0bebd0..48a05763 100644
--- a/content/docs/components/warp-animation-container.mdx
+++ b/content/docs/components/warp-background.mdx
@@ -1,12 +1,12 @@
---
-title: Warp Animation Container
+title: Warp Background
date: 2024-12-24
description: A container component that applies a warp animation effect to its children
author: magicui
published: true
---
-<ComponentPreview name="warp-animation-container-demo" />
+<ComponentPreview name="warp-background-demo" />
## Installation
@@ -19,7 +19,7 @@ published: true
<TabsContent value="cli">
```bash
-npx shadcn@latest add "https://magicui.design/r/warp-animation-container"
+npx shadcn@latest add "https://magicui.design/r/warp-background"
```
</TabsContent>
@@ -30,7 +30,7 @@ npx shadcn@latest add "https://magicui.design/r/warp-animation-container"
<Step>Copy and paste the following code into your project.</Step>
-<ComponentSource name="warp-animation-container" />
+<ComponentSource name="warp-background" />
<Step>Update the import paths to match your project setup.</Step>
diff --git a/public/r/index.json b/public/r/index.json
index fe610e8d..c450f46d 100644
--- a/public/r/index.json
+++ b/public/r/index.json
@@ -23,14 +23,14 @@
]
},
{
- "name": "warp-animation-container",
+ "name": "warp-background",
"type": "registry:ui",
"dependencies": [
"framer-motion"
],
"files": [
{
- "path": "magicui/warp-animation-container.tsx",
+ "path": "magicui/warp-background.tsx",
"type": "registry:ui"
}
]
diff --git a/public/r/styles/default/warp-animation-container.json b/public/r/styles/default/warp-animation-container.json
deleted file mode 100644
index 4cbc958b..00000000
--- a/public/r/styles/default/warp-animation-container.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "warp-animation-container",
- "type": "registry:ui",
- "dependencies": [
- "framer-motion"
- ],
- "files": [
- {
- "path": "magicui/warp-animation-container.tsx",
- "content": "import { cn } from \"@/lib/utils\";\nimport { motion } from \"framer-motion\";\nimport React, { HTMLAttributes, useCallback, useMemo } from \"react\";\n\ninterface WarpAnimationContainerProps extends HTMLAttributes<HTMLDivElement> {\n children: React.ReactNode;\n perspective?: number;\n beamsPerSide?: number;\n beamSize?: number;\n beamDelayMax?: number;\n beamDelayMin?: number;\n beamDuration?: number;\n gridColor?: string;\n}\n\nconst Beam = ({\n width,\n x,\n delay,\n duration,\n}: {\n width: string | number;\n x: string | number;\n delay: number;\n duration: number;\n}) => {\n const hue = Math.floor(Math.random() * 360);\n const ar = Math.floor(Math.random() * 10) + 1;\n\n return (\n <motion.div\n className={`absolute top-0`}\n style={{\n left: x,\n width,\n aspectRatio: 1 / ar,\n background: `linear-gradient(hsl(${hue} 80% 60%), transparent)`,\n }}\n initial={{ y: \"100cqmax\", x: \"-50%\" }}\n animate={{ y: \"-100%\", x: \"-50%\" }}\n transition={{\n duration,\n delay,\n repeat: Infinity,\n ease: \"linear\",\n }}\n />\n );\n};\n\nconst WarpAnimationContainer: React.FC<WarpAnimationContainerProps> = ({\n children,\n perspective = 100,\n className,\n beamsPerSide = 3,\n beamSize = 5,\n beamDelayMax = 3,\n beamDelayMin = 0,\n beamDuration = 3,\n gridColor = \"hsl(var(--border))\",\n ...props\n}) => {\n const generateBeams = useCallback(() => {\n const beams = [];\n const cellsPerSide = Math.floor(100 / beamSize);\n const step = cellsPerSide / beamsPerSide;\n\n for (let i = 0; i < beamsPerSide; i++) {\n const x = Math.floor(i * step);\n const delay =\n Math.random() * (beamDelayMax - beamDelayMin) + beamDelayMin;\n beams.push({ x, delay });\n }\n return beams;\n }, [beamsPerSide, beamSize, beamDelayMax, beamDelayMin]);\n\n const topBeams = useMemo(() => generateBeams(), [generateBeams]);\n const rightBeams = useMemo(() => generateBeams(), [generateBeams]);\n const bottomBeams = useMemo(() => generateBeams(), [generateBeams]);\n const leftBeams = useMemo(() => generateBeams(), [generateBeams]);\n\n return (\n <div className={cn(\"relative rounded border p-20\", className)} {...props}>\n <div\n style={\n {\n \"--perspective\": `${perspective}px`,\n \"--grid-color\": gridColor,\n \"--beam-size\": `${beamSize}%`,\n } as React.CSSProperties\n }\n className={\n \"pointer-events-none absolute left-0 top-0 size-full overflow-hidden [clip-path:inset(0)] [container-type:size] [perspective:var(--perspective)] [transform-style:preserve-3d]\"\n }\n >\n <div\n style={{\n position: \"absolute\",\n transformStyle: \"preserve-3d\",\n containerType: \"inline-size\",\n width: \"100cqi\",\n height: \"100cqmax\",\n transformOrigin: \"50% 0%\",\n transform: \"rotateX(-90deg)\",\n backgroundSize: `var(--beam-size) var(--beam-size)`,\n background: `\n linear-gradient(var(--grid-color) 0 1px, transparent 1px var(--beam-size)) 50% -0.5px /\n var(--beam-size) var(--beam-size),\n linear-gradient(90deg, var(--grid-color) 0 1px, transparent 1px var(--beam-size))\n 50% 50% / var(--beam-size) var(--beam-size)\n `,\n }}\n >\n {topBeams.map((beam, index) => (\n <Beam\n key={`top-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n <div\n style={{\n position: \"absolute\",\n transformStyle: \"preserve-3d\",\n containerType: \"inline-size\",\n width: \"100cqi\",\n height: \"100cqmax\",\n top: \"100%\",\n transformOrigin: \"50% 0%\",\n transform: \"rotateX(-90deg)\",\n backgroundSize: `var(--beam-size) var(--beam-size)`,\n background: `\n linear-gradient(var(--grid-color) 0 1px, transparent 1px var(--beam-size)) 50% -0.5px /\n var(--beam-size) var(--beam-size),\n linear-gradient(90deg, var(--grid-color) 0 1px, transparent 1px var(--beam-size))\n 50% 50% / var(--beam-size) var(--beam-size)\n `,\n }}\n >\n {bottomBeams.map((beam, index) => (\n <Beam\n key={`bottom-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n <div\n style={{\n position: \"absolute\",\n transformStyle: \"preserve-3d\",\n containerType: \"inline-size\",\n width: \"100cqh\",\n height: \"100cqmax\",\n top: 0,\n left: 0,\n transformOrigin: \"0% 0%\",\n transform: \"rotate(90deg) rotateX(-90deg)\",\n backgroundSize: `var(--beam-size) var(--beam-size)`,\n background: `\n linear-gradient(var(--grid-color) 0 1px, transparent 1px var(--beam-size)) 50% -0.5px /\n var(--beam-size) var(--beam-size),\n linear-gradient(90deg, var(--grid-color) 0 1px, transparent 1px var(--beam-size))\n 50% 50% / var(--beam-size) var(--beam-size)\n `,\n }}\n >\n {leftBeams.map((beam, index) => (\n <Beam\n key={`left-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n <div\n style={{\n position: \"absolute\",\n transformStyle: \"preserve-3d\",\n containerType: \"inline-size\",\n width: \"100cqh\",\n height: \"100cqmax\",\n top: 0,\n right: 0,\n transformOrigin: \"100% 0%\",\n transform: \"rotate(-90deg) rotateX(-90deg)\",\n backgroundSize: `var(--beam-size) var(--beam-size)`,\n background: `\n linear-gradient(var(--grid-color) 0 1px, transparent 1px var(--beam-size)) 50% -0.5px /\n var(--beam-size) var(--beam-size),\n linear-gradient(90deg, var(--grid-color) 0 1px, transparent 1px var(--beam-size))\n 50% 50% / var(--beam-size) var(--beam-size)\n `,\n }}\n >\n {rightBeams.map((beam, index) => (\n <Beam\n key={`right-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n </div>\n <div className=\"relative\">{children}</div>\n </div>\n );\n};\n\nexport default WarpAnimationContainer;\n",
- "type": "registry:ui",
- "target": ""
- }
- ]
-}
\ No newline at end of file
diff --git a/public/r/styles/default/warp-background.json b/public/r/styles/default/warp-background.json
new file mode 100644
index 00000000..7750209a
--- /dev/null
+++ b/public/r/styles/default/warp-background.json
@@ -0,0 +1,15 @@
+{
+ "name": "warp-background",
+ "type": "registry:ui",
+ "dependencies": [
+ "framer-motion"
+ ],
+ "files": [
+ {
+ "path": "magicui/warp-background.tsx",
+ "content": "import { cn } from \"@/lib/utils\";\nimport { motion } from \"framer-motion\";\nimport React, { HTMLAttributes, useCallback, useMemo } from \"react\";\n\ninterface WarpBackgroundProps extends HTMLAttributes<HTMLDivElement> {\n children: React.ReactNode;\n perspective?: number;\n beamsPerSide?: number;\n beamSize?: number;\n beamDelayMax?: number;\n beamDelayMin?: number;\n beamDuration?: number;\n gridColor?: string;\n}\n\nconst Beam = ({\n width,\n x,\n delay,\n duration,\n}: {\n width: string | number;\n x: string | number;\n delay: number;\n duration: number;\n}) => {\n const hue = Math.floor(Math.random() * 360);\n const ar = Math.floor(Math.random() * 10) + 1;\n\n return (\n <motion.div\n style={\n {\n \"--x\": `${x}`,\n \"--width\": `${width}`,\n \"--aspect-ratio\": `${ar}`,\n \"--background\": `linear-gradient(hsl(${hue} 80% 60%), transparent)`,\n } as React.CSSProperties\n }\n className={`absolute left-[var(--x)] top-0 [aspect-ratio:1/var(--aspect-ratio)] [background:var(--background)] [width:var(--width)]`}\n initial={{ y: \"100cqmax\", x: \"-50%\" }}\n animate={{ y: \"-100%\", x: \"-50%\" }}\n transition={{\n duration,\n delay,\n repeat: Infinity,\n ease: \"linear\",\n }}\n />\n );\n};\n\nexport const WarpBackground: React.FC<WarpBackgroundProps> = ({\n children,\n perspective = 100,\n className,\n beamsPerSide = 3,\n beamSize = 5,\n beamDelayMax = 3,\n beamDelayMin = 0,\n beamDuration = 3,\n gridColor = \"hsl(var(--border))\",\n ...props\n}) => {\n const generateBeams = useCallback(() => {\n const beams = [];\n const cellsPerSide = Math.floor(100 / beamSize);\n const step = cellsPerSide / beamsPerSide;\n\n for (let i = 0; i < beamsPerSide; i++) {\n const x = Math.floor(i * step);\n const delay =\n Math.random() * (beamDelayMax - beamDelayMin) + beamDelayMin;\n beams.push({ x, delay });\n }\n return beams;\n }, [beamsPerSide, beamSize, beamDelayMax, beamDelayMin]);\n\n const topBeams = useMemo(() => generateBeams(), [generateBeams]);\n const rightBeams = useMemo(() => generateBeams(), [generateBeams]);\n const bottomBeams = useMemo(() => generateBeams(), [generateBeams]);\n const leftBeams = useMemo(() => generateBeams(), [generateBeams]);\n\n return (\n <div className={cn(\"relative rounded border p-20\", className)} {...props}>\n <div\n style={\n {\n \"--perspective\": `${perspective}px`,\n \"--grid-color\": gridColor,\n \"--beam-size\": `${beamSize}%`,\n } as React.CSSProperties\n }\n className={\n \"pointer-events-none absolute left-0 top-0 size-full overflow-hidden [clip-path:inset(0)] [container-type:size] [perspective:var(--perspective)] [transform-style:preserve-3d]\"\n }\n >\n {/* top side */}\n <div className=\"absolute [transform-style:preserve-3d] [background-size:var(--beam-size)_var(--beam-size)] [background:linear-gradient(var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_-0.5px_/var(--beam-size)_var(--beam-size),linear-gradient(90deg,_var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_50%_/var(--beam-size)_var(--beam-size)] [container-type:inline-size] [height:100cqmax] [transform-origin:50%_0%] [transform:rotateX(-90deg)] [width:100cqi]\">\n {topBeams.map((beam, index) => (\n <Beam\n key={`top-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n {/* bottom side */}\n <div className=\"absolute top-full [transform-style:preserve-3d] [background-size:var(--beam-size)_var(--beam-size)] [background:linear-gradient(var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_-0.5px_/var(--beam-size)_var(--beam-size),linear-gradient(90deg,_var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_50%_/var(--beam-size)_var(--beam-size)] [container-type:inline-size] [height:100cqmax] [transform-origin:50%_0%] [transform:rotateX(-90deg)] [width:100cqi]\">\n {bottomBeams.map((beam, index) => (\n <Beam\n key={`bottom-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n {/* left side */}\n <div className=\"absolute left-0 top-0 [transform-style:preserve-3d] [background-size:var(--beam-size)_var(--beam-size)] [background:linear-gradient(var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_-0.5px_/var(--beam-size)_var(--beam-size),linear-gradient(90deg,_var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_50%_/var(--beam-size)_var(--beam-size)] [container-type:inline-size] [height:100cqmax] [transform-origin:0%_0%] [transform:rotate(90deg)_rotateX(-90deg)] [width:100cqh]\">\n {leftBeams.map((beam, index) => (\n <Beam\n key={`left-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n {/* right side */}\n <div className=\"absolute right-0 top-0 [transform-style:preserve-3d] [background-size:var(--beam-size)_var(--beam-size)] [background:linear-gradient(var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_-0.5px_/var(--beam-size)_var(--beam-size),linear-gradient(90deg,_var(--grid-color)_0_1px,_transparent_1px_var(--beam-size))_50%_50%_/var(--beam-size)_var(--beam-size)] [container-type:inline-size] [height:100cqmax] [width:100cqh] [transform-origin:100%_0%] [transform:rotate(-90deg)_rotateX(-90deg)]\">\n {rightBeams.map((beam, index) => (\n <Beam\n key={`right-${index}`}\n width={`${beamSize}%`}\n x={`${beam.x * beamSize}%`}\n delay={beam.delay}\n duration={beamDuration}\n />\n ))}\n </div>\n </div>\n <div className=\"relative\">{children}</div>\n </div>\n );\n};\n",
+ "type": "registry:ui",
+ "target": ""
+ }
+ ]
+}
\ No newline at end of file
diff --git a/registry/default/example/warp-animation-container-demo.tsx b/registry/default/example/warp-animation-container-demo.tsx
deleted file mode 100644
index ff59ab87..00000000
--- a/registry/default/example/warp-animation-container-demo.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import {
- Card,
- CardContent,
- CardDescription,
- CardTitle,
-} from "@/components/ui/card";
-import WarpAnimationContainer from "@/components/magicui/warp-animation-container";
-
-export default function ExampleComponentDemo() {
- return (
- <div className="grid place-items-center">
- <WarpAnimationContainer className="bg-background">
- <Card className="w-80">
- <CardContent className="flex flex-col gap-2 p-4">
- <CardTitle>Congratulations on Your Promotion!</CardTitle>
- <CardDescription>
- Your hard work and dedication have paid off. We&apos;re thrilled
- to see you take this next step in your career. Keep up the
- fantastic work!
- </CardDescription>
- </CardContent>
- </Card>
- </WarpAnimationContainer>
- </div>
- );
-}
diff --git a/registry/default/example/warp-background-demo.tsx b/registry/default/example/warp-background-demo.tsx
new file mode 100644
index 00000000..46b708cd
--- /dev/null
+++ b/registry/default/example/warp-background-demo.tsx
@@ -0,0 +1,24 @@
+import { WarpBackground } from "@/components/magicui/warp-background";
+import {
+ Card,
+ CardContent,
+ CardDescription,
+ CardTitle,
+} from "@/components/ui/card";
+
+export default function ExampleComponentDemo() {
+ return (
+ <WarpBackground>
+ <Card className="w-80">
+ <CardContent className="flex flex-col gap-2 p-4">
+ <CardTitle>Congratulations on Your Promotion!</CardTitle>
+ <CardDescription>
+ Your hard work and dedication have paid off. We&apos;re thrilled to
+ see you take this next step in your career. Keep up the fantastic
+ work!
+ </CardDescription>
+ </CardContent>
+ </Card>
+ </WarpBackground>
+ );
+}
diff --git a/registry/default/magicui/warp-animation-container.tsx b/registry/default/magicui/warp-background.tsx
similarity index 93%
rename from registry/default/magicui/warp-animation-container.tsx
rename to registry/default/magicui/warp-background.tsx
index 65b718d1..966f1ef2 100644
--- a/registry/default/magicui/warp-animation-container.tsx
+++ b/registry/default/magicui/warp-background.tsx
@@ -2,7 +2,7 @@ import { cn } from "@/lib/utils";
import { motion } from "framer-motion";
import React, { HTMLAttributes, useCallback, useMemo } from "react";
-interface WarpAnimationContainerProps extends HTMLAttributes<HTMLDivElement> {
+interface WarpBackgroundProps extends HTMLAttributes<HTMLDivElement> {
children: React.ReactNode;
perspective?: number;
beamsPerSide?: number;
@@ -29,14 +29,14 @@ const Beam = ({
return (
<motion.div
- style={
- {
- "--x": `${x}`,
- "--width": `${width}`,
- "--aspect-ratio": `${ar}`,
- "--background": `linear-gradient(hsl(${hue} 80% 60%), transparent)`,
- } as React.CSSProperties
- }
+ style={
+ {
+ "--x": `${x}`,
+ "--width": `${width}`,
+ "--aspect-ratio": `${ar}`,
+ "--background": `linear-gradient(hsl(${hue} 80% 60%), transparent)`,
+ } as React.CSSProperties
+ }
className={`absolute left-[var(--x)] top-0 [aspect-ratio:1/var(--aspect-ratio)] [background:var(--background)] [width:var(--width)]`}
initial={{ y: "100cqmax", x: "-50%" }}
animate={{ y: "-100%", x: "-50%" }}
@@ -50,7 +50,7 @@ const Beam = ({
);
};
-const WarpAnimationContainer: React.FC<WarpAnimationContainerProps> = ({
+export const WarpBackground: React.FC<WarpBackgroundProps> = ({
children,
perspective = 100,
className,
@@ -148,5 +148,3 @@ const WarpAnimationContainer: React.FC<WarpAnimationContainerProps> = ({
</div>
);
};
-
-export default WarpAnimationContainer;
diff --git a/registry/registry-examples.ts b/registry/registry-examples.ts
index d8e7825e..cb291e1b 100644
--- a/registry/registry-examples.ts
+++ b/registry/registry-examples.ts
@@ -26,10 +26,10 @@ export const examples: Registry = [
files: ["example/android-demo-3.tsx"],
},
{
- name: "warp-animation-container-demo",
+ name: "warp-background-demo",
type: "registry:example",
- registryDependencies: ["warp-animation-container"],
- files: ["example/warp-animation-container-demo.tsx"],
+ registryDependencies: ["warp-background"],
+ files: ["example/warp-background-demo.tsx"],
},
{
name: "morphing-text-demo",
diff --git a/registry/registry-ui.ts b/registry/registry-ui.ts
index 74733d96..089b7122 100644
--- a/registry/registry-ui.ts
+++ b/registry/registry-ui.ts
@@ -13,10 +13,10 @@ export const ui: Registry = [
files: ["magicui/android.tsx"],
},
{
- name: "warp-animation-container",
+ name: "warp-background",
type: "registry:ui",
dependencies: ["framer-motion"],
- files: ["magicui/warp-animation-container.tsx"],
+ files: ["magicui/warp-background.tsx"],
},
{
name: "morphing-text",