UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
🐛 fix: entire site layout and style changes
Dillion Verma028bd3f6bebe
diff --git a/app/(docs)/components/[slug]/layout.tsx b/app/(docs)/components/[slug]/layout.tsxindex 8e1e0341..97f6187a 100644--- a/app/(docs)/components/[slug]/layout.tsx+++ b/app/(docs)/components/[slug]/layout.tsx@@ -1,6 +1,7 @@import { DocsSidebarNav } from "@/components/sidebar-nav";import { ScrollArea } from "@/components/ui/scroll-area";import { docsConfig } from "@/config/docs";+import { cn } from "@/lib/utils";interface DocsLayoutProps {children: React.ReactNode;@@ -8,7 +9,12 @@ interface DocsLayoutProps {export default function DocsLayout({ children }: DocsLayoutProps) {return (- <div className="flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[240px_minmax(0,1fr)] lg:gap-10">+ <div+ className={cn(+ "flex-1 items-start md:grid md:gap-6 lg:gap-10",+ "md:grid-cols-[220px_minmax(0,1fr)] lg:grid-cols-[240px_minmax(0,1fr)]",+ )}+ ><aside className="fixed top-14 z-30 -ml-2 hidden h-[calc(100vh-3.5rem)] w-full shrink-0 md:sticky md:block"><ScrollArea className="h-full py-6 pl-8 pr-6 lg:py-8"><DocsSidebarNav items={docsConfig.sidebarNav} />diff --git a/app/(docs)/components/[slug]/page.tsx b/app/(docs)/components/[slug]/page.tsxindex 6ec7756b..c653e076 100644--- a/app/(docs)/components/[slug]/page.tsx+++ b/app/(docs)/components/[slug]/page.tsx@@ -1,6 +1,3 @@-import Facebook from "@/components/icons/facebook";-import LinkedIn from "@/components/icons/linkedin";-import Twitter from "@/components/icons/twitter";import { Mdx } from "@/components/mdx-components";import { DashboardTableOfContents } from "@/components/toc";import { ScrollArea } from "@/components/ui/scroll-area";@@ -119,7 +116,7 @@ export default async function Component({ params }: Props) {)}</div>- <div className="mt-4 flex items-center justify-between">+ {/* <div className="mt-4 flex items-center justify-between"><div className="flex items-center space-x-6"><Linkhref={`https://twitter.com/intent/tweet?text=${component.title}&url=magicuikit.com/components/${component.slugAsParams}&via=${component.author}`}@@ -144,7 +141,7 @@ export default async function Component({ params }: Props) {<Facebook className="h-6 w-6" /></Link></div>- </div>+ </div> */}<Mdx code={component.body.code} /></div>diff --git a/app/(docs)/layout.tsx b/app/(docs)/layout.tsxindex 501c1cb5..28892095 100644--- a/app/(docs)/layout.tsx+++ b/app/(docs)/layout.tsx@@ -29,7 +29,7 @@ export default async function MarketingLayout({x={-1}y={-1}className={cn(- "absolute inset-0 h-screen w-screen fill-black/[.06] stroke-black/[.06] dark:fill-white/[.06] dark:stroke-white/[.06]",+ "absolute inset-0 h-screen w-screen fill-black/[.03] stroke-black/[.03] dark:fill-white/[.03] dark:stroke-white/[.03]","-z-50 [mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)]","inset-x-0 -top-[1rem] -z-50 h-[80%] skew-y-12",)}diff --git a/components/component-preview.tsx b/components/component-preview.tsxindex be43f9e2..ef55a922 100644--- a/components/component-preview.tsx+++ b/components/component-preview.tsx@@ -40,7 +40,10 @@ export function ComponentPreview({return (<div- className={cn("relative my-4 flex flex-col space-y-2", className)}+ className={cn(+ "relative my-4 flex flex-col space-y-2 lg:w-[100ch]",+ className,+ )}{...props}><Tabs defaultValue="preview" className="relative mr-auto w-full">diff --git a/components/mdx-components.tsx b/components/mdx-components.tsxindex 2fc9678a..1739c852 100644--- a/components/mdx-components.tsx+++ b/components/mdx-components.tsx@@ -130,6 +130,7 @@ export function Mdx({ code }: MDXProps) {return (<articleclassName={cn(+ "max-w-[100ch]",`leading-tighter prose prose-gray tracking-tighter dark:prose-invert`,// `md:prose-lg lg:prose-xl`,diff --git a/components/preorder.tsx b/components/preorder.tsxindex d20126bb..d4a10aa9 100644--- a/components/preorder.tsx+++ b/components/preorder.tsx@@ -20,7 +20,7 @@ export default function PreOrder() {}return (- <MagicContainer className="not-prose mx-auto max-w-[400px]">+ <MagicContainer className="not-prose max-w-[400px]">{plans.map((item, idx) => (<PriceCard key={idx} item={item} />))}diff --git a/content/components/bento.mdx b/content/components/bento.mdxindex aab66b8b..34a9d915 100644--- a/content/components/bento.mdx+++ b/content/components/bento.mdx@@ -4,6 +4,7 @@ date: 2023-11-01summary: Bento is a grid layout used to showcase features of a product in a simple and elegant way.author: dillionvermapublished: false+toc: falsevideo: https://cdn.magicuikit.com/bento.mp4---@@ -31,14 +32,14 @@ export function cn(...inputs: ClassValue[]) {components/magicui/bento.tsx```-<ComponentSource name="bento-demo" />-</Step></Steps>## Examples+<ComponentPreview name="bento-demo-vertical" />+### Linear Gradient## Propsdiff --git a/contentlayer.config.ts b/contentlayer.config.tsindex ac33d39a..a68a4e3a 100644--- a/contentlayer.config.ts+++ b/contentlayer.config.ts@@ -60,7 +60,7 @@ export const Component = defineDocumentType(() => ({summary: { type: "string", required: true },author: { type: "string", required: true },published: { type: "boolean", required: false, default: true },- toc: { type: "boolean", default: true, required: false },+ toc: { type: "boolean", default: false, required: false },},// @ts-ignorecomputedFields,diff --git a/registry/components/example/bento-demo-vertical.tsx b/registry/components/example/bento-demo-vertical.tsxnew file mode 100644index 00000000..dddf665c--- /dev/null+++ b/registry/components/example/bento-demo-vertical.tsx@@ -0,0 +1,95 @@+import { Button } from "@/components/ui/button";+import { cn } from "@/lib/utils";+import { ChevronRight } from "lucide-react";++const features = [+ {+ name: "1. Graph view",+ description:+ "Visualize relationships between items in your library to find connections.",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",+ span: "row-start-1 row-end-4 col-start-2 col-end-3",+ href: "/",+ },+ {+ name: "2. Graph view",+ description:+ "Visualize relationships between items in your library to find connections.",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",+ span: "col-start-1 col-end-2 row-start-1 row-end-3",+ href: "/",+ },+ {+ name: "3. Graph view",+ description:+ "Visualize relationships between items in your library to find connections.",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",+ span: "col-start-1 col-end-2 row-start-3 row-end-4",+ href: "/",+ },+ {+ name: "4. Graph view",+ description:+ "Visualize relationships between items in your library to find connections.",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",+ span: "col-start-3 col-end-3 row-start-1 row-end-2",+ href: "/",+ },+ {+ name: "5. Graph view",+ description:+ "Visualize relationships between items in your library to find connections.",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",+ span: "col-start-3 col-end-3 row-start-2 row-end-4",+ href: "/",+ },+];++export default async function BentoDemo() {+ return (+ <div className="grid grid-cols-3 grid-rows-3 gap-4">+ {features.map((feature) => (+ <div+ key={feature.name}+ className={cn(+ "group relative col-span-1 flex flex-col justify-between overflow-hidden rounded-xl bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-neutral-900",+ feature.span,+ )}+ >+ <div>+ <img+ className="absolute -right-20 -top-20 opacity-60"+ src={feature.image}+ />+ </div>+ <div className="p-6 transition-all duration-300 group-hover:-translate-y-10">+ <h3 className="mb-1 text-base font-medium text-neutral-700 dark:text-neutral-300">+ {feature.name}+ </h3>+ <p className="max-w-lg text-neutral-400">{feature.description}</p>+ </div>+ <div+ className={cn(+ "flex flex-row items-center justify-center transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",+ "translate-y-10 opacity-0",+ "absolute bottom-4 w-full",+ )}+ >+ <Button variant="ghost" size="sm" asChild>+ <a href={feature.href}>+ Learn more+ <ChevronRight className="h-4 w-4" />+ </a>+ </Button>+ </div>+ <div className="pointer-events-none absolute inset-0 transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10" />+ </div>+ ))}+ </div>+ );+}diff --git a/registry/components/example/bento-demo.tsx b/registry/components/example/bento-demo.tsxindex 4f0405f9..60a4caa8 100644--- a/registry/components/example/bento-demo.tsx+++ b/registry/components/example/bento-demo.tsx@@ -1,60 +1,89 @@+import { Button } from "@/components/ui/button";import { cn } from "@/lib/utils";+import { ChevronRight } from "lucide-react";const features = [{name: "Graph view",description:"Visualize relationships between items in your library to find connections.",- image: "https://automatic.chat/api/og/changelog",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",span: 1,+ href: "/",},{name: "Graph view",description:"Visualize relationships between items in your library to find connections.",- image: "https://automatic.chat/api/og/changelog",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",span: 2,+ href: "/",},{name: "Graph view",description:"Visualize relationships between items in your library to find connections.",- image: "https://automatic.chat/api/og/changelog",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",span: 2,+ href: "/",},{name: "Graph view",description:"Visualize relationships between items in your library to find connections.",- image: "https://automatic.chat/api/og/changelog",+ image:+ "https://assets.vercel.com/image/upload/v1675318695/nextjs/showcase/loom-illustration.svg",span: 1,+ href: "/",},];export default async function BentoDemo() {return (- <div className="grid w-full grid-cols-3 gap-y-4 md:gap-4">+ <div className="grid w-full auto-rows-[22rem] grid-cols-3 gap-y-4 md:gap-4">{features.map((feature) => (<divkey={feature.name}className={cn(- "group relative col-span-3 flex h-[22rem] flex-col justify-between overflow-hidden rounded-xl bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:[background:radial-gradient(103.78%_100%_at_50%_0%,rgba(118,146,255,0)_80.55%,rgba(122,150,255,.04)_100%),radial-gradient(120.05%_100%_at_50%_0%,rgba(226,232,255,0)_33.78%,rgba(226,232,255,.08)_100%),rgba(226,232,255,.01)] sm:h-[26rem] lg:row-span-1",+ "group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-neutral-900 ",{"lg:col-span-1": feature.span === 1,"lg:col-span-2": feature.span === 2,},)}>- <div></div>- <div className="p-6 transition-all duration-300 group-hover:-translate-y-20">- <h3 className="mb-1 text-base font-medium text-neutral-700">- Graph view+ <div>+ <img+ className="absolute -right-20 -top-20 opacity-60"+ src={feature.image}+ />+ </div>+ <div className="p-6 transition-all duration-300 group-hover:-translate-y-10">+ <h3 className="mb-1 text-base font-medium text-neutral-700 dark:text-neutral-300">+ {feature.name}</h3>- <p className="max-w-lg text-neutral-400">- Visualize relationships between items in your library to find- connections.- </p>++ <p className="max-w-lg text-neutral-400">{feature.description}</p>+ </div>++ <div+ className={cn(+ "flex flex-row items-center justify-center transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",+ "translate-y-10 opacity-0",+ "absolute bottom-4 w-full",+ )}+ >+ <Button variant="ghost" size="sm" asChild>+ <a href={feature.href}>+ Learn more+ <ChevronRight className="h-4 w-4" />+ </a>+ </Button></div>+ <div className="pointer-events-none absolute inset-0 transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10" /></div>))}</div>diff --git a/registry/components/example/dot-pattern-demo.tsx b/registry/components/example/dot-pattern-demo.tsxindex cfd13d00..a58fcb90 100644--- a/registry/components/example/dot-pattern-demo.tsx+++ b/registry/components/example/dot-pattern-demo.tsx@@ -2,7 +2,6 @@import { cn } from "@/lib/utils";import DotPattern from "@/registry/components/magicui/dot-pattern";-import RadialGradient from "@/registry/components/magicui/radial-gradient";const DotPatternDemo = () => {return (@@ -12,10 +11,9 @@ const DotPatternDemo = () => {</p><DotPatternclassName={cn(- "[mask-image:radial-gradient(200px_circle_at_center,white,transparent)]",+ "[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]",)}/>- <RadialGradient from="rgba(120,119,198,0.3)" to="rgba(0,0,0,0.0)" /></div>);};diff --git a/registry/components/example/dot-pattern-linear-gradient.tsx b/registry/components/example/dot-pattern-linear-gradient.tsxindex 1ff5094f..76f8085a 100644--- a/registry/components/example/dot-pattern-linear-gradient.tsx+++ b/registry/components/example/dot-pattern-linear-gradient.tsx@@ -2,7 +2,6 @@import { cn } from "@/lib/utils";import DotPattern from "@/registry/components/magicui/dot-pattern";-import LinearGradient from "@/registry/components/magicui/linear-gradient";const DotPatternDemo2 = () => {return (@@ -20,11 +19,6 @@ const DotPatternDemo2 = () => {"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] ",)}/>- <LinearGradient- to="rgba(120,119,198,0.3)"- from="rgba(0,0,0,0.0)"- direction="bottom right"- /></div>);};diff --git a/registry/components/example/globe-demo.tsx b/registry/components/example/globe-demo.tsxindex 87d5bb35..dff428ca 100644--- a/registry/components/example/globe-demo.tsx+++ b/registry/components/example/globe-demo.tsx@@ -2,12 +2,12 @@ import Globe from "@/registry/components/magicui/globe";export default function GlobeDemo() {return (- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 shadow-2xl md:pb-60">- <Globe className="top-28" />+ <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 shadow-2xl md:pb-60"><span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-slate-900/10">Globe</span>- <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />+ <Globe className="top-28" />+ <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_200%,rgba(0,0,0,0.2),rgba(255,255,255,0))]" /></div>);}diff --git a/registry/components/example/grid-pattern-dashed.tsx b/registry/components/example/grid-pattern-dashed.tsxindex 09f7476c..35376aba 100644--- a/registry/components/example/grid-pattern-dashed.tsx+++ b/registry/components/example/grid-pattern-dashed.tsx@@ -2,7 +2,6 @@import { cn } from "@/lib/utils";import GridPattern from "@/registry/components/magicui/grid-pattern";-import RadialGradient from "@/registry/components/magicui/radial-gradient";const GridPatternDashed = () => {return (@@ -20,7 +19,6 @@ const GridPatternDashed = () => {"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]",)}/>- <RadialGradient from="rgba(120,119,198,0.3)" to="rgba(0,0,0,0.0)" /></div>);};diff --git a/registry/components/example/grid-pattern-demo.tsx b/registry/components/example/grid-pattern-demo.tsxindex 6d5b65f2..3e2cbb03 100644--- a/registry/components/example/grid-pattern-demo.tsx+++ b/registry/components/example/grid-pattern-demo.tsx@@ -2,7 +2,6 @@import { cn } from "@/lib/utils";import GridPattern from "@/registry/components/magicui/grid-pattern";-import RadialGradient from "@/registry/components/magicui/radial-gradient";const GridPatternDemo = () => {return (@@ -20,11 +19,10 @@ const GridPatternDemo = () => {[13, 3],]}className={cn(- "[mask-image:radial-gradient(200px_circle_at_center,white,transparent)]",+ "[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]","inset-x-0 inset-y-[-30%] h-[200%] skew-y-12",)}/>- <RadialGradient from="rgba(120,119,198,0.3)" to="rgba(0,0,0,0.0)" /></div>);};diff --git a/registry/components/example/grid-pattern-linear-gradient.tsx b/registry/components/example/grid-pattern-linear-gradient.tsxindex 93ff0451..7c5eae4d 100644--- a/registry/components/example/grid-pattern-linear-gradient.tsx+++ b/registry/components/example/grid-pattern-linear-gradient.tsx@@ -2,7 +2,6 @@import { cn } from "@/lib/utils";import GridPattern from "@/registry/components/magicui/grid-pattern";-import LinearGradient from "@/registry/components/magicui/linear-gradient";const GridPatternLinearGradient = () => {return (@@ -19,11 +18,6 @@ const GridPatternLinearGradient = () => {"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] ",)}/>- <LinearGradient- to="rgba(120,119,198,0.3)"- from="rgba(0,0,0,0.0)"- direction="bottom right"- /></div>);};diff --git a/registry/components/example/magic-card-demo.tsx b/registry/components/example/magic-card-demo.tsxindex 5efcdcd0..1ffd6ff8 100644--- a/registry/components/example/magic-card-demo.tsx+++ b/registry/components/example/magic-card-demo.tsx@@ -25,6 +25,12 @@ export default function MagicCardDemo() {</p><div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" /></MagicCard>+ <MagicCard className="flex w-full cursor-pointer flex-col items-center justify-center overflow-hidden p-20 shadow-2xl">+ <p className="z-10 whitespace-nowrap text-4xl font-medium text-gray-800 dark:text-gray-200">+ Demo+ </p>+ <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />+ </MagicCard></MagicContainer>);}diff --git a/registry/components/example/magic-card-gradient.tsx b/registry/components/example/magic-card-gradient.tsxindex 23de4dc0..7557c4bc 100644--- a/registry/components/example/magic-card-gradient.tsx+++ b/registry/components/example/magic-card-gradient.tsx@@ -25,6 +25,12 @@ export default function MagicCardGradient() {</p><div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" /></MagicCard>+ <MagicCard className="flex w-full cursor-pointer flex-col items-center justify-center overflow-hidden bg-[radial-gradient(var(--mask-size)_circle_at_var(--mouse-x)_var(--mouse-y),#ffaa40_0,#9c40ff_50%,transparent_100%)] p-20 shadow-2xl">+ <p className="z-10 whitespace-nowrap text-4xl font-medium text-gray-800 dark:text-gray-200">+ Demo+ </p>+ <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_120%,rgba(120,119,198,0.3),rgba(255,255,255,0))]" />+ </MagicCard></MagicContainer>);}diff --git a/registry/components/example/marquee-demo.tsx b/registry/components/example/marquee-demo.tsxindex 7566d55f..c895b1cc 100644--- a/registry/components/example/marquee-demo.tsx+++ b/registry/components/example/marquee-demo.tsx@@ -73,7 +73,7 @@ const ReviewCard = ({const MarqueeDemo = () => {return (- <div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20 shadow-2xl">+ <div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20 shadow-2xl"><Marquee pauseOnHover className="[--duration:20s]">{firstRow.map((review) => (<ReviewCard key={review.username} {...review} />diff --git a/registry/components/example/shimmer-button-demo.tsx b/registry/components/example/shimmer-button-demo.tsxindex 63d48a60..c8b2c555 100644--- a/registry/components/example/shimmer-button-demo.tsx+++ b/registry/components/example/shimmer-button-demo.tsx@@ -1,15 +1,11 @@-import LinearGradient from "@/registry/components/magicui/linear-gradient";import ShimmerButton from "@/registry/components/magicui/shimmer-button";export default function ShimmerButtonDemo() {return (- <div className="relative flex h-full w-full items-center justify-center rounded-lg border bg-background py-20 shadow-2xl">- <ShimmerButton>- <span className="whitespace-pre-wrap text-center text-sm font-medium leading-none tracking-tight text-white dark:from-white dark:to-slate-900/10 lg:text-lg">- Shimmer Button- </span>- </ShimmerButton>- <LinearGradient to="rgba(120,119,198,0.15)" />- </div>+ <ShimmerButton className="shadow-2xl">+ <span className="whitespace-pre-wrap text-center text-sm font-medium leading-none tracking-tight text-white dark:from-white dark:to-slate-900/10 lg:text-lg">+ Shimmer Button+ </span>+ </ShimmerButton>);}diff --git a/registry/components/magicui/dot-pattern.tsx b/registry/components/magicui/dot-pattern.tsxindex da7e9890..7aa0bc71 100644--- a/registry/components/magicui/dot-pattern.tsx+++ b/registry/components/magicui/dot-pattern.tsx@@ -29,7 +29,7 @@ export function DotPattern({<svgaria-hidden="true"className={cn(- "pointer-events-none absolute inset-0 h-full w-full fill-gray-400/40",+ "pointer-events-none absolute inset-0 h-full w-full fill-neutral-400/80",className,)}{...props}diff --git a/registry/components/magicui/marquee.tsx b/registry/components/magicui/marquee.tsxindex da6f47ac..162dc449 100644--- a/registry/components/magicui/marquee.tsx+++ b/registry/components/magicui/marquee.tsx@@ -32,6 +32,7 @@ const Marquee = ({>{Children.map(children, (child) => cloneElement(child as any))}{Children.map(children, (child) => cloneElement(child as any))}+ {Children.map(children, (child) => cloneElement(child as any))}</div></div>);diff --git a/registry/components/magicui/shimmer-button.tsx b/registry/components/magicui/shimmer-button.tsxindex 7f65fa90..d283b3fc 100644--- a/registry/components/magicui/shimmer-button.tsx+++ b/registry/components/magicui/shimmer-button.tsx@@ -19,7 +19,7 @@ const ShimmerButton = React.forwardRef<HTMLButtonElement, ShimmerButtonProps>(shimmerSize = "0.1em",shimmerDuration = "1.5s",borderRadius = "100px",- background = "rgba(18, 18, 38)",+ background = "rgba(0, 0, 0)",className,children,...props@@ -48,7 +48,7 @@ const ShimmerButton = React.forwardRef<HTMLButtonElement, ShimmerButtonProps>({/* spark container */}<divclassName={cn(- "-z-30 blur-md",+ "-z-30 blur-sm","absolute inset-0 overflow-visible [container-type:size]",)}>diff --git a/registry/components/magicui/tweet-card.tsx b/registry/components/magicui/tweet-card.tsxindex ab405bad..36274dc7 100644--- a/registry/components/magicui/tweet-card.tsx+++ b/registry/components/magicui/tweet-card.tsx@@ -220,7 +220,7 @@ export const MagicTweet = ({return (<divclassName={cn(- "relative flex max-h-max w-full flex-col gap-2 overflow-hidden rounded-lg border p-4 backdrop-blur-md",+ "relative flex max-h-max w-full max-w-[32rem] flex-col gap-2 overflow-hidden rounded-lg border p-4 backdrop-blur-md",className,)}{...props}diff --git a/registry/index.tsx b/registry/index.tsxindex 0f894fb0..5a6ede52 100644--- a/registry/index.tsx+++ b/registry/index.tsx@@ -210,6 +210,14 @@ const example: Registry = {() => import("@/registry/components/example/bento-demo"),),},+ "bento-demo-vertical": {+ name: "bento-demo-vertical",+ type: "components:example",+ files: ["registry/components/example/bento-demo-vertical.tsx"],+ component: React.lazy(+ () => import("@/registry/components/example/bento-demo-vertical"),+ ),+ },};export const registry: Registry = {