UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update styles of several components (#540)
Dillion Verma23539aafedda
diff --git a/__registry__/index.tsx b/__registry__/index.tsxindex 8526ac3c..07e87f8c 100644--- a/__registry__/index.tsx+++ b/__registry__/index.tsx@@ -3091,7 +3091,7 @@ export const Index: Record<string, any> = {name: "dock-demo",description: "Example showing a MacOS-style dock implementation.",type: "registry:example",- registryDependencies: ["https://magicui.design/r/dock"],+ registryDependencies: ["button", "https://magicui.design/r/dock"],files: [{path: "registry/example/dock-demo.tsx",@@ -3103,6 +3103,11 @@ export const Index: Record<string, any> = {type: "registry:ui",target: "components/magicui/dock.tsx",},+ {+ path: "registry/magicui/mode-toggle.tsx",+ type: "registry:ui",+ target: "components/magicui/mode-toggle.tsx",+ },],component: React.lazy(async () => {const mod = await import("@/registry/example/dock-demo.tsx");diff --git a/app/(docs)/docs/[[...slug]]/page.tsx b/app/(docs)/docs/[[...slug]]/page.tsxindex 22479ba0..6b412244 100644--- a/app/(docs)/docs/[[...slug]]/page.tsx+++ b/app/(docs)/docs/[[...slug]]/page.tsx@@ -88,12 +88,8 @@ export default async function DocPage({ params }: DocPageProps) {const toc = await getTableOfContents(doc.body.raw);return (- <main- className={cn("relative py-6 lg:gap-10 lg:py-8 xl:grid ", {- "xl:grid-cols-[1fr_300px]": doc.toc,- })}- >- <div className="mx-auto w-full min-w-0">+ <main className="relative lg:gap-10 xl:grid xl:grid-cols-[1fr_300px]">+ <div className="mx-auto w-full min-w-0 max-w-3xl py-6 lg:py-8"><div className="mb-4 flex items-center space-x-1 text-sm text-muted-foreground"><div className="truncate">Docs</div><ChevronRightIcon className="size-4" />@@ -141,15 +137,13 @@ export default async function DocPage({ params }: DocPageProps) {<DocPager doc={doc} /></div>{doc.toc && (- <div className="hidden text-sm xl:block">- <div className="sticky top-16 -mt-10 pt-4">- <ScrollArea className="pb-10">- <div className="sticky top-16 -mt-10 h-[calc(100vh-3.5rem)] space-y-4 py-12">- <TableOfContents toc={toc} />- <Contribute doc={doc} />- </div>- </ScrollArea>- </div>+ <div className="hidden border-l border-border py-6 pl-6 text-sm lg:py-8 xl:block">+ <ScrollArea className="pb-10">+ <div className="sticky top-16 -mt-10 h-[calc(100vh-3.5rem)] space-y-4 py-12">+ <TableOfContents toc={toc} />+ <Contribute doc={doc} />+ </div>+ </ScrollArea></div>)}</main>diff --git a/app/(docs)/docs/layout.tsx b/app/(docs)/docs/layout.tsxindex fbce5e05..811bf9e8 100644--- a/app/(docs)/docs/layout.tsx+++ b/app/(docs)/docs/layout.tsx@@ -1,20 +1,21 @@-import { docsConfig } from "@/config/docs";-import { ScrollArea } from "@/components/ui/scroll-area";import { DocsSidebarNav } from "@/components/sidebar-nav";+import { docsConfig } from "@/config/docs";-interface DocsLayoutProps {+export default function DocsLayout({+ children,+}: {children: React.ReactNode;-}--export default function DocsLayout({ children }: DocsLayoutProps) {+}) {return (- <div className="container flex-1 items-start md:grid md:grid-cols-[240px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[250px_minmax(0,1fr)] lg:gap-10">- <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 pr-6">- <DocsSidebarNav items={docsConfig.sidebarNav} />- </ScrollArea>- </aside>- {children}+ <div className="container-wrapper">+ <div className="container 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">+ <aside className="fixed top-14 z-30 hidden h-[calc(100vh-3.5rem)] w-full shrink-0 border-r md:sticky md:block">+ <div className="no-scrollbar h-full overflow-auto py-6 pr-4 lg:py-8">+ <DocsSidebarNav items={docsConfig.sidebarNav} />+ </div>+ </aside>+ {children}+ </div></div>);}diff --git a/components/component-wrapper.tsx b/components/component-wrapper.tsxindex 98ed3568..b53a2554 100644--- a/components/component-wrapper.tsx+++ b/components/component-wrapper.tsx@@ -20,19 +20,19 @@ export const ComponentWrapper = ({return (<divclassName={cn(- "max-w-screen relative flex flex-col items-center justify-center rounded-xl bg-background p-0 md:border md:p-16",+ "max-w-screen relative rounded-xl border bg-background",className,)}key={key}>- <div+ {/* <divclassName={cn(`absolute inset-0 size-full`,`bg-[radial-gradient(#00000022_1px,transparent_1px)] dark:bg-[radial-gradient(#ffffff22_1px,transparent_1px)]`,"lab-bg pointer-events-none [background-size:16px_16px]",)}- />- <div className="absolute right-2 top-2 z-10 flex items-center justify-between gap-2">+ /> */}+ <div className="flex items-center justify-end gap-2 p-4"><OpenInV0Button url={`https://magicui.design/r/${name}.json`} /><ButtononClick={() => setKey((prev) => prev + 1)}@@ -42,7 +42,10 @@ export const ComponentWrapper = ({<RotateCcw aria-label="restart-btn" size={16} /></Button></div>- {children}++ <div className="flex min-h-[350px] w-full items-center justify-center p-10">+ {children}+ </div></div>);};diff --git a/components/mdx-components.tsx b/components/mdx-components.tsxindex c80a3f8f..331618c2 100644--- a/components/mdx-components.tsx+++ b/components/mdx-components.tsx@@ -133,7 +133,7 @@ const components = {/>),table: ({ className, ...props }: React.HTMLAttributes<HTMLTableElement>) => (- <div className="my-6 w-full overflow-y-auto rounded-lg border border-border">+ <div className="my-6 w-full overflow-y-auto rounded-lg border dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-400"><tableclassName={cn("my-0 w-full overflow-hidden", className)}{...props}@@ -144,27 +144,15 @@ const components = {className,...props}: React.HTMLAttributes<HTMLTableSectionElement>) => (- <thead- className={cn(- "border-b last:border-b-0 odd:bg-background even:bg-background/50",- className,- )}- {...props}- />+ <thead className={cn("border-b last:border-b-0", className)} {...props} />),tr: ({ className, ...props }: React.HTMLAttributes<HTMLTableRowElement>) => (- <tr- className={cn(- "border-b last:border-b-0 odd:bg-background even:bg-background/50",- className,- )}- {...props}- />+ <tr className={cn("border-b last:border-b-0", className)} {...props} />),th: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (<thclassName={cn(- "text-balance border-r border-border bg-neutral-50 px-6 py-3 text-left font-mono text-sm font-semibold tracking-tight text-secondary-foreground last:border-r-0 dark:bg-neutral-950",+ "text-balance border-r px-6 py-3 text-left font-mono text-sm font-semibold tracking-tight last:border-r-0",className,)}{...props}@@ -173,7 +161,7 @@ const components = {td: ({ className, ...props }: React.HTMLAttributes<HTMLTableCellElement>) => (<tdclassName={cn(- "border-r border-border px-6 py-4 text-sm text-secondary-foreground last:border-r-0 [&[align=center]]:text-center [&[align=right]]:text-right",+ "border-r px-6 py-3 text-sm last:border-r-0 [&[align=center]]:text-center [&[align=right]]:text-right",className,)}{...props}@@ -293,7 +281,7 @@ const components = {code: ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => (<codeclassName={cn(- "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm",+ "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm dark:bg-zinc-800 dark:text-zinc-50",className,)}{...props}diff --git a/components/sidebar-nav.tsx b/components/sidebar-nav.tsxindex 60059650..309f175c 100644--- a/components/sidebar-nav.tsx+++ b/components/sidebar-nav.tsx@@ -7,7 +7,6 @@ import { usePathname } from "next/navigation";import posthog from "posthog-js";import { cn } from "@/lib/utils";-import { motion } from "motion/react";export interface DocsSidebarNavProps {items: SidebarNavItem[];@@ -17,13 +16,18 @@ export function DocsSidebarNav({ items }: DocsSidebarNavProps) {const pathname = usePathname();return items.length ? (- <div className="w-full pb-20">+ <div className="flex flex-col gap-6">{items.map((item, index) => (- <div key={index} className={"pb-4"}>- <h4 className="mb-1 rounded-md px-2 py-1 text-sm font-semibold">- {item.title}+ <div key={index} className="flex flex-col gap-1">+ <h4 className="rounded-md px-2 py-1 text-sm font-semibold">+ {item.title}{" "}+ {item.label && (+ <span className="ml-2 rounded-md bg-[#adfa1d] px-1.5 py-0.5 text-xs font-normal leading-none text-[#000000] no-underline group-hover:no-underline">+ {item.label}+ </span>+ )}</h4>- {item?.items && (+ {item?.items?.length && (<DocsSidebarNavItemsitems={item.items}pathname={pathname}@@ -56,29 +60,14 @@ export function DocsSidebarNavItems({href={item.href}onClick={() => item.event && posthog.capture(item.event)}className={cn(- "group relative flex w-full items-center rounded-md border border-transparent px-2 py-1 hover:text-foreground",+ "group flex h-8 w-full items-center rounded-lg px-2 font-normal text-foreground underline-offset-2 hover:bg-accent hover:text-accent-foreground",item.disabled && "cursor-not-allowed opacity-60",- pathname === item.href- ? "font-medium text-foreground"- : "text-muted-foreground",+ pathname === item.href &&+ "bg-accent font-medium text-accent-foreground",)}target={item.external ? "_blank" : ""}rel={item.external ? "noreferrer" : ""}>- {pathname === item.href && (- <motion.div- layoutId={groupId}- className="absolute inset-0 rounded-r-md border-l-2 border-primary/70 bg-secondary"- initial={false}- transition={{- type: "spring",- stiffness: 350,- damping: 30,- mass: 1,- velocity: 200,- }}- />- )}<span className="relative z-10 shrink-0">{item.title}</span>{item.label && (<span className="relative z-10 ml-2 rounded-md bg-[#FFBD7A] px-1.5 py-0.5 text-xs leading-none text-[#000000] no-underline group-hover:no-underline">diff --git a/components/site-footer.tsx b/components/site-footer.tsxindex bd32bd55..bd834d4d 100644--- a/components/site-footer.tsx+++ b/components/site-footer.tsx@@ -2,14 +2,7 @@ import { siteConfig } from "@/config/site";export function SiteFooter() {return (- <footer className="relative py-6 md:py-0">- <div- className="absolute top-0 h-px w-full"- style={{- background:- "radial-gradient(50% 100% at 50% 100%,rgba(255,255,255,.32) 0%,rgba(255,255,255,0) 100%)",- }}- ></div>+ <footer className="relative border-t border-border py-6 md:py-0"><div className="container flex flex-col items-center justify-between gap-4 md:h-16 md:flex-row"><p className="text-center text-sm leading-loose text-muted-foreground md:text-left">Brought to you by{" "}diff --git a/components/site-header.tsx b/components/site-header.tsxindex fe129979..3049b0e2 100644--- a/components/site-header.tsx+++ b/components/site-header.tsx@@ -41,7 +41,7 @@ export async function SiteHeader() {return (<headerclassName={cn(- "supports-backdrop-blur:bg-background/90 sticky top-0 z-40 w-full bg-background/40 backdrop-blur-lg",+ "supports-backdrop-blur:bg-background/90 sticky top-0 z-40 w-full border-b border-border bg-background/40 backdrop-blur-lg",)}><div className="container flex h-16 items-center">@@ -131,7 +131,7 @@ export async function SiteHeader() {</nav></div></div>- <hr className="m-0 h-px w-full border-none bg-gradient-to-r from-neutral-200/0 via-neutral-200/30 to-neutral-200/0" />+ {/* <hr className="m-0 h-px w-full border-none bg-gradient-to-r from-neutral-200/0 via-neutral-200/30 to-neutral-200/0" /> */}</header>);}diff --git a/content-collections.ts b/content-collections.tsindex 1793a3e1..b6152071 100644--- a/content-collections.ts+++ b/content-collections.ts@@ -13,6 +13,7 @@ import { rehypeNpmCommand } from "./lib/rehype-npm-command";const prettyCodeOptions: Options = {theme: "github-dark",+ keepBackground: false,getHighlighter: (options) =>createHighlighter({...options,diff --git a/public/r/animated-beam-bidirectional.json b/public/r/animated-beam-bidirectional.jsonindex 1f5a9277..2c1078ca 100644--- a/public/r/animated-beam-bidirectional.json+++ b/public/r/animated-beam-bidirectional.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/animated-beam-bidirectional.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\"\n ref={containerRef}\n >\n <div className=\"flex size-full flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row justify-between\">\n <Circle ref={div1Ref}>\n <Icons.user />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.openai />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n startYOffset={10}\n endYOffset={10}\n curvature={-20}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n startYOffset={-10}\n endYOffset={-10}\n curvature={20}\n reverse\n />\n </div>\n );\n}\n\nconst Icons = {\n openai: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex w-full max-w-[500px] items-center justify-center overflow-hidden p-10\"\n ref={containerRef}\n >\n <div className=\"flex size-full flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row justify-between\">\n <Circle ref={div1Ref}>\n <Icons.user />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.openai />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n startYOffset={10}\n endYOffset={10}\n curvature={-20}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n startYOffset={-10}\n endYOffset={-10}\n curvature={20}\n reverse\n />\n </div>\n );\n}\n\nconst Icons = {\n openai: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-bidirectional.tsx"},diff --git a/public/r/animated-beam-demo.json b/public/r/animated-beam-demo.jsonindex 70355a6c..818bf05a 100644--- a/public/r/animated-beam-demo.json+++ b/public/r/animated-beam-demo.json@@ -13,7 +13,7 @@"files": [{"path": "registry/example/animated-beam-demo.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\"\n ref={containerRef}\n >\n <div className=\"flex size-full max-h-[200px] max-w-lg flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.googleDocs />\n </Circle>\n </div>\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div2Ref}>\n <Icons.notion />\n </Circle>\n <Circle ref={div4Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n <Circle ref={div6Ref}>\n <Icons.zapier />\n </Circle>\n </div>\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div7Ref}>\n <Icons.messenger />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div4Ref}\n curvature={-75}\n endYOffset={-10}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div4Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div4Ref}\n curvature={75}\n endYOffset={10}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div4Ref}\n curvature={-75}\n endYOffset={-10}\n reverse\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div4Ref}\n reverse\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div7Ref}\n toRef={div4Ref}\n curvature={75}\n endYOffset={10}\n reverse\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex h-[300px] w-full items-center justify-center overflow-hidden p-10\"\n ref={containerRef}\n >\n <div className=\"flex size-full max-h-[200px] max-w-lg flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.googleDocs />\n </Circle>\n </div>\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div2Ref}>\n <Icons.notion />\n </Circle>\n <Circle ref={div4Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n <Circle ref={div6Ref}>\n <Icons.zapier />\n </Circle>\n </div>\n <div className=\"flex flex-row items-center justify-between\">\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div7Ref}>\n <Icons.messenger />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div4Ref}\n curvature={-75}\n endYOffset={-10}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div4Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div4Ref}\n curvature={75}\n endYOffset={10}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div4Ref}\n curvature={-75}\n endYOffset={-10}\n reverse\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div4Ref}\n reverse\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div7Ref}\n toRef={div4Ref}\n curvature={75}\n endYOffset={10}\n reverse\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-demo.tsx"},diff --git a/public/r/animated-beam-multiple-inputs.json b/public/r/animated-beam-multiple-inputs.jsonindex 62838ef9..cc5d0c44 100644--- a/public/r/animated-beam-multiple-inputs.json+++ b/public/r/animated-beam-multiple-inputs.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/animated-beam-multiple-inputs.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 border-border bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 border-border bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden p-10\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-multiple-inputs.tsx"},diff --git a/public/r/animated-beam-multiple-outputs.json b/public/r/animated-beam-multiple-outputs.jsonindex 13adc790..3e0f5e16 100644--- a/public/r/animated-beam-multiple-outputs.json+++ b/public/r/animated-beam-multiple-outputs.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/animated-beam-multiple-outputs.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n </div>\n\n {/* AnimatedBeams */}\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n duration={3}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden p-10\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n </div>\n\n {/* AnimatedBeams */}\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n duration={3}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-multiple-outputs.tsx"},diff --git a/public/r/animated-beam-unidirectional.json b/public/r/animated-beam-unidirectional.jsonindex ea00992b..0a137d86 100644--- a/public/r/animated-beam-unidirectional.json+++ b/public/r/animated-beam-unidirectional.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/animated-beam-unidirectional.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\"\n ref={containerRef}\n >\n <div className=\"flex size-full flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row justify-between\">\n <Circle ref={div1Ref}>\n <Icons.user />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.openai />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n duration={3}\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n />\n </div>\n );\n}\n\nconst Icons = {\n openai: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamDemo() {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className=\"relative flex w-full max-w-[500px] items-center justify-center overflow-hidden p-10\"\n ref={containerRef}\n >\n <div className=\"flex size-full flex-col items-stretch justify-between gap-10\">\n <div className=\"flex flex-row justify-between\">\n <Circle ref={div1Ref}>\n <Icons.user />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.openai />\n </Circle>\n </div>\n </div>\n\n <AnimatedBeam\n duration={3}\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div2Ref}\n />\n </div>\n );\n}\n\nconst Icons = {\n openai: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-unidirectional.tsx"},diff --git a/public/r/animated-grid-pattern-demo.json b/public/r/animated-grid-pattern-demo.jsonindex 5be35286..c3ad8e04 100644--- a/public/r/animated-grid-pattern-demo.json+++ b/public/r/animated-grid-pattern-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/animated-grid-pattern-demo.tsx",- "content": "import { cn } from \"@/lib/utils\";\nimport { AnimatedGridPattern } from \"@/components/magicui/animated-grid-pattern\";\n\nexport default function AnimatedGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Animated Grid Pattern\n </p>\n <AnimatedGridPattern\n numSquares={30}\n maxOpacity={0.1}\n duration={3}\n repeatDelay={1}\n className={cn(\n \"[mask-image:radial-gradient(500px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n",+ "content": "import { cn } from \"@/lib/utils\";\nimport { AnimatedGridPattern } from \"@/components/magicui/animated-grid-pattern\";\n\nexport default function AnimatedGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20\">\n <AnimatedGridPattern\n numSquares={30}\n maxOpacity={0.1}\n duration={3}\n repeatDelay={1}\n className={cn(\n \"[mask-image:radial-gradient(500px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/animated-grid-pattern-demo.tsx"},diff --git a/public/r/animated-list-demo.json b/public/r/animated-list-demo.jsonindex 62395dca..9f9311d7 100644--- a/public/r/animated-list-demo.json+++ b/public/r/animated-list-demo.json@@ -10,13 +10,13 @@"files": [{"path": "registry/example/animated-list-demo.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedList } from \"@/components/magicui/animated-list\";\n\ninterface Item {\n name: string;\n description: string;\n icon: string;\n color: string;\n time: string;\n}\n\nlet notifications = [\n {\n name: \"Payment received\",\n description: \"Magic UI\",\n time: \"15m ago\",\n\n icon: \"💸\",\n color: \"#00C9A7\",\n },\n {\n name: \"User signed up\",\n description: \"Magic UI\",\n time: \"10m ago\",\n icon: \"👤\",\n color: \"#FFB800\",\n },\n {\n name: \"New message\",\n description: \"Magic UI\",\n time: \"5m ago\",\n icon: \"💬\",\n color: \"#FF3D71\",\n },\n {\n name: \"New event\",\n description: \"Magic UI\",\n time: \"2m ago\",\n icon: \"🗞️\",\n color: \"#1E86FF\",\n },\n];\n\nnotifications = Array.from({ length: 10 }, () => notifications).flat();\n\nconst Notification = ({ name, description, icon, color, time }: Item) => {\n return (\n <figure\n className={cn(\n \"relative mx-auto min-h-fit w-full max-w-[400px] cursor-pointer overflow-hidden rounded-2xl p-4\",\n // animation styles\n \"transition-all duration-200 ease-in-out hover:scale-[103%]\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-3\">\n <div\n className=\"flex size-10 items-center justify-center rounded-2xl\"\n style={{\n backgroundColor: color,\n }}\n >\n <span className=\"text-lg\">{icon}</span>\n </div>\n <div className=\"flex flex-col overflow-hidden\">\n <figcaption className=\"flex flex-row items-center whitespace-pre text-lg font-medium dark:text-white \">\n <span className=\"text-sm sm:text-lg\">{name}</span>\n <span className=\"mx-1\">·</span>\n <span className=\"text-xs text-gray-500\">{time}</span>\n </figcaption>\n <p className=\"text-sm font-normal dark:text-white/60\">\n {description}\n </p>\n </div>\n </div>\n </figure>\n );\n};\n\nexport default function AnimatedListDemo({\n className,\n}: {\n className?: string;\n}) {\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full flex-col overflow-hidden rounded-lg border bg-background p-6 md:shadow-xl\",\n className,\n )}\n >\n <AnimatedList>\n {notifications.map((item, idx) => (\n <Notification {...item} key={idx} />\n ))}\n </AnimatedList>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedList } from \"@/components/magicui/animated-list\";\n\ninterface Item {\n name: string;\n description: string;\n icon: string;\n color: string;\n time: string;\n}\n\nlet notifications = [\n {\n name: \"Payment received\",\n description: \"Magic UI\",\n time: \"15m ago\",\n\n icon: \"💸\",\n color: \"#00C9A7\",\n },\n {\n name: \"User signed up\",\n description: \"Magic UI\",\n time: \"10m ago\",\n icon: \"👤\",\n color: \"#FFB800\",\n },\n {\n name: \"New message\",\n description: \"Magic UI\",\n time: \"5m ago\",\n icon: \"💬\",\n color: \"#FF3D71\",\n },\n {\n name: \"New event\",\n description: \"Magic UI\",\n time: \"2m ago\",\n icon: \"🗞️\",\n color: \"#1E86FF\",\n },\n];\n\nnotifications = Array.from({ length: 10 }, () => notifications).flat();\n\nconst Notification = ({ name, description, icon, color, time }: Item) => {\n return (\n <figure\n className={cn(\n \"relative mx-auto min-h-fit w-full max-w-[400px] cursor-pointer overflow-hidden rounded-2xl p-4\",\n // animation styles\n \"transition-all duration-200 ease-in-out hover:scale-[103%]\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-3\">\n <div\n className=\"flex size-10 items-center justify-center rounded-2xl\"\n style={{\n backgroundColor: color,\n }}\n >\n <span className=\"text-lg\">{icon}</span>\n </div>\n <div className=\"flex flex-col overflow-hidden\">\n <figcaption className=\"flex flex-row items-center whitespace-pre text-lg font-medium dark:text-white \">\n <span className=\"text-sm sm:text-lg\">{name}</span>\n <span className=\"mx-1\">·</span>\n <span className=\"text-xs text-gray-500\">{time}</span>\n </figcaption>\n <p className=\"text-sm font-normal dark:text-white/60\">\n {description}\n </p>\n </div>\n </div>\n </figure>\n );\n};\n\nexport default function AnimatedListDemo({\n className,\n}: {\n className?: string;\n}) {\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full flex-col overflow-hidden p-2\",\n className,\n )}\n >\n <AnimatedList>\n {notifications.map((item, idx) => (\n <Notification {...item} key={idx} />\n ))}\n </AnimatedList>\n\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/animated-list-demo.tsx"},{"path": "registry/magicui/animated-list.tsx",- "content": "\"use client\";\n\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => prevIndex + 1);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={`flex flex-col items-center gap-4 ${className}`}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => (prevIndex + 1) % childrenArray.length);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={cn(`flex flex-col items-center gap-4`, className)}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n","type": "registry:ui","target": "components/magicui/animated-list.tsx"}diff --git a/public/r/animated-list.json b/public/r/animated-list.jsonindex ba17ab0c..0c708212 100644--- a/public/r/animated-list.json+++ b/public/r/animated-list.json@@ -10,7 +10,7 @@"files": [{"path": "registry/magicui/animated-list.tsx",- "content": "\"use client\";\n\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => prevIndex + 1);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={`flex flex-col items-center gap-4 ${className}`}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => (prevIndex + 1) % childrenArray.length);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={cn(`flex flex-col items-center gap-4`, className)}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n","type": "registry:ui","target": "components/magicui/animated-list.tsx"}diff --git a/public/r/bento-demo-vertical.json b/public/r/bento-demo-vertical.jsonindex 1f873fd2..4d9c9e18 100644--- a/public/r/bento-demo-vertical.json+++ b/public/r/bento-demo-vertical.json@@ -19,7 +19,7 @@},{"path": "registry/magicui/bento-grid.tsx",- "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n",+ "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"bg-background [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)]\",\n // dark styles\n \"transform-gpu dark:bg-background dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n","type": "registry:ui","target": "components/magicui/bento-grid.tsx"}diff --git a/public/r/bento-demo.json b/public/r/bento-demo.jsonindex 7972681f..4efe0399 100644--- a/public/r/bento-demo.json+++ b/public/r/bento-demo.json@@ -18,13 +18,13 @@"files": [{"path": "registry/example/bento-demo.tsx",- "content": "import { CalendarIcon, FileTextIcon } from \"@radix-ui/react-icons\";\nimport { BellIcon, Share2Icon } from \"lucide-react\";\n\nimport { Calendar } from \"@/components/ui/calendar\";\nimport { cn } from \"@/lib/utils\";\nimport AnimatedBeamMultipleOutputDemo from \"@/registry/example/animated-beam-multiple-outputs\";\nimport AnimatedListDemo from \"@/registry/example/animated-list-demo\";\nimport { BentoCard, BentoGrid } from \"@/components/magicui/bento-grid\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst files = [\n {\n name: \"bitcoin.pdf\",\n body: \"Bitcoin is a cryptocurrency invented in 2008 by an unknown person or group of people using the name Satoshi Nakamoto.\",\n },\n {\n name: \"finances.xlsx\",\n body: \"A spreadsheet or worksheet is a file made of rows and columns that help sort data, arrange data easily, and calculate numerical data.\",\n },\n {\n name: \"logo.svg\",\n body: \"Scalable Vector Graphics is an Extensible Markup Language-based vector image format for two-dimensional graphics with support for interactivity and animation.\",\n },\n {\n name: \"keys.gpg\",\n body: \"GPG keys are used to encrypt and decrypt email, files, directories, and whole disk partitions and to authenticate messages.\",\n },\n {\n name: \"seed.txt\",\n body: \"A seed phrase, seed recovery phrase or backup seed phrase is a list of words which store all the information needed to recover Bitcoin funds on-chain.\",\n },\n];\n\nconst features = [\n {\n Icon: FileTextIcon,\n name: \"Save your files\",\n description: \"We automatically save your files as you type.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-1\",\n background: (\n <Marquee\n pauseOnHover\n className=\"absolute top-10 [--duration:20s] [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] \"\n >\n {files.map((f, idx) => (\n <figure\n key={idx}\n className={cn(\n \"relative w-32 cursor-pointer overflow-hidden rounded-xl border p-4\",\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n \"transform-gpu blur-[1px] transition-all duration-300 ease-out hover:blur-none\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white \">\n {f.name}\n </figcaption>\n </div>\n </div>\n <blockquote className=\"mt-2 text-xs\">{f.body}</blockquote>\n </figure>\n ))}\n </Marquee>\n ),\n },\n {\n Icon: BellIcon,\n name: \"Notifications\",\n description: \"Get notified when something happens.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-2\",\n background: (\n <AnimatedListDemo className=\"absolute right-2 top-4 h-[300px] w-full border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-105\" />\n ),\n },\n {\n Icon: Share2Icon,\n name: \"Integrations\",\n description: \"Supports 100+ integrations and counting.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-2\",\n background: (\n <AnimatedBeamMultipleOutputDemo className=\"absolute right-2 top-4 h-[300px] border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-105\" />\n ),\n },\n {\n Icon: CalendarIcon,\n name: \"Calendar\",\n description: \"Use the calendar to filter your files by date.\",\n className: \"col-span-3 lg:col-span-1\",\n href: \"#\",\n cta: \"Learn more\",\n background: (\n <Calendar\n mode=\"single\"\n selected={new Date(2022, 4, 11, 0, 0, 0)}\n className=\"absolute right-0 top-10 origin-top rounded-md border transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] group-hover:scale-105\"\n />\n ),\n },\n];\n\nexport default function BentoDemo() {\n return (\n <BentoGrid>\n {features.map((feature, idx) => (\n <BentoCard key={idx} {...feature} />\n ))}\n </BentoGrid>\n );\n}\n",+ "content": "import { CalendarIcon, FileTextIcon } from \"@radix-ui/react-icons\";\nimport { BellIcon, Share2Icon } from \"lucide-react\";\n\nimport { Calendar } from \"@/components/ui/calendar\";\nimport { cn } from \"@/lib/utils\";\nimport AnimatedBeamMultipleOutputDemo from \"@/registry/example/animated-beam-multiple-outputs\";\nimport AnimatedListDemo from \"@/registry/example/animated-list-demo\";\nimport { BentoCard, BentoGrid } from \"@/components/magicui/bento-grid\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst files = [\n {\n name: \"bitcoin.pdf\",\n body: \"Bitcoin is a cryptocurrency invented in 2008 by an unknown person or group of people using the name Satoshi Nakamoto.\",\n },\n {\n name: \"finances.xlsx\",\n body: \"A spreadsheet or worksheet is a file made of rows and columns that help sort data, arrange data easily, and calculate numerical data.\",\n },\n {\n name: \"logo.svg\",\n body: \"Scalable Vector Graphics is an Extensible Markup Language-based vector image format for two-dimensional graphics with support for interactivity and animation.\",\n },\n {\n name: \"keys.gpg\",\n body: \"GPG keys are used to encrypt and decrypt email, files, directories, and whole disk partitions and to authenticate messages.\",\n },\n {\n name: \"seed.txt\",\n body: \"A seed phrase, seed recovery phrase or backup seed phrase is a list of words which store all the information needed to recover Bitcoin funds on-chain.\",\n },\n];\n\nconst features = [\n {\n Icon: FileTextIcon,\n name: \"Save your files\",\n description: \"We automatically save your files as you type.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-1\",\n background: (\n <Marquee\n pauseOnHover\n className=\"absolute top-10 [--duration:20s] [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] \"\n >\n {files.map((f, idx) => (\n <figure\n key={idx}\n className={cn(\n \"relative w-32 cursor-pointer overflow-hidden rounded-xl border p-4\",\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n \"transform-gpu blur-[1px] transition-all duration-300 ease-out hover:blur-none\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white \">\n {f.name}\n </figcaption>\n </div>\n </div>\n <blockquote className=\"mt-2 text-xs\">{f.body}</blockquote>\n </figure>\n ))}\n </Marquee>\n ),\n },\n {\n Icon: BellIcon,\n name: \"Notifications\",\n description: \"Get notified when something happens.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-2\",\n background: (\n <AnimatedListDemo className=\"absolute right-2 top-4 h-[300px] w-full scale-75 border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-90\" />\n ),\n },\n {\n Icon: Share2Icon,\n name: \"Integrations\",\n description: \"Supports 100+ integrations and counting.\",\n href: \"#\",\n cta: \"Learn more\",\n className: \"col-span-3 lg:col-span-2\",\n background: (\n <AnimatedBeamMultipleOutputDemo className=\"absolute right-2 top-4 h-[300px] border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-105\" />\n ),\n },\n {\n Icon: CalendarIcon,\n name: \"Calendar\",\n description: \"Use the calendar to filter your files by date.\",\n className: \"col-span-3 lg:col-span-1\",\n href: \"#\",\n cta: \"Learn more\",\n background: (\n <Calendar\n mode=\"single\"\n selected={new Date(2022, 4, 11, 0, 0, 0)}\n className=\"absolute right-0 top-10 origin-top scale-75 rounded-md border transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] group-hover:scale-90\"\n />\n ),\n },\n];\n\nexport default function BentoDemo() {\n return (\n <BentoGrid>\n {features.map((feature, idx) => (\n <BentoCard key={idx} {...feature} />\n ))}\n </BentoGrid>\n );\n}\n","type": "registry:example","target": "components/bento-demo.tsx"},{"path": "registry/magicui/bento-grid.tsx",- "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n",+ "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"bg-background [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)]\",\n // dark styles\n \"transform-gpu dark:bg-background dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n","type": "registry:ui","target": "components/magicui/bento-grid.tsx"},@@ -36,7 +36,7 @@},{"path": "registry/magicui/animated-list.tsx",- "content": "\"use client\";\n\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => prevIndex + 1);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={`flex flex-col items-center gap-4 ${className}`}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatePresence, motion } from \"motion/react\";\nimport React, {\n ComponentPropsWithoutRef,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\n\nexport function AnimatedListItem({ children }: { children: React.ReactNode }) {\n const animations = {\n initial: { scale: 0, opacity: 0 },\n animate: { scale: 1, opacity: 1, originY: 0 },\n exit: { scale: 0, opacity: 0 },\n transition: { type: \"spring\", stiffness: 350, damping: 40 },\n };\n\n return (\n <motion.div {...animations} layout className=\"mx-auto w-full\">\n {children}\n </motion.div>\n );\n}\n\nexport interface AnimatedListProps extends ComponentPropsWithoutRef<\"div\"> {\n children: React.ReactNode;\n delay?: number;\n}\n\nexport const AnimatedList = React.memo(\n ({ children, className, delay = 1000, ...props }: AnimatedListProps) => {\n const [index, setIndex] = useState(0);\n const childrenArray = useMemo(\n () => React.Children.toArray(children),\n [children],\n );\n\n useEffect(() => {\n if (index < childrenArray.length - 1) {\n const timeout = setTimeout(() => {\n setIndex((prevIndex) => (prevIndex + 1) % childrenArray.length);\n }, delay);\n\n return () => clearTimeout(timeout);\n }\n }, [index, delay, childrenArray.length]);\n\n const itemsToShow = useMemo(() => {\n const result = childrenArray.slice(0, index + 1).reverse();\n return result;\n }, [index, childrenArray]);\n\n return (\n <div\n className={cn(`flex flex-col items-center gap-4`, className)}\n {...props}\n >\n <AnimatePresence>\n {itemsToShow.map((item) => (\n <AnimatedListItem key={(item as React.ReactElement).key}>\n {item}\n </AnimatedListItem>\n ))}\n </AnimatePresence>\n </div>\n );\n },\n);\n\nAnimatedList.displayName = \"AnimatedList\";\n","type": "registry:ui","target": "components/magicui/animated-list.tsx"},@@ -48,13 +48,13 @@},{"path": "registry/example/animated-list-demo.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedList } from \"@/components/magicui/animated-list\";\n\ninterface Item {\n name: string;\n description: string;\n icon: string;\n color: string;\n time: string;\n}\n\nlet notifications = [\n {\n name: \"Payment received\",\n description: \"Magic UI\",\n time: \"15m ago\",\n\n icon: \"💸\",\n color: \"#00C9A7\",\n },\n {\n name: \"User signed up\",\n description: \"Magic UI\",\n time: \"10m ago\",\n icon: \"👤\",\n color: \"#FFB800\",\n },\n {\n name: \"New message\",\n description: \"Magic UI\",\n time: \"5m ago\",\n icon: \"💬\",\n color: \"#FF3D71\",\n },\n {\n name: \"New event\",\n description: \"Magic UI\",\n time: \"2m ago\",\n icon: \"🗞️\",\n color: \"#1E86FF\",\n },\n];\n\nnotifications = Array.from({ length: 10 }, () => notifications).flat();\n\nconst Notification = ({ name, description, icon, color, time }: Item) => {\n return (\n <figure\n className={cn(\n \"relative mx-auto min-h-fit w-full max-w-[400px] cursor-pointer overflow-hidden rounded-2xl p-4\",\n // animation styles\n \"transition-all duration-200 ease-in-out hover:scale-[103%]\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-3\">\n <div\n className=\"flex size-10 items-center justify-center rounded-2xl\"\n style={{\n backgroundColor: color,\n }}\n >\n <span className=\"text-lg\">{icon}</span>\n </div>\n <div className=\"flex flex-col overflow-hidden\">\n <figcaption className=\"flex flex-row items-center whitespace-pre text-lg font-medium dark:text-white \">\n <span className=\"text-sm sm:text-lg\">{name}</span>\n <span className=\"mx-1\">·</span>\n <span className=\"text-xs text-gray-500\">{time}</span>\n </figcaption>\n <p className=\"text-sm font-normal dark:text-white/60\">\n {description}\n </p>\n </div>\n </div>\n </figure>\n );\n};\n\nexport default function AnimatedListDemo({\n className,\n}: {\n className?: string;\n}) {\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full flex-col overflow-hidden rounded-lg border bg-background p-6 md:shadow-xl\",\n className,\n )}\n >\n <AnimatedList>\n {notifications.map((item, idx) => (\n <Notification {...item} key={idx} />\n ))}\n </AnimatedList>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedList } from \"@/components/magicui/animated-list\";\n\ninterface Item {\n name: string;\n description: string;\n icon: string;\n color: string;\n time: string;\n}\n\nlet notifications = [\n {\n name: \"Payment received\",\n description: \"Magic UI\",\n time: \"15m ago\",\n\n icon: \"💸\",\n color: \"#00C9A7\",\n },\n {\n name: \"User signed up\",\n description: \"Magic UI\",\n time: \"10m ago\",\n icon: \"👤\",\n color: \"#FFB800\",\n },\n {\n name: \"New message\",\n description: \"Magic UI\",\n time: \"5m ago\",\n icon: \"💬\",\n color: \"#FF3D71\",\n },\n {\n name: \"New event\",\n description: \"Magic UI\",\n time: \"2m ago\",\n icon: \"🗞️\",\n color: \"#1E86FF\",\n },\n];\n\nnotifications = Array.from({ length: 10 }, () => notifications).flat();\n\nconst Notification = ({ name, description, icon, color, time }: Item) => {\n return (\n <figure\n className={cn(\n \"relative mx-auto min-h-fit w-full max-w-[400px] cursor-pointer overflow-hidden rounded-2xl p-4\",\n // animation styles\n \"transition-all duration-200 ease-in-out hover:scale-[103%]\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-transparent dark:backdrop-blur-md dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-3\">\n <div\n className=\"flex size-10 items-center justify-center rounded-2xl\"\n style={{\n backgroundColor: color,\n }}\n >\n <span className=\"text-lg\">{icon}</span>\n </div>\n <div className=\"flex flex-col overflow-hidden\">\n <figcaption className=\"flex flex-row items-center whitespace-pre text-lg font-medium dark:text-white \">\n <span className=\"text-sm sm:text-lg\">{name}</span>\n <span className=\"mx-1\">·</span>\n <span className=\"text-xs text-gray-500\">{time}</span>\n </figcaption>\n <p className=\"text-sm font-normal dark:text-white/60\">\n {description}\n </p>\n </div>\n </div>\n </figure>\n );\n};\n\nexport default function AnimatedListDemo({\n className,\n}: {\n className?: string;\n}) {\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full flex-col overflow-hidden p-2\",\n className,\n )}\n >\n <AnimatedList>\n {notifications.map((item, idx) => (\n <Notification {...item} key={idx} />\n ))}\n </AnimatedList>\n\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/animated-list-demo.tsx"},{"path": "registry/example/animated-beam-multiple-outputs.tsx",- "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n </div>\n\n {/* AnimatedBeams */}\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n duration={3}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n",+ "content": "\"use client\";\n\nimport React, { forwardRef, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { AnimatedBeam } from \"@/components/magicui/animated-beam\";\n\nconst Circle = forwardRef<\n HTMLDivElement,\n { className?: string; children?: React.ReactNode }\n>(({ className, children }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]\",\n className,\n )}\n >\n {children}\n </div>\n );\n});\n\nCircle.displayName = \"Circle\";\n\nexport default function AnimatedBeamMultipleOutputDemo({\n className,\n}: {\n className?: string;\n}) {\n const containerRef = useRef<HTMLDivElement>(null);\n const div1Ref = useRef<HTMLDivElement>(null);\n const div2Ref = useRef<HTMLDivElement>(null);\n const div3Ref = useRef<HTMLDivElement>(null);\n const div4Ref = useRef<HTMLDivElement>(null);\n const div5Ref = useRef<HTMLDivElement>(null);\n const div6Ref = useRef<HTMLDivElement>(null);\n const div7Ref = useRef<HTMLDivElement>(null);\n\n return (\n <div\n className={cn(\n \"relative flex h-[500px] w-full items-center justify-center overflow-hidden p-10\",\n className,\n )}\n ref={containerRef}\n >\n <div className=\"flex size-full max-w-lg flex-row items-stretch justify-between gap-10\">\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div7Ref}>\n <Icons.user />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center\">\n <Circle ref={div6Ref} className=\"size-16\">\n <Icons.openai />\n </Circle>\n </div>\n <div className=\"flex flex-col justify-center gap-2\">\n <Circle ref={div1Ref}>\n <Icons.googleDrive />\n </Circle>\n <Circle ref={div2Ref}>\n <Icons.googleDocs />\n </Circle>\n <Circle ref={div3Ref}>\n <Icons.whatsapp />\n </Circle>\n <Circle ref={div4Ref}>\n <Icons.messenger />\n </Circle>\n <Circle ref={div5Ref}>\n <Icons.notion />\n </Circle>\n </div>\n </div>\n\n {/* AnimatedBeams */}\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div1Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div2Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div3Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div4Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div5Ref}\n toRef={div6Ref}\n duration={3}\n />\n <AnimatedBeam\n containerRef={containerRef}\n fromRef={div6Ref}\n toRef={div7Ref}\n duration={3}\n />\n </div>\n );\n}\n\nconst Icons = {\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n googleDocs: () => (\n <svg\n width=\"47px\"\n height=\"65px\"\n viewBox=\"0 0 47 65\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-1\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-3\"\n />\n <linearGradient\n x1=\"50.0053945%\"\n y1=\"8.58610612%\"\n x2=\"50.0053945%\"\n y2=\"100.013939%\"\n id=\"linearGradient-5\"\n >\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.2\" offset=\"0%\" />\n <stop stopColor=\"#1A237E\" stopOpacity=\"0.02\" offset=\"100%\" />\n </linearGradient>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-6\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-8\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-10\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-12\"\n />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"path-14\"\n />\n <radialGradient\n cx=\"3.16804688%\"\n cy=\"2.71744318%\"\n fx=\"3.16804688%\"\n fy=\"2.71744318%\"\n r=\"161.248516%\"\n gradientTransform=\"translate(0.031680,0.027174),scale(1.000000,0.723077),translate(-0.031680,-0.027174)\"\n id=\"radialGradient-16\"\n >\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0.1\" offset=\"0%\" />\n <stop stopColor=\"#FFFFFF\" stopOpacity=\"0\" offset=\"100%\" />\n </radialGradient>\n </defs>\n <g\n id=\"Page-1\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n >\n <g transform=\"translate(-451.000000, -463.000000)\">\n <g id=\"Hero\" transform=\"translate(0.000000, 63.000000)\">\n <g id=\"Personal\" transform=\"translate(277.000000, 309.000000)\">\n <g id=\"Docs-icon\" transform=\"translate(174.000000, 91.000000)\">\n <g id=\"Group\">\n <g id=\"Clipped\">\n <mask id=\"mask-2\" fill=\"white\">\n <use xlinkHref=\"#path-1\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L36.71875,10.3409091 L29.375,0 Z\"\n id=\"Path\"\n fill=\"#4285F4\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-2)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-4\" fill=\"white\">\n <use xlinkHref=\"#path-3\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <polygon\n id=\"Path\"\n fill=\"url(#linearGradient-5)\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-4)\"\n points=\"30.6638281 16.4309659 47 32.8582386 47 17.7272727\"\n ></polygon>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-7\" fill=\"white\">\n <use xlinkHref=\"#path-6\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M11.75,47.2727273 L35.25,47.2727273 L35.25,44.3181818 L11.75,44.3181818 L11.75,47.2727273 Z M11.75,53.1818182 L29.375,53.1818182 L29.375,50.2272727 L11.75,50.2272727 L11.75,53.1818182 Z M11.75,32.5 L11.75,35.4545455 L35.25,35.4545455 L35.25,32.5 L11.75,32.5 Z M11.75,41.3636364 L35.25,41.3636364 L35.25,38.4090909 L11.75,38.4090909 L11.75,41.3636364 Z\"\n id=\"Shape\"\n fill=\"#F1F1F1\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-7)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-9\" fill=\"white\">\n <use xlinkHref=\"#path-8\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <g id=\"Group\" mask=\"url(#mask-9)\">\n <g transform=\"translate(26.437500, -2.954545)\">\n <path\n d=\"M2.9375,2.95454545 L2.9375,16.25 C2.9375,18.6985795 4.90929688,20.6818182 7.34375,20.6818182 L20.5625,20.6818182 L2.9375,2.95454545 Z\"\n id=\"Path\"\n fill=\"#A1C2FA\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-11\" fill=\"white\">\n <use xlinkHref=\"#path-10\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,4.80113636 C0,2.36363636 1.9828125,0.369318182 4.40625,0.369318182 L29.375,0.369318182 L29.375,0 L4.40625,0 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-11)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-13\" fill=\"white\">\n <use xlinkHref=\"#path-12\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M42.59375,64.6306818 L4.40625,64.6306818 C1.9828125,64.6306818 0,62.6363636 0,60.1988636 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,60.1988636 C47,62.6363636 45.0171875,64.6306818 42.59375,64.6306818 Z\"\n id=\"Path\"\n fillOpacity=\"0.2\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-13)\"\n />\n </g>\n <g id=\"Clipped\">\n <mask id=\"mask-15\" fill=\"white\">\n <use xlinkHref=\"#path-14\" />\n </mask>\n <g id=\"SVGID_1_\" />\n <path\n d=\"M33.78125,17.7272727 C31.3467969,17.7272727 29.375,15.7440341 29.375,13.2954545 L29.375,13.6647727 C29.375,16.1133523 31.3467969,18.0965909 33.78125,18.0965909 L47,18.0965909 L47,17.7272727 L33.78125,17.7272727 Z\"\n id=\"Path\"\n fillOpacity=\"0.1\"\n fill=\"#1A237E\"\n fillRule=\"nonzero\"\n mask=\"url(#mask-15)\"\n />\n </g>\n </g>\n <path\n d=\"M29.375,0 L4.40625,0 C1.9828125,0 0,1.99431818 0,4.43181818 L0,60.5681818 C0,63.0056818 1.9828125,65 4.40625,65 L42.59375,65 C45.0171875,65 47,63.0056818 47,60.5681818 L47,17.7272727 L29.375,0 Z\"\n id=\"Path\"\n fill=\"url(#radialGradient-16)\"\n fillRule=\"nonzero\"\n />\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>\n ),\n zapier: () => (\n <svg\n width=\"105\"\n height=\"28\"\n viewBox=\"0 0 244 66\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M57.1877 45.2253L57.1534 45.1166L78.809 25.2914V15.7391H44.0663V25.2914H64.8181L64.8524 25.3829L43.4084 45.2253V54.7775H79.1579V45.2253H57.1877Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M100.487 14.8297C96.4797 14.8297 93.2136 15.434 90.6892 16.6429C88.3376 17.6963 86.3568 19.4321 85.0036 21.6249C83.7091 23.8321 82.8962 26.2883 82.6184 28.832L93.1602 30.3135C93.5415 28.0674 94.3042 26.4754 95.4482 25.5373C96.7486 24.5562 98.3511 24.0605 99.9783 24.136C102.118 24.136 103.67 24.7079 104.634 25.8519C105.59 26.9959 106.076 28.5803 106.076 30.6681V31.7091H95.9401C90.7807 31.7091 87.0742 32.8531 84.8206 35.1411C82.5669 37.429 81.442 40.4492 81.4458 44.2014C81.4458 48.0452 82.5707 50.9052 84.8206 52.7813C87.0704 54.6574 89.8999 55.5897 93.3089 55.5783C97.5379 55.5783 100.791 54.1235 103.067 51.214C104.412 49.426 105.372 47.3793 105.887 45.2024H106.27L107.723 54.7546H117.275V30.5651C117.275 25.5659 115.958 21.6936 113.323 18.948C110.688 16.2024 106.409 14.8297 100.487 14.8297ZM103.828 44.6475C102.312 45.9116 100.327 46.5408 97.8562 46.5408C95.8199 46.5408 94.4052 46.1843 93.6121 45.4712C93.2256 45.1338 92.9182 44.7155 92.7116 44.246C92.505 43.7764 92.4043 43.2671 92.4166 42.7543C92.3941 42.2706 92.4702 41.7874 92.6403 41.3341C92.8104 40.8808 93.071 40.4668 93.4062 40.1174C93.7687 39.7774 94.1964 39.5145 94.6633 39.3444C95.1303 39.1743 95.6269 39.1006 96.1231 39.1278H106.093V39.7856C106.113 40.7154 105.919 41.6374 105.527 42.4804C105.134 43.3234 104.553 44.0649 103.828 44.6475Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M175.035 15.7391H163.75V54.7833H175.035V15.7391Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M241.666 15.7391C238.478 15.7391 235.965 16.864 234.127 19.1139C232.808 20.7307 231.805 23.1197 231.119 26.2809H230.787L229.311 15.7391H219.673V54.7775H230.959V34.7578C230.959 32.2335 231.55 30.2982 232.732 28.9521C233.914 27.606 236.095 26.933 239.275 26.933H243.559V15.7391H241.666Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M208.473 17.0147C205.839 15.4474 202.515 14.6657 198.504 14.6695C192.189 14.6695 187.247 16.4675 183.678 20.0634C180.108 23.6593 178.324 28.6166 178.324 34.9352C178.233 38.7553 179.067 42.5407 180.755 45.9689C182.3 49.0238 184.706 51.5592 187.676 53.2618C190.665 54.9892 194.221 55.8548 198.344 55.8586C201.909 55.8586 204.887 55.3095 207.278 54.2113C209.526 53.225 211.483 51.6791 212.964 49.7211C214.373 47.7991 215.42 45.6359 216.052 43.3377L206.329 40.615C205.919 42.1094 205.131 43.4728 204.041 44.5732C202.942 45.6714 201.102 46.2206 198.521 46.2206C195.451 46.2206 193.163 45.3416 191.657 43.5837C190.564 42.3139 189.878 40.5006 189.575 38.1498H216.201C216.31 37.0515 216.367 36.1306 216.367 35.387V32.9561C216.431 29.6903 215.757 26.4522 214.394 23.4839C213.118 20.7799 211.054 18.5248 208.473 17.0147ZM198.178 23.9758C202.754 23.9758 205.348 26.2275 205.962 30.731H189.775C190.032 29.2284 190.655 27.8121 191.588 26.607C193.072 24.8491 195.268 23.972 198.178 23.9758Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M169.515 0.00366253C168.666 -0.0252113 167.82 0.116874 167.027 0.421484C166.234 0.726094 165.511 1.187 164.899 1.77682C164.297 2.3723 163.824 3.08658 163.512 3.87431C163.2 4.66204 163.055 5.50601 163.086 6.35275C163.056 7.20497 163.201 8.05433 163.514 8.84781C163.826 9.64129 164.299 10.3619 164.902 10.9646C165.505 11.5673 166.226 12.0392 167.02 12.3509C167.814 12.6626 168.663 12.8074 169.515 12.7762C170.362 12.8082 171.206 12.6635 171.994 12.3514C172.782 12.0392 173.496 11.5664 174.091 10.963C174.682 10.3534 175.142 9.63077 175.446 8.83849C175.75 8.04621 175.89 7.20067 175.859 6.35275C175.898 5.50985 175.761 4.66806 175.456 3.88115C175.151 3.09424 174.686 2.37951 174.09 1.78258C173.493 1.18565 172.779 0.719644 171.992 0.414327C171.206 0.109011 170.364 -0.0288946 169.521 0.00938803L169.515 0.00366253Z\"\n fill=\"#201515\"\n />\n <path\n d=\"M146.201 14.6695C142.357 14.6695 139.268 15.8764 136.935 18.2902C135.207 20.0786 133.939 22.7479 133.131 26.2981H132.771L131.295 15.7563H121.657V66H132.942V45.3054H133.354C133.698 46.6852 134.181 48.0267 134.795 49.3093C135.75 51.3986 137.316 53.1496 139.286 54.3314C141.328 55.446 143.629 56.0005 145.955 55.9387C150.68 55.9387 154.277 54.0988 156.748 50.419C159.219 46.7392 160.455 41.6046 160.455 35.0153C160.455 28.6509 159.259 23.6689 156.869 20.0691C154.478 16.4694 150.922 14.6695 146.201 14.6695ZM147.345 42.9602C146.029 44.8668 143.97 45.8201 141.167 45.8201C140.012 45.8735 138.86 45.6507 137.808 45.1703C136.755 44.6898 135.832 43.9656 135.116 43.0574C133.655 41.2233 132.927 38.7122 132.931 35.5243V34.7807C132.931 31.5432 133.659 29.0646 135.116 27.3448C136.572 25.625 138.59 24.7747 141.167 24.7937C144.02 24.7937 146.092 25.6994 147.385 27.5107C148.678 29.322 149.324 31.8483 149.324 35.0896C149.332 38.4414 148.676 41.065 147.356 42.9602H147.345Z\"\n fill=\"#201515\"\n />\n <path d=\"M39.0441 45.2253H0V54.789H39.0441V45.2253Z\" fill=\"#FF4F00\" />\n </svg>\n ),\n messenger: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <radialGradient\n id=\"8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1\"\n cx=\"11.087\"\n cy=\"7.022\"\n r=\"47.612\"\n gradientTransform=\"matrix(1 0 0 -1 0 50)\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1292ff\"></stop>\n <stop offset=\".079\" stopColor=\"#2982ff\"></stop>\n <stop offset=\".23\" stopColor=\"#4e69ff\"></stop>\n <stop offset=\".351\" stopColor=\"#6559ff\"></stop>\n <stop offset=\".428\" stopColor=\"#6d53ff\"></stop>\n <stop offset=\".754\" stopColor=\"#df47aa\"></stop>\n <stop offset=\".946\" stopColor=\"#ff6257\"></stop>\n </radialGradient>\n <path\n fill=\"url(#8O3wK6b5ASW2Wn6hRCB5xa_YFbzdUk7Q3F8_gr1)\"\n d=\"M44,23.5C44,34.27,35.05,43,24,43c-1.651,0-3.25-0.194-4.784-0.564\tc-0.465-0.112-0.951-0.069-1.379,0.145L13.46,44.77C12.33,45.335,11,44.513,11,43.249v-4.025c0-0.575-0.257-1.111-0.681-1.499\tC6.425,34.165,4,29.11,4,23.5C4,12.73,12.95,4,24,4S44,12.73,44,23.5z\"\n />\n <path\n d=\"M34.992,17.292c-0.428,0-0.843,0.142-1.2,0.411l-5.694,4.215\tc-0.133,0.1-0.28,0.15-0.435,0.15c-0.15,0-0.291-0.047-0.41-0.136l-3.972-2.99c-0.808-0.601-1.76-0.918-2.757-0.918\tc-1.576,0-3.025,0.791-3.876,2.116l-1.211,1.891l-4.12,6.695c-0.392,0.614-0.422,1.372-0.071,2.014\tc0.358,0.654,1.034,1.06,1.764,1.06c0.428,0,0.843-0.142,1.2-0.411l5.694-4.215c0.133-0.1,0.28-0.15,0.435-0.15\tc0.15,0,0.291,0.047,0.41,0.136l3.972,2.99c0.809,0.602,1.76,0.918,2.757,0.918c1.576,0,3.025-0.791,3.876-2.116l1.211-1.891\tl4.12-6.695c0.392-0.614,0.422-1.372,0.071-2.014C36.398,17.698,35.722,17.292,34.992,17.292L34.992,17.292z\"\n opacity=\".05\"\n />\n <path\n d=\"M34.992,17.792c-0.319,0-0.63,0.107-0.899,0.31l-5.697,4.218\tc-0.216,0.163-0.468,0.248-0.732,0.248c-0.259,0-0.504-0.082-0.71-0.236l-3.973-2.991c-0.719-0.535-1.568-0.817-2.457-0.817\tc-1.405,0-2.696,0.705-3.455,1.887l-1.21,1.891l-4.115,6.688c-0.297,0.465-0.32,1.033-0.058,1.511c0.266,0.486,0.787,0.8,1.325,0.8\tc0.319,0,0.63-0.107,0.899-0.31l5.697-4.218c0.216-0.163,0.468-0.248,0.732-0.248c0.259,0,0.504,0.082,0.71,0.236l3.973,2.991\tc0.719,0.535,1.568,0.817,2.457,0.817c1.405,0,2.696-0.705,3.455-1.887l1.21-1.891l4.115-6.688c0.297-0.465,0.32-1.033,0.058-1.511\tC36.051,18.106,35.531,17.792,34.992,17.792L34.992,17.792z\"\n opacity=\".07\"\n />\n <path\n fill=\"#ffffff\"\n d=\"M34.394,18.501l-5.7,4.22c-0.61,0.46-1.44,0.46-2.04,0.01L22.68,19.74\tc-1.68-1.25-4.06-0.82-5.19,0.94l-1.21,1.89l-4.11,6.68c-0.6,0.94,0.55,2.01,1.44,1.34l5.7-4.22c0.61-0.46,1.44-0.46,2.04-0.01\tl3.974,2.991c1.68,1.25,4.06,0.82,5.19-0.94l1.21-1.89l4.11-6.68C36.434,18.901,35.284,17.831,34.394,18.501z\"\n />\n </svg>\n ),\n user: () => (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"#000000\"\n strokeWidth=\"2\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\" />\n <circle cx=\"12\" cy=\"7\" r=\"4\" />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/animated-beam-multiple-outputs.tsx"}diff --git a/public/r/bento-grid.json b/public/r/bento-grid.jsonindex 631747db..a72049d0 100644--- a/public/r/bento-grid.json+++ b/public/r/bento-grid.json@@ -13,7 +13,7 @@"files": [{"path": "registry/magicui/bento-grid.tsx",- "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"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)]\",\n // dark styles\n \"transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n",+ "content": "import { ArrowRightIcon } from \"@radix-ui/react-icons\";\nimport { ComponentPropsWithoutRef, ReactNode } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\ninterface BentoGridProps extends ComponentPropsWithoutRef<\"div\"> {\n children: ReactNode;\n className?: string;\n}\n\ninterface BentoCardProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n className: string;\n background: ReactNode;\n Icon: React.ElementType;\n description: string;\n href: string;\n cta: string;\n}\n\nconst BentoGrid = ({ children, className, ...props }: BentoGridProps) => {\n return (\n <div\n className={cn(\n \"grid w-full auto-rows-[22rem] grid-cols-3 gap-4\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n};\n\nconst BentoCard = ({\n name,\n className,\n background,\n Icon,\n description,\n href,\n cta,\n ...props\n}: BentoCardProps) => (\n <div\n key={name}\n className={cn(\n \"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl\",\n // light styles\n \"bg-background [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)]\",\n // dark styles\n \"transform-gpu dark:bg-background dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]\",\n className,\n )}\n {...props}\n >\n <div>{background}</div>\n <div className=\"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10\">\n <Icon className=\"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75\" />\n <h3 className=\"text-xl font-semibold text-neutral-700 dark:text-neutral-300\">\n {name}\n </h3>\n <p className=\"max-w-lg text-neutral-400\">{description}</p>\n </div>\n\n <div\n className={cn(\n \"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100\",\n )}\n >\n <Button variant=\"ghost\" asChild size=\"sm\" className=\"pointer-events-auto\">\n <a href={href}>\n {cta}\n <ArrowRightIcon className=\"ms-2 h-4 w-4 rtl:rotate-180\" />\n </a>\n </Button>\n </div>\n <div className=\"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10\" />\n </div>\n);\n\nexport { BentoCard, BentoGrid };\n","type": "registry:ui","target": "components/magicui/bento-grid.tsx"}diff --git a/public/r/border-beam-demo.json b/public/r/border-beam-demo.jsonindex 3c37d2fa..40957f70 100644--- a/public/r/border-beam-demo.json+++ b/public/r/border-beam-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/border-beam-demo.tsx",- "content": "import { BorderBeam } from \"@/components/magicui/border-beam\";\n\nexport default function BorderBeamDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <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\">\n Border Beam\n </span>\n <BorderBeam size={250} duration={12} delay={9} />\n </div>\n );\n}\n",+ "content": "import { BorderBeam } from \"@/components/magicui/border-beam\";\n\nexport default function BorderBeamDemo() {\n return (\n <div className=\"relative size-48 overflow-hidden rounded-lg border\">\n <BorderBeam />\n </div>\n );\n}\n","type": "registry:example","target": "components/border-beam-demo.tsx"},diff --git a/public/r/code-comparison-demo.json b/public/r/code-comparison-demo.jsonindex 9e870313..35b8bb05 100644--- a/public/r/code-comparison-demo.json+++ b/public/r/code-comparison-demo.json@@ -16,7 +16,7 @@},{"path": "registry/magicui/code-comparison.tsx",- "content": "\"use client\";\n\nimport { FileIcon } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\ninterface CodeComparisonProps {\n beforeCode: string;\n afterCode: string;\n language: string;\n filename: string;\n lightTheme: string;\n darkTheme: string;\n}\n\nexport function CodeComparison({\n beforeCode,\n afterCode,\n language,\n filename,\n lightTheme,\n darkTheme,\n}: CodeComparisonProps) {\n const { theme, systemTheme } = useTheme();\n const [highlightedBefore, setHighlightedBefore] = useState(\"\");\n const [highlightedAfter, setHighlightedAfter] = useState(\"\");\n\n useEffect(() => {\n const currentTheme = theme === \"system\" ? systemTheme : theme;\n const selectedTheme = currentTheme === \"dark\" ? darkTheme : lightTheme;\n\n async function highlightCode() {\n try {\n const { codeToHtml } = await import(\"shiki\");\n const before = await codeToHtml(beforeCode, {\n lang: language,\n theme: selectedTheme,\n });\n const after = await codeToHtml(afterCode, {\n lang: language,\n theme: selectedTheme,\n });\n setHighlightedBefore(before);\n setHighlightedAfter(after);\n } catch (error) {\n console.error(\"Error highlighting code:\", error);\n setHighlightedBefore(`<pre>${beforeCode}</pre>`);\n setHighlightedAfter(`<pre>${afterCode}</pre>`);\n }\n }\n highlightCode();\n }, [\n theme,\n systemTheme,\n beforeCode,\n afterCode,\n language,\n lightTheme,\n darkTheme,\n ]);\n\n const renderCode = (code: string, highlighted: string) => {\n if (highlighted) {\n return (\n <div\n className=\"h-full overflow-auto bg-background font-mono text-xs [&>pre]:h-full [&>pre]:!bg-transparent [&>pre]:p-4 [&_code]:break-all\"\n dangerouslySetInnerHTML={{ __html: highlighted }}\n />\n );\n } else {\n return (\n <pre className=\"h-full overflow-auto break-all bg-background p-4 font-mono text-xs text-foreground\">\n {code}\n </pre>\n );\n }\n };\n return (\n <div className=\"mx-auto w-full max-w-5xl\">\n <div className=\"relative w-full overflow-hidden rounded-xl border border-border\">\n <div className=\"relative grid md:grid-cols-2 md:divide-x md:divide-border\">\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">before</span>\n </div>\n {renderCode(beforeCode, highlightedBefore)}\n </div>\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">after</span>\n </div>\n {renderCode(afterCode, highlightedAfter)}\n </div>\n </div>\n <div className=\"absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md bg-accent text-xs text-foreground\">\n VS\n </div>\n </div>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { FileIcon } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\ninterface CodeComparisonProps {\n beforeCode: string;\n afterCode: string;\n language: string;\n filename: string;\n lightTheme: string;\n darkTheme: string;\n}\n\nexport function CodeComparison({\n beforeCode,\n afterCode,\n language,\n filename,\n lightTheme,\n darkTheme,\n}: CodeComparisonProps) {\n const { theme, systemTheme } = useTheme();\n const [highlightedBefore, setHighlightedBefore] = useState(\"\");\n const [highlightedAfter, setHighlightedAfter] = useState(\"\");\n\n useEffect(() => {\n const currentTheme = theme === \"system\" ? systemTheme : theme;\n const selectedTheme = currentTheme === \"dark\" ? darkTheme : lightTheme;\n\n async function highlightCode() {\n try {\n const { codeToHtml } = await import(\"shiki\");\n const before = await codeToHtml(beforeCode, {\n lang: language,\n theme: selectedTheme,\n });\n const after = await codeToHtml(afterCode, {\n lang: language,\n theme: selectedTheme,\n });\n setHighlightedBefore(before);\n setHighlightedAfter(after);\n } catch (error) {\n console.error(\"Error highlighting code:\", error);\n setHighlightedBefore(`<pre>${beforeCode}</pre>`);\n setHighlightedAfter(`<pre>${afterCode}</pre>`);\n }\n }\n highlightCode();\n }, [\n theme,\n systemTheme,\n beforeCode,\n afterCode,\n language,\n lightTheme,\n darkTheme,\n ]);\n\n const renderCode = (code: string, highlighted: string) => {\n if (highlighted) {\n return (\n <div\n className=\"h-full overflow-auto bg-background font-mono text-xs [&>pre]:h-full [&>pre]:!bg-transparent [&>pre]:p-4 [&_code]:break-all\"\n dangerouslySetInnerHTML={{ __html: highlighted }}\n />\n );\n } else {\n return (\n <pre className=\"h-full overflow-auto break-all bg-background p-4 font-mono text-xs text-foreground\">\n {code}\n </pre>\n );\n }\n };\n return (\n <div className=\"mx-auto w-full max-w-5xl\">\n <div className=\"relative w-full overflow-hidden rounded-md border border-border\">\n <div className=\"relative grid md:grid-cols-2 md:divide-x md:divide-border\">\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">before</span>\n </div>\n {renderCode(beforeCode, highlightedBefore)}\n </div>\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">after</span>\n </div>\n {renderCode(afterCode, highlightedAfter)}\n </div>\n </div>\n <div className=\"absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md bg-accent text-xs text-foreground\">\n VS\n </div>\n </div>\n </div>\n );\n}\n","type": "registry:ui","target": "components/magicui/code-comparison.tsx"}diff --git a/public/r/code-comparison.json b/public/r/code-comparison.jsonindex 03225c7c..658eabb2 100644--- a/public/r/code-comparison.json+++ b/public/r/code-comparison.json@@ -11,7 +11,7 @@"files": [{"path": "registry/magicui/code-comparison.tsx",- "content": "\"use client\";\n\nimport { FileIcon } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\ninterface CodeComparisonProps {\n beforeCode: string;\n afterCode: string;\n language: string;\n filename: string;\n lightTheme: string;\n darkTheme: string;\n}\n\nexport function CodeComparison({\n beforeCode,\n afterCode,\n language,\n filename,\n lightTheme,\n darkTheme,\n}: CodeComparisonProps) {\n const { theme, systemTheme } = useTheme();\n const [highlightedBefore, setHighlightedBefore] = useState(\"\");\n const [highlightedAfter, setHighlightedAfter] = useState(\"\");\n\n useEffect(() => {\n const currentTheme = theme === \"system\" ? systemTheme : theme;\n const selectedTheme = currentTheme === \"dark\" ? darkTheme : lightTheme;\n\n async function highlightCode() {\n try {\n const { codeToHtml } = await import(\"shiki\");\n const before = await codeToHtml(beforeCode, {\n lang: language,\n theme: selectedTheme,\n });\n const after = await codeToHtml(afterCode, {\n lang: language,\n theme: selectedTheme,\n });\n setHighlightedBefore(before);\n setHighlightedAfter(after);\n } catch (error) {\n console.error(\"Error highlighting code:\", error);\n setHighlightedBefore(`<pre>${beforeCode}</pre>`);\n setHighlightedAfter(`<pre>${afterCode}</pre>`);\n }\n }\n highlightCode();\n }, [\n theme,\n systemTheme,\n beforeCode,\n afterCode,\n language,\n lightTheme,\n darkTheme,\n ]);\n\n const renderCode = (code: string, highlighted: string) => {\n if (highlighted) {\n return (\n <div\n className=\"h-full overflow-auto bg-background font-mono text-xs [&>pre]:h-full [&>pre]:!bg-transparent [&>pre]:p-4 [&_code]:break-all\"\n dangerouslySetInnerHTML={{ __html: highlighted }}\n />\n );\n } else {\n return (\n <pre className=\"h-full overflow-auto break-all bg-background p-4 font-mono text-xs text-foreground\">\n {code}\n </pre>\n );\n }\n };\n return (\n <div className=\"mx-auto w-full max-w-5xl\">\n <div className=\"relative w-full overflow-hidden rounded-xl border border-border\">\n <div className=\"relative grid md:grid-cols-2 md:divide-x md:divide-border\">\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">before</span>\n </div>\n {renderCode(beforeCode, highlightedBefore)}\n </div>\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">after</span>\n </div>\n {renderCode(afterCode, highlightedAfter)}\n </div>\n </div>\n <div className=\"absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md bg-accent text-xs text-foreground\">\n VS\n </div>\n </div>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { FileIcon } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\ninterface CodeComparisonProps {\n beforeCode: string;\n afterCode: string;\n language: string;\n filename: string;\n lightTheme: string;\n darkTheme: string;\n}\n\nexport function CodeComparison({\n beforeCode,\n afterCode,\n language,\n filename,\n lightTheme,\n darkTheme,\n}: CodeComparisonProps) {\n const { theme, systemTheme } = useTheme();\n const [highlightedBefore, setHighlightedBefore] = useState(\"\");\n const [highlightedAfter, setHighlightedAfter] = useState(\"\");\n\n useEffect(() => {\n const currentTheme = theme === \"system\" ? systemTheme : theme;\n const selectedTheme = currentTheme === \"dark\" ? darkTheme : lightTheme;\n\n async function highlightCode() {\n try {\n const { codeToHtml } = await import(\"shiki\");\n const before = await codeToHtml(beforeCode, {\n lang: language,\n theme: selectedTheme,\n });\n const after = await codeToHtml(afterCode, {\n lang: language,\n theme: selectedTheme,\n });\n setHighlightedBefore(before);\n setHighlightedAfter(after);\n } catch (error) {\n console.error(\"Error highlighting code:\", error);\n setHighlightedBefore(`<pre>${beforeCode}</pre>`);\n setHighlightedAfter(`<pre>${afterCode}</pre>`);\n }\n }\n highlightCode();\n }, [\n theme,\n systemTheme,\n beforeCode,\n afterCode,\n language,\n lightTheme,\n darkTheme,\n ]);\n\n const renderCode = (code: string, highlighted: string) => {\n if (highlighted) {\n return (\n <div\n className=\"h-full overflow-auto bg-background font-mono text-xs [&>pre]:h-full [&>pre]:!bg-transparent [&>pre]:p-4 [&_code]:break-all\"\n dangerouslySetInnerHTML={{ __html: highlighted }}\n />\n );\n } else {\n return (\n <pre className=\"h-full overflow-auto break-all bg-background p-4 font-mono text-xs text-foreground\">\n {code}\n </pre>\n );\n }\n };\n return (\n <div className=\"mx-auto w-full max-w-5xl\">\n <div className=\"relative w-full overflow-hidden rounded-md border border-border\">\n <div className=\"relative grid md:grid-cols-2 md:divide-x md:divide-border\">\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">before</span>\n </div>\n {renderCode(beforeCode, highlightedBefore)}\n </div>\n <div>\n <div className=\"flex items-center bg-accent p-2 text-sm text-foreground\">\n <FileIcon className=\"mr-2 h-4 w-4\" />\n {filename}\n <span className=\"ml-auto\">after</span>\n </div>\n {renderCode(afterCode, highlightedAfter)}\n </div>\n </div>\n <div className=\"absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md bg-accent text-xs text-foreground\">\n VS\n </div>\n </div>\n </div>\n );\n}\n","type": "registry:ui","target": "components/magicui/code-comparison.tsx"}diff --git a/public/r/confetti-demo.json b/public/r/confetti-demo.jsonindex d25df549..c6cdd9ff 100644--- a/public/r/confetti-demo.json+++ b/public/r/confetti-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/confetti-demo.tsx",- "content": "\"use client\";\n\nimport { useRef } from \"react\";\n\nimport { Confetti, type ConfettiRef } from \"@/components/magicui/confetti\";\n\nexport default function ConfettiDemo() {\n const confettiRef = useRef<ConfettiRef>(null);\n\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <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\">\n Confetti\n </span>\n\n <Confetti\n ref={confettiRef}\n className=\"absolute left-0 top-0 z-0 size-full\"\n onMouseEnter={() => {\n confettiRef.current?.fire({});\n }}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { useRef } from \"react\";\n\nimport { Confetti, type ConfettiRef } from \"@/components/magicui/confetti\";\n\nexport default function ConfettiDemo() {\n const confettiRef = useRef<ConfettiRef>(null);\n\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <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\">\n Confetti\n </span>\n\n <Confetti\n ref={confettiRef}\n className=\"absolute left-0 top-0 z-0 size-full\"\n onMouseEnter={() => {\n confettiRef.current?.fire({});\n }}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/confetti-demo.tsx"},diff --git a/public/r/dock-demo.json b/public/r/dock-demo.jsonindex 5d45136b..c24b77ae 100644--- a/public/r/dock-demo.json+++ b/public/r/dock-demo.json@@ -4,13 +4,17 @@"type": "registry:example","title": "Dock Demo","description": "Example showing a MacOS-style dock implementation.",+ "dependencies": [+ "next-themes"+ ],"registryDependencies": [+ "button","https://magicui.design/r/dock"],"files": [{"path": "registry/example/dock-demo.tsx",- "content": "\"use client\";\n\nimport { CalendarIcon, HomeIcon, MailIcon, PencilIcon } from \"lucide-react\";\nimport Link from \"next/link\";\nimport React from \"react\";\n\nimport { ModeToggle } from \"@/components/mode-toggle\";\nimport { buttonVariants } from \"@/components/ui/button\";\nimport { Separator } from \"@/components/ui/separator\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@/components/ui/tooltip\";\nimport { cn } from \"@/lib/utils\";\nimport { Dock, DockIcon } from \"@/components/magicui/dock\";\n\nexport type IconProps = React.HTMLAttributes<SVGElement>;\n\nconst Icons = {\n calendar: (props: IconProps) => <CalendarIcon {...props} />,\n email: (props: IconProps) => <MailIcon {...props} />,\n linkedin: (props: IconProps) => (\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <title>LinkedIn</title>\n <path\n fill=\"currentColor\"\n d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"\n />\n </svg>\n ),\n x: (props: IconProps) => (\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <title>X</title>\n <path\n fill=\"currentColor\"\n d=\"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z\"\n />\n </svg>\n ),\n youtube: (props: IconProps) => (\n <svg\n width=\"32px\"\n height=\"32px\"\n viewBox=\"0 0 32 32\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <title>youtube</title>\n <path d=\"M29.41,9.26a3.5,3.5,0,0,0-2.47-2.47C24.76,6.2,16,6.2,16,6.2s-8.76,0-10.94.59A3.5,3.5,0,0,0,2.59,9.26,36.13,36.13,0,0,0,2,16a36.13,36.13,0,0,0,.59,6.74,3.5,3.5,0,0,0,2.47,2.47C7.24,25.8,16,25.8,16,25.8s8.76,0,10.94-.59a3.5,3.5,0,0,0,2.47-2.47A36.13,36.13,0,0,0,30,16,36.13,36.13,0,0,0,29.41,9.26ZM13.2,20.2V11.8L20.47,16Z\" />\n </svg>\n ),\n github: (props: IconProps) => (\n <svg viewBox=\"0 0 438.549 438.549\" {...props}>\n <path\n fill=\"currentColor\"\n d=\"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z\"\n ></path>\n </svg>\n ),\n};\n\nconst DATA = {\n navbar: [\n { href: \"#\", icon: HomeIcon, label: \"Home\" },\n { href: \"#\", icon: PencilIcon, label: \"Blog\" },\n ],\n contact: {\n social: {\n GitHub: {\n name: \"GitHub\",\n url: \"#\",\n icon: Icons.github,\n },\n LinkedIn: {\n name: \"LinkedIn\",\n url: \"#\",\n icon: Icons.linkedin,\n },\n X: {\n name: \"X\",\n url: \"#\",\n icon: Icons.x,\n },\n email: {\n name: \"Send Email\",\n url: \"#\",\n icon: Icons.email,\n },\n },\n },\n};\n\nexport default function DockDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <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\">\n Dock\n </span>\n <TooltipProvider>\n <Dock direction=\"middle\">\n {DATA.navbar.map((item) => (\n <DockIcon key={item.label}>\n <Tooltip>\n <TooltipTrigger asChild>\n <Link\n href={item.href}\n aria-label={item.label}\n className={cn(\n buttonVariants({ variant: \"ghost\", size: \"icon\" }),\n \"size-12 rounded-full\",\n )}\n >\n <item.icon className=\"size-4\" />\n </Link>\n </TooltipTrigger>\n <TooltipContent>\n <p>{item.label}</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n ))}\n <Separator orientation=\"vertical\" className=\"h-full\" />\n {Object.entries(DATA.contact.social).map(([name, social]) => (\n <DockIcon key={name}>\n <Tooltip>\n <TooltipTrigger asChild>\n <Link\n href={social.url}\n aria-label={social.name}\n className={cn(\n buttonVariants({ variant: \"ghost\", size: \"icon\" }),\n \"size-12 rounded-full\",\n )}\n >\n <social.icon className=\"size-4\" />\n </Link>\n </TooltipTrigger>\n <TooltipContent>\n <p>{name}</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n ))}\n <Separator orientation=\"vertical\" className=\"h-full py-2\" />\n <DockIcon>\n <Tooltip>\n <TooltipTrigger asChild>\n <ModeToggle className=\"rounded-full\" />\n </TooltipTrigger>\n <TooltipContent>\n <p>Theme</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n </Dock>\n </TooltipProvider>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { CalendarIcon, HomeIcon, MailIcon, PencilIcon } from \"lucide-react\";\nimport Link from \"next/link\";\nimport React from \"react\";\n\nimport { ModeToggle } from \"@/components/mode-toggle\";\nimport { buttonVariants } from \"@/components/ui/button\";\nimport { Separator } from \"@/components/ui/separator\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@/components/ui/tooltip\";\nimport { cn } from \"@/lib/utils\";\nimport { Dock, DockIcon } from \"@/components/magicui/dock\";\n\nexport type IconProps = React.HTMLAttributes<SVGElement>;\n\nconst Icons = {\n calendar: (props: IconProps) => <CalendarIcon {...props} />,\n email: (props: IconProps) => <MailIcon {...props} />,\n linkedin: (props: IconProps) => (\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <title>LinkedIn</title>\n <path\n fill=\"currentColor\"\n d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"\n />\n </svg>\n ),\n x: (props: IconProps) => (\n <svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <title>X</title>\n <path\n fill=\"currentColor\"\n d=\"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z\"\n />\n </svg>\n ),\n youtube: (props: IconProps) => (\n <svg\n width=\"32px\"\n height=\"32px\"\n viewBox=\"0 0 32 32\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <title>youtube</title>\n <path d=\"M29.41,9.26a3.5,3.5,0,0,0-2.47-2.47C24.76,6.2,16,6.2,16,6.2s-8.76,0-10.94.59A3.5,3.5,0,0,0,2.59,9.26,36.13,36.13,0,0,0,2,16a36.13,36.13,0,0,0,.59,6.74,3.5,3.5,0,0,0,2.47,2.47C7.24,25.8,16,25.8,16,25.8s8.76,0,10.94-.59a3.5,3.5,0,0,0,2.47-2.47A36.13,36.13,0,0,0,30,16,36.13,36.13,0,0,0,29.41,9.26ZM13.2,20.2V11.8L20.47,16Z\" />\n </svg>\n ),\n github: (props: IconProps) => (\n <svg viewBox=\"0 0 438.549 438.549\" {...props}>\n <path\n fill=\"currentColor\"\n d=\"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z\"\n ></path>\n </svg>\n ),\n};\n\nconst DATA = {\n navbar: [\n { href: \"#\", icon: HomeIcon, label: \"Home\" },\n { href: \"#\", icon: PencilIcon, label: \"Blog\" },\n ],\n contact: {\n social: {\n GitHub: {\n name: \"GitHub\",\n url: \"#\",\n icon: Icons.github,\n },\n LinkedIn: {\n name: \"LinkedIn\",\n url: \"#\",\n icon: Icons.linkedin,\n },\n X: {\n name: \"X\",\n url: \"#\",\n icon: Icons.x,\n },\n email: {\n name: \"Send Email\",\n url: \"#\",\n icon: Icons.email,\n },\n },\n },\n};\n\nexport default function DockDemo() {\n return (\n <div className=\"flex flex-col items-center justify-center\">\n <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\">\n Dock\n </span>\n <TooltipProvider>\n <Dock direction=\"middle\">\n {DATA.navbar.map((item) => (\n <DockIcon key={item.label}>\n <Tooltip>\n <TooltipTrigger asChild>\n <Link\n href={item.href}\n aria-label={item.label}\n className={cn(\n buttonVariants({ variant: \"ghost\", size: \"icon\" }),\n \"size-12 rounded-full\",\n )}\n >\n <item.icon className=\"size-4\" />\n </Link>\n </TooltipTrigger>\n <TooltipContent>\n <p>{item.label}</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n ))}\n <Separator orientation=\"vertical\" className=\"h-full\" />\n {Object.entries(DATA.contact.social).map(([name, social]) => (\n <DockIcon key={name}>\n <Tooltip>\n <TooltipTrigger asChild>\n <Link\n href={social.url}\n aria-label={social.name}\n className={cn(\n buttonVariants({ variant: \"ghost\", size: \"icon\" }),\n \"size-12 rounded-full\",\n )}\n >\n <social.icon className=\"size-4\" />\n </Link>\n </TooltipTrigger>\n <TooltipContent>\n <p>{name}</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n ))}\n <Separator orientation=\"vertical\" className=\"h-full py-2\" />\n <DockIcon>\n <Tooltip>\n <TooltipTrigger asChild>\n <ModeToggle className=\"rounded-full\" />\n </TooltipTrigger>\n <TooltipContent>\n <p>Theme</p>\n </TooltipContent>\n </Tooltip>\n </DockIcon>\n </Dock>\n </TooltipProvider>\n </div>\n );\n}\n","type": "registry:example","target": "components/dock-demo.tsx"},@@ -19,6 +23,12 @@"content": "\"use client\";\n\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport {\n motion,\n MotionProps,\n MotionValue,\n useMotionValue,\n useSpring,\n useTransform,\n} from \"motion/react\";\nimport React, { PropsWithChildren, useRef } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nexport interface DockProps extends VariantProps<typeof dockVariants> {\n className?: string;\n iconSize?: number;\n iconMagnification?: number;\n iconDistance?: number;\n direction?: \"top\" | \"middle\" | \"bottom\";\n children: React.ReactNode;\n}\n\nconst DEFAULT_SIZE = 40;\nconst DEFAULT_MAGNIFICATION = 60;\nconst DEFAULT_DISTANCE = 140;\n\nconst dockVariants = cva(\n \"supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 mx-auto mt-8 flex h-[58px] w-max items-center justify-center gap-2 rounded-2xl border p-2 backdrop-blur-md\",\n);\n\nconst Dock = React.forwardRef<HTMLDivElement, DockProps>(\n (\n {\n className,\n children,\n iconSize = DEFAULT_SIZE,\n iconMagnification = DEFAULT_MAGNIFICATION,\n iconDistance = DEFAULT_DISTANCE,\n direction = \"middle\",\n ...props\n },\n ref,\n ) => {\n const mouseX = useMotionValue(Infinity);\n\n const renderChildren = () => {\n return React.Children.map(children, (child) => {\n if (React.isValidElement(child) && child.type === DockIcon) {\n return React.cloneElement(child, {\n ...child.props,\n mouseX: mouseX,\n size: iconSize,\n magnification: iconMagnification,\n distance: iconDistance,\n });\n }\n return child;\n });\n };\n\n return (\n <motion.div\n ref={ref}\n onMouseMove={(e) => mouseX.set(e.pageX)}\n onMouseLeave={() => mouseX.set(Infinity)}\n {...props}\n className={cn(dockVariants({ className }), {\n \"items-start\": direction === \"top\",\n \"items-center\": direction === \"middle\",\n \"items-end\": direction === \"bottom\",\n })}\n >\n {renderChildren()}\n </motion.div>\n );\n },\n);\n\nDock.displayName = \"Dock\";\n\nexport interface DockIconProps\n extends Omit<MotionProps & React.HTMLAttributes<HTMLDivElement>, \"children\"> {\n size?: number;\n magnification?: number;\n distance?: number;\n mouseX?: MotionValue<number>;\n className?: string;\n children?: React.ReactNode;\n props?: PropsWithChildren;\n}\n\nconst DockIcon = ({\n size = DEFAULT_SIZE,\n magnification = DEFAULT_MAGNIFICATION,\n distance = DEFAULT_DISTANCE,\n mouseX,\n className,\n children,\n ...props\n}: DockIconProps) => {\n const ref = useRef<HTMLDivElement>(null);\n const padding = Math.max(6, size * 0.2);\n const defaultMouseX = useMotionValue(Infinity);\n\n const distanceCalc = useTransform(mouseX ?? defaultMouseX, (val: number) => {\n const bounds = ref.current?.getBoundingClientRect() ?? { x: 0, width: 0 };\n return val - bounds.x - bounds.width / 2;\n });\n\n const sizeTransform = useTransform(\n distanceCalc,\n [-distance, 0, distance],\n [size, magnification, size],\n );\n\n const scaleSize = useSpring(sizeTransform, {\n mass: 0.1,\n stiffness: 150,\n damping: 12,\n });\n\n return (\n <motion.div\n ref={ref}\n style={{ width: scaleSize, height: scaleSize, padding }}\n className={cn(\n \"flex aspect-square cursor-pointer items-center justify-center rounded-full\",\n className,\n )}\n {...props}\n >\n {children}\n </motion.div>\n );\n};\n\nDockIcon.displayName = \"DockIcon\";\n\nexport { Dock, DockIcon, dockVariants };\n","type": "registry:ui","target": "components/magicui/dock.tsx"+ },+ {+ "path": "registry/magicui/mode-toggle.tsx",+ "content": "\"use client\";\n\nimport { MoonIcon, SunIcon } from \"@radix-ui/react-icons\";\nimport { useTheme } from \"next-themes\";\nimport React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils\";\n\nexport const ModeToggle = React.forwardRef<\n HTMLButtonElement,\n React.ComponentPropsWithoutRef<typeof Button> & { className?: string }\n>(({ className, ...props }, ref) => {\n const { theme, setTheme } = useTheme();\n\n return (\n <Button\n ref={ref}\n variant=\"ghost\"\n type=\"button\"\n size=\"icon\"\n className={cn(\"px-2\", className)}\n aria-label=\"Toggle theme\"\n onClick={() => setTheme(theme === \"dark\" ? \"light\" : \"dark\")}\n {...props}\n >\n <SunIcon className=\"size-[1.2rem] text-neutral-800 dark:hidden dark:text-neutral-200\" />\n <MoonIcon className=\"hidden size-[1.2rem] text-neutral-800 dark:block dark:text-neutral-200\" />\n </Button>\n );\n});\n\nModeToggle.displayName = \"ModeToggle\";\n",+ "type": "registry:ui",+ "target": "components/magicui/mode-toggle.tsx"}]}\ No newline at end of filediff --git a/public/r/dot-pattern-demo.json b/public/r/dot-pattern-demo.jsonindex 3472daf4..c7a3c77e 100644--- a/public/r/dot-pattern-demo.json+++ b/public/r/dot-pattern-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/dot-pattern-demo.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { DotPattern } from \"@/components/magicui/dot-pattern\";\n\nexport default function DotPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Dot Pattern\n </p>\n <DotPattern\n className={cn(\n \"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]\",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { DotPattern } from \"@/components/magicui/dot-pattern\";\n\nexport default function DotPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <DotPattern\n className={cn(\n \"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]\",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/dot-pattern-demo.tsx"},diff --git a/public/r/dot-pattern-linear-gradient.json b/public/r/dot-pattern-linear-gradient.jsonindex 4d2d8448..e5aaf988 100644--- a/public/r/dot-pattern-linear-gradient.json+++ b/public/r/dot-pattern-linear-gradient.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/dot-pattern-linear-gradient.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { DotPattern } from \"@/components/magicui/dot-pattern\";\n\nexport default function DotPatternLinearGradient() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Dot Pattern\n </p>\n <DotPattern\n width={20}\n height={20}\n cx={1}\n cy={1}\n cr={1}\n className={cn(\n \"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] \",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { DotPattern } from \"@/components/magicui/dot-pattern\";\n\nexport default function DotPatternLinearGradient() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20\">\n <DotPattern\n width={20}\n height={20}\n cx={1}\n cy={1}\n cr={1}\n className={cn(\n \"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] \",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/dot-pattern-linear-gradient.tsx"},diff --git a/public/r/file-tree-demo.json b/public/r/file-tree-demo.jsonindex a7f7720b..ebdc060e 100644--- a/public/r/file-tree-demo.json+++ b/public/r/file-tree-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/file-tree-demo.tsx",- "content": "import { File, Folder, Tree } from \"@/components/magicui/file-tree\";\n\nexport default function FileTreeDemo() {\n return (\n <div className=\"relative flex h-[300px] w-1/2 flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <Tree\n className=\"overflow-hidden rounded-md bg-background p-2\"\n initialSelectedId=\"7\"\n initialExpandedItems={[\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n ]}\n elements={ELEMENTS}\n >\n <Folder element=\"src\" value=\"1\">\n <Folder value=\"2\" element=\"app\">\n <File value=\"3\">\n <p>layout.tsx</p>\n </File>\n <File value=\"4\">\n <p>page.tsx</p>\n </File>\n </Folder>\n <Folder value=\"5\" element=\"components\">\n <Folder value=\"6\" element=\"ui\">\n <File value=\"7\">\n <p>button.tsx</p>\n </File>\n </Folder>\n <File value=\"8\">\n <p>header.tsx</p>\n </File>\n <File value=\"9\">\n <p>footer.tsx</p>\n </File>\n </Folder>\n <Folder value=\"10\" element=\"lib\">\n <File value=\"11\">\n <p>utils.ts</p>\n </File>\n </Folder>\n </Folder>\n </Tree>\n </div>\n );\n}\n\nconst ELEMENTS = [\n {\n id: \"1\",\n isSelectable: true,\n name: \"src\",\n children: [\n {\n id: \"2\",\n isSelectable: true,\n name: \"app\",\n children: [\n {\n id: \"3\",\n isSelectable: true,\n name: \"layout.tsx\",\n },\n {\n id: \"4\",\n isSelectable: true,\n name: \"page.tsx\",\n },\n ],\n },\n {\n id: \"5\",\n isSelectable: true,\n name: \"components\",\n children: [\n {\n id: \"6\",\n isSelectable: true,\n name: \"header.tsx\",\n },\n {\n id: \"7\",\n isSelectable: true,\n name: \"footer.tsx\",\n },\n ],\n },\n {\n id: \"8\",\n isSelectable: true,\n name: \"lib\",\n children: [\n {\n id: \"9\",\n isSelectable: true,\n name: \"utils.ts\",\n },\n ],\n },\n ],\n },\n];\n",+ "content": "import { File, Folder, Tree } from \"@/components/magicui/file-tree\";\n\nexport default function FileTreeDemo() {\n return (\n <div className=\"relative flex h-[300px] w-1/2 flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <Tree\n className=\"overflow-hidden rounded-md bg-background p-2\"\n initialSelectedId=\"7\"\n initialExpandedItems={[\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n ]}\n elements={ELEMENTS}\n >\n <Folder element=\"src\" value=\"1\">\n <Folder value=\"2\" element=\"app\">\n <File value=\"3\">\n <p>layout.tsx</p>\n </File>\n <File value=\"4\">\n <p>page.tsx</p>\n </File>\n </Folder>\n <Folder value=\"5\" element=\"components\">\n <Folder value=\"6\" element=\"ui\">\n <File value=\"7\">\n <p>button.tsx</p>\n </File>\n </Folder>\n <File value=\"8\">\n <p>header.tsx</p>\n </File>\n <File value=\"9\">\n <p>footer.tsx</p>\n </File>\n </Folder>\n <Folder value=\"10\" element=\"lib\">\n <File value=\"11\">\n <p>utils.ts</p>\n </File>\n </Folder>\n </Folder>\n </Tree>\n </div>\n );\n}\n\nconst ELEMENTS = [\n {\n id: \"1\",\n isSelectable: true,\n name: \"src\",\n children: [\n {\n id: \"2\",\n isSelectable: true,\n name: \"app\",\n children: [\n {\n id: \"3\",\n isSelectable: true,\n name: \"layout.tsx\",\n },\n {\n id: \"4\",\n isSelectable: true,\n name: \"page.tsx\",\n },\n ],\n },\n {\n id: \"5\",\n isSelectable: true,\n name: \"components\",\n children: [\n {\n id: \"6\",\n isSelectable: true,\n name: \"header.tsx\",\n },\n {\n id: \"7\",\n isSelectable: true,\n name: \"footer.tsx\",\n },\n ],\n },\n {\n id: \"8\",\n isSelectable: true,\n name: \"lib\",\n children: [\n {\n id: \"9\",\n isSelectable: true,\n name: \"utils.ts\",\n },\n ],\n },\n ],\n },\n];\n","type": "registry:example","target": "components/file-tree-demo.tsx"},diff --git a/public/r/globe-demo.json b/public/r/globe-demo.jsonindex f4d6cbbe..c84ffc7e 100644--- a/public/r/globe-demo.json+++ b/public/r/globe-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/globe-demo.tsx",- "content": "import { Globe } from \"@/components/magicui/globe\";\n\nexport default function GlobeDemo() {\n return (\n <div className=\"relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60 md:shadow-xl\">\n <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\">\n Globe\n </span>\n <Globe className=\"top-28\" />\n <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))]\" />\n </div>\n );\n}\n",+ "content": "import { Globe } from \"@/components/magicui/globe\";\n\nexport default function GlobeDemo() {\n return (\n <div className=\"relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60\">\n <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\">\n Globe\n </span>\n <Globe className=\"top-28\" />\n <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))]\" />\n </div>\n );\n}\n","type": "registry:example","target": "components/globe-demo.tsx"},diff --git a/public/r/grid-pattern-dashed.json b/public/r/grid-pattern-dashed.jsonindex eacc5809..fc57251c 100644--- a/public/r/grid-pattern-dashed.json+++ b/public/r/grid-pattern-dashed.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/grid-pattern-dashed.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternDashed() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Grid Pattern\n </p>\n <GridPattern\n width={30}\n height={30}\n x={-1}\n y={-1}\n strokeDasharray={\"4 2\"}\n className={cn(\n \"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]\",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternDashed() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20\">\n <GridPattern\n width={30}\n height={30}\n x={-1}\n y={-1}\n strokeDasharray={\"4 2\"}\n className={cn(\n \"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]\",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/grid-pattern-dashed.tsx"},diff --git a/public/r/grid-pattern-demo.json b/public/r/grid-pattern-demo.jsonindex a92d8b45..4ac92bae 100644--- a/public/r/grid-pattern-demo.json+++ b/public/r/grid-pattern-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/grid-pattern-demo.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Grid Pattern\n </p>\n <GridPattern\n squares={[\n [4, 4],\n [5, 1],\n [8, 2],\n [5, 3],\n [5, 5],\n [10, 10],\n [12, 15],\n [15, 10],\n [10, 15],\n [15, 10],\n [10, 15],\n [15, 10],\n ]}\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <GridPattern\n squares={[\n [4, 4],\n [5, 1],\n [8, 2],\n [5, 3],\n [5, 5],\n [10, 10],\n [12, 15],\n [15, 10],\n [10, 15],\n [15, 10],\n [10, 15],\n [15, 10],\n ]}\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/grid-pattern-demo.tsx"},diff --git a/public/r/grid-pattern-linear-gradient.json b/public/r/grid-pattern-linear-gradient.jsonindex d9358326..9736e1c1 100644--- a/public/r/grid-pattern-linear-gradient.json+++ b/public/r/grid-pattern-linear-gradient.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/grid-pattern-linear-gradient.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternLinearGradient() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Grid Pattern\n </p>\n <GridPattern\n width={20}\n height={20}\n x={-1}\n y={-1}\n className={cn(\n \"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] \",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { GridPattern } from \"@/components/magicui/grid-pattern\";\n\nexport default function GridPatternLinearGradient() {\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20\">\n <GridPattern\n width={20}\n height={20}\n x={-1}\n y={-1}\n className={cn(\n \"[mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)] \",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/grid-pattern-linear-gradient.tsx"},diff --git a/public/r/icon-cloud-demo.json b/public/r/icon-cloud-demo.jsonindex 77c6af9b..ca3b5903 100644--- a/public/r/icon-cloud-demo.json+++ b/public/r/icon-cloud-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/icon-cloud-demo.tsx",- "content": "import { IconCloud } from \"@/components/magicui/icon-cloud\";\n\nconst slugs = [\n \"typescript\",\n \"javascript\",\n \"dart\",\n \"java\",\n \"react\",\n \"flutter\",\n \"android\",\n \"html5\",\n \"css3\",\n \"nodedotjs\",\n \"express\",\n \"nextdotjs\",\n \"prisma\",\n \"amazonaws\",\n \"postgresql\",\n \"firebase\",\n \"nginx\",\n \"vercel\",\n \"testinglibrary\",\n \"jest\",\n \"cypress\",\n \"docker\",\n \"git\",\n \"jira\",\n \"github\",\n \"gitlab\",\n \"visualstudiocode\",\n \"androidstudio\",\n \"sonarqube\",\n \"figma\",\n];\n\nexport default function IconCloudDemo() {\n const images = slugs.map(\n (slug) => `https://cdn.simpleicons.org/${slug}/${slug}`,\n );\n\n return (\n <div className=\"relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <IconCloud images={images} />\n </div>\n );\n}\n",+ "content": "import { IconCloud } from \"@/components/magicui/icon-cloud\";\n\nconst slugs = [\n \"typescript\",\n \"javascript\",\n \"dart\",\n \"java\",\n \"react\",\n \"flutter\",\n \"android\",\n \"html5\",\n \"css3\",\n \"nodedotjs\",\n \"express\",\n \"nextdotjs\",\n \"prisma\",\n \"amazonaws\",\n \"postgresql\",\n \"firebase\",\n \"nginx\",\n \"vercel\",\n \"testinglibrary\",\n \"jest\",\n \"cypress\",\n \"docker\",\n \"git\",\n \"jira\",\n \"github\",\n \"gitlab\",\n \"visualstudiocode\",\n \"androidstudio\",\n \"sonarqube\",\n \"figma\",\n];\n\nexport default function IconCloudDemo() {\n const images = slugs.map(\n (slug) => `https://cdn.simpleicons.org/${slug}/${slug}`,\n );\n\n return (\n <div className=\"relative flex size-full items-center justify-center overflow-hidden\">\n <IconCloud images={images} />\n </div>\n );\n}\n","type": "registry:example","target": "components/icon-cloud-demo.tsx"},diff --git a/public/r/interactive-grid-pattern-demo-2.json b/public/r/interactive-grid-pattern-demo-2.jsonindex 0e88cc7f..42c11295 100644--- a/public/r/interactive-grid-pattern-demo-2.json+++ b/public/r/interactive-grid-pattern-demo-2.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/interactive-grid-pattern-demo-2.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { InteractiveGridPattern } from \"@/components/magicui/interactive-grid-pattern\";\n\nexport default function InteractiveGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Interactive Grid Pattern\n </p>\n <InteractiveGridPattern\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n )}\n width={20}\n height={20}\n squares={[80, 80]}\n squaresClassName=\"hover:fill-blue-500\"\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { InteractiveGridPattern } from \"@/components/magicui/interactive-grid-pattern\";\n\nexport default function InteractiveGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <InteractiveGridPattern\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n )}\n width={20}\n height={20}\n squares={[80, 80]}\n squaresClassName=\"hover:fill-blue-500\"\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/interactive-grid-pattern-demo-2.tsx"},diff --git a/public/r/interactive-grid-pattern-demo.json b/public/r/interactive-grid-pattern-demo.jsonindex 4e7fc7d1..a2a01c88 100644--- a/public/r/interactive-grid-pattern-demo.json+++ b/public/r/interactive-grid-pattern-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/interactive-grid-pattern-demo.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { InteractiveGridPattern } from \"@/components/magicui/interactive-grid-pattern\";\n\nexport default function InteractiveGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white\">\n Interactive Grid Pattern\n </p>\n <InteractiveGridPattern\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { InteractiveGridPattern } from \"@/components/magicui/interactive-grid-pattern\";\n\nexport default function InteractiveGridPatternDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <InteractiveGridPattern\n className={cn(\n \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\",\n )}\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/interactive-grid-pattern-demo.tsx"},diff --git a/public/r/magic-card-demo.json b/public/r/magic-card-demo.jsonindex ea50d309..e6d4d34c 100644--- a/public/r/magic-card-demo.json+++ b/public/r/magic-card-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/magic-card-demo.tsx",- "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\n\nimport { MagicCard } from \"@/components/magicui/magic-card\";\n\nexport default function MagicCardDemo() {\n const { theme } = useTheme();\n return (\n <div\n className={\n \"flex h-[500px] w-full flex-col gap-4 lg:h-[250px] lg:flex-row\"\n }\n >\n <MagicCard\n className=\"cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl shadow-2xl\"\n gradientColor={theme === \"dark\" ? \"#262626\" : \"#D9D9D955\"}\n >\n Magic\n </MagicCard>\n <MagicCard\n className=\"cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl shadow-2xl\"\n gradientColor={theme === \"dark\" ? \"#262626\" : \"#D9D9D955\"}\n >\n Card\n </MagicCard>\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\n\nimport { MagicCard } from \"@/components/magicui/magic-card\";\n\nexport default function MagicCardDemo() {\n const { theme } = useTheme();\n return (\n <div\n className={\n \"flex h-[500px] w-full flex-col gap-4 lg:h-[250px] lg:flex-row\"\n }\n >\n <MagicCard\n className=\"cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl\"\n gradientColor={theme === \"dark\" ? \"#262626\" : \"#D9D9D955\"}\n >\n Magic\n </MagicCard>\n <MagicCard\n className=\"cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl\"\n gradientColor={theme === \"dark\" ? \"#262626\" : \"#D9D9D955\"}\n >\n Card\n </MagicCard>\n </div>\n );\n}\n","type": "registry:example","target": "components/magic-card-demo.tsx"},diff --git a/public/r/marquee-3d.json b/public/r/marquee-3d.jsonindex d489d623..679362fd 100644--- a/public/r/marquee-3d.json+++ b/public/r/marquee-3d.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/marquee-3d.tsx",- "content": "import { Marquee } from \"@/components/magicui/marquee\";\n\nconst logos = [\n {\n name: \"Microsoft\",\n img: \"https://picsum.photos/id/1/200/300\",\n },\n {\n name: \"Apple\",\n img: \"https://picsum.photos/id/2/200/300\",\n },\n {\n name: \"Google\",\n img: \"https://picsum.photos/id/3/200/300\",\n },\n {\n name: \"Facebook\",\n img: \"https://picsum.photos/id/4/200/300\",\n },\n {\n name: \"LinkedIn\",\n img: \"https://picsum.photos/id/5/200/300\",\n },\n {\n name: \"Twitter\",\n img: \"https://picsum.photos/id/6/200/300\",\n },\n];\n\nexport default function Marquee3D() {\n return (\n <div className=\"relative flex h-full w-96 flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background px-20 md:shadow-xl\">\n <div className=\"flex flex-row gap-4 [perspective:300px]\">\n <Marquee\n className=\"h-96 justify-center overflow-hidden [--duration:60s] [--gap:1rem]\"\n vertical\n style={{\n transform:\n \"translateX(0px) translateY(0px) translateZ(-50px) rotateX(0deg) rotateY(-20deg) rotateZ(10deg) scale(1.5)\",\n }}\n >\n {logos.map((data, idx) => (\n <img\n key={idx}\n src={data.img}\n alt={data.name}\n className=\"mx-auto h-full w-3/4 cursor-pointer rounded-xl border border-neutral-300 transition-all duration-300 hover:ring-1 hover:ring-neutral-300\"\n />\n ))}\n </Marquee>\n </div>\n\n <div className=\"pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background\"></div>\n </div>\n );\n}\n",+ "content": "import { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst reviews = [\n {\n name: \"Jack\",\n username: \"@jack\",\n body: \"I've never seen anything like this before. It's amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jack\",\n },\n {\n name: \"Jill\",\n username: \"@jill\",\n body: \"I don't know what to say. I'm speechless. This is amazing.\",\n img: \"https://avatar.vercel.sh/jill\",\n },\n {\n name: \"John\",\n username: \"@john\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/john\",\n },\n];\n\nconst firstRow = reviews.slice(0, reviews.length / 2);\nconst secondRow = reviews.slice(reviews.length / 2);\nconst thirdRow = reviews.slice(0, reviews.length / 2);\nconst fourthRow = reviews.slice(reviews.length / 2);\n\nconst ReviewCard = ({\n img,\n name,\n username,\n body,\n}: {\n img: string;\n name: string;\n username: string;\n body: string;\n}) => {\n return (\n <figure\n className={cn(\n \"relative h-full w-36 cursor-pointer overflow-hidden rounded-xl border p-4\",\n // light styles\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n // dark styles\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <img className=\"rounded-full\" width=\"32\" height=\"32\" alt=\"\" src={img} />\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white\">\n {name}\n </figcaption>\n <p className=\"text-xs font-medium dark:text-white/40\">{username}</p>\n </div>\n </div>\n <blockquote className=\"mt-2 text-sm\">{body}</blockquote>\n </figure>\n );\n};\n\nexport default function Marquee3D() {\n return (\n <div className=\"relative flex h-96 w-full flex-row items-center justify-center gap-4 overflow-hidden [perspective:300px]\">\n <div\n className=\"flex flex-row items-center gap-4\"\n style={{\n transform:\n \"translateX(-100px) translateY(0px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg)\",\n }}\n >\n <Marquee pauseOnHover vertical className=\"[--duration:20s]\">\n {firstRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover className=\"[--duration:20s]\" vertical>\n {secondRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover className=\"[--duration:20s]\" vertical>\n {thirdRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee pauseOnHover className=\"[--duration:20s]\" vertical>\n {fourthRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n </div>\n\n <div className=\"pointer-events-none absolute inset-x-0 top-0 h-1/4 bg-gradient-to-b from-background\"></div>\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/marquee-3d.tsx"},diff --git a/public/r/marquee-demo-vertical.json b/public/r/marquee-demo-vertical.jsonindex c0c8af39..0e075450 100644--- a/public/r/marquee-demo-vertical.json+++ b/public/r/marquee-demo-vertical.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/marquee-demo-vertical.tsx",- "content": "import { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst reviews = [\n {\n name: \"Jack\",\n username: \"@jack\",\n body: \"I've never seen anything like this before. It's amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jack\",\n },\n {\n name: \"Jill\",\n username: \"@jill\",\n body: \"I don't know what to say. I'm speechless. This is amazing.\",\n img: \"https://avatar.vercel.sh/jill\",\n },\n {\n name: \"John\",\n username: \"@john\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/john\",\n },\n];\n\nconst firstRow = reviews.slice(0, reviews.length / 2);\nconst secondRow = reviews.slice(reviews.length / 2);\n\nconst ReviewCard = ({\n img,\n name,\n username,\n body,\n}: {\n img: string;\n name: string;\n username: string;\n body: string;\n}) => {\n return (\n <figure\n className={cn(\n \"relative h-40 w-36 cursor-pointer overflow-hidden rounded-xl border p-4\",\n // light styles\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n // dark styles\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <img className=\"rounded-full\" width=\"32\" height=\"32\" alt=\"\" src={img} />\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white\">\n {name}\n </figcaption>\n <p className=\"text-xs font-medium dark:text-white/40\">{username}</p>\n </div>\n </div>\n <blockquote className=\"mt-2 text-sm\">{body}</blockquote>\n </figure>\n );\n};\n\nexport default function MarqueeDemoVertical() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-row items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <Marquee pauseOnHover vertical className=\"[--duration:20s]\">\n {firstRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover vertical className=\"[--duration:20s]\">\n {secondRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <div className=\"pointer-events-none absolute inset-x-0 top-0 h-1/3 bg-gradient-to-b from-white dark:from-background\"></div>\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-1/3 bg-gradient-to-t from-white dark:from-background\"></div>\n </div>\n );\n}\n",+ "content": "import { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst reviews = [\n {\n name: \"Jack\",\n username: \"@jack\",\n body: \"I've never seen anything like this before. It's amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jack\",\n },\n {\n name: \"Jill\",\n username: \"@jill\",\n body: \"I don't know what to say. I'm speechless. This is amazing.\",\n img: \"https://avatar.vercel.sh/jill\",\n },\n {\n name: \"John\",\n username: \"@john\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/john\",\n },\n];\n\nconst firstRow = reviews.slice(0, reviews.length / 2);\nconst secondRow = reviews.slice(reviews.length / 2);\n\nconst ReviewCard = ({\n img,\n name,\n username,\n body,\n}: {\n img: string;\n name: string;\n username: string;\n body: string;\n}) => {\n return (\n <figure\n className={cn(\n \"relative h-full w-36 cursor-pointer overflow-hidden rounded-xl border p-4\",\n // light styles\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n // dark styles\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <img className=\"rounded-full\" width=\"32\" height=\"32\" alt=\"\" src={img} />\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white\">\n {name}\n </figcaption>\n <p className=\"text-xs font-medium dark:text-white/40\">{username}</p>\n </div>\n </div>\n <blockquote className=\"mt-2 text-sm\">{body}</blockquote>\n </figure>\n );\n};\n\nexport default function MarqueeDemoVertical() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-row items-center justify-center overflow-hidden\">\n <Marquee pauseOnHover vertical className=\"[--duration:20s]\">\n {firstRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover vertical className=\"[--duration:20s]\">\n {secondRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <div className=\"pointer-events-none absolute inset-x-0 top-0 h-1/4 bg-gradient-to-b from-background\"></div>\n <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/marquee-demo-vertical.tsx"},diff --git a/public/r/marquee-demo.json b/public/r/marquee-demo.jsonindex 82110865..56e762b7 100644--- a/public/r/marquee-demo.json+++ b/public/r/marquee-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/marquee-demo.tsx",- "content": "import { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst reviews = [\n {\n name: \"Jack\",\n username: \"@jack\",\n body: \"I've never seen anything like this before. It's amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jack\",\n },\n {\n name: \"Jill\",\n username: \"@jill\",\n body: \"I don't know what to say. I'm speechless. This is amazing.\",\n img: \"https://avatar.vercel.sh/jill\",\n },\n {\n name: \"John\",\n username: \"@john\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/john\",\n },\n {\n name: \"Jane\",\n username: \"@jane\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jane\",\n },\n {\n name: \"Jenny\",\n username: \"@jenny\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jenny\",\n },\n {\n name: \"James\",\n username: \"@james\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/james\",\n },\n];\n\nconst firstRow = reviews.slice(0, reviews.length / 2);\nconst secondRow = reviews.slice(reviews.length / 2);\n\nconst ReviewCard = ({\n img,\n name,\n username,\n body,\n}: {\n img: string;\n name: string;\n username: string;\n body: string;\n}) => {\n return (\n <figure\n className={cn(\n \"relative w-64 cursor-pointer overflow-hidden rounded-xl border p-4\",\n // light styles\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n // dark styles\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <img className=\"rounded-full\" width=\"32\" height=\"32\" alt=\"\" src={img} />\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white\">\n {name}\n </figcaption>\n <p className=\"text-xs font-medium dark:text-white/40\">{username}</p>\n </div>\n </div>\n <blockquote className=\"mt-2 text-sm\">{body}</blockquote>\n </figure>\n );\n};\n\nexport default function MarqueeDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <Marquee pauseOnHover className=\"[--duration:20s]\">\n {firstRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover className=\"[--duration:20s]\">\n {secondRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background\"></div>\n </div>\n );\n}\n",+ "content": "import { cn } from \"@/lib/utils\";\nimport { Marquee } from \"@/components/magicui/marquee\";\n\nconst reviews = [\n {\n name: \"Jack\",\n username: \"@jack\",\n body: \"I've never seen anything like this before. It's amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jack\",\n },\n {\n name: \"Jill\",\n username: \"@jill\",\n body: \"I don't know what to say. I'm speechless. This is amazing.\",\n img: \"https://avatar.vercel.sh/jill\",\n },\n {\n name: \"John\",\n username: \"@john\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/john\",\n },\n {\n name: \"Jane\",\n username: \"@jane\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jane\",\n },\n {\n name: \"Jenny\",\n username: \"@jenny\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/jenny\",\n },\n {\n name: \"James\",\n username: \"@james\",\n body: \"I'm at a loss for words. This is amazing. I love it.\",\n img: \"https://avatar.vercel.sh/james\",\n },\n];\n\nconst firstRow = reviews.slice(0, reviews.length / 2);\nconst secondRow = reviews.slice(reviews.length / 2);\n\nconst ReviewCard = ({\n img,\n name,\n username,\n body,\n}: {\n img: string;\n name: string;\n username: string;\n body: string;\n}) => {\n return (\n <figure\n className={cn(\n \"relative h-full w-64 cursor-pointer overflow-hidden rounded-xl border p-4\",\n // light styles\n \"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]\",\n // dark styles\n \"dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]\",\n )}\n >\n <div className=\"flex flex-row items-center gap-2\">\n <img className=\"rounded-full\" width=\"32\" height=\"32\" alt=\"\" src={img} />\n <div className=\"flex flex-col\">\n <figcaption className=\"text-sm font-medium dark:text-white\">\n {name}\n </figcaption>\n <p className=\"text-xs font-medium dark:text-white/40\">{username}</p>\n </div>\n </div>\n <blockquote className=\"mt-2 text-sm\">{body}</blockquote>\n </figure>\n );\n};\n\nexport default function MarqueeDemo() {\n return (\n <div className=\"relative flex w-full flex-col items-center justify-center overflow-hidden\">\n <Marquee pauseOnHover className=\"[--duration:20s]\">\n {firstRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <Marquee reverse pauseOnHover className=\"[--duration:20s]\">\n {secondRow.map((review) => (\n <ReviewCard key={review.username} {...review} />\n ))}\n </Marquee>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/marquee-demo.tsx"},diff --git a/public/r/meteors-demo.json b/public/r/meteors-demo.jsonindex 5c065638..7ce22c0b 100644--- a/public/r/meteors-demo.json+++ b/public/r/meteors-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/meteors-demo.tsx",- "content": "import { Meteors } from \"@/components/magicui/meteors\";\n\nexport default function MeteorDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <Meteors number={30} />\n <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\">\n Meteors\n </span>\n </div>\n );\n}\n",+ "content": "import { Meteors } from \"@/components/magicui/meteors\";\n\nexport default function MeteorDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border\">\n <Meteors number={30} />\n <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\">\n Meteors\n </span>\n </div>\n );\n}\n","type": "registry:example","target": "components/meteors-demo.tsx"},diff --git a/public/r/orbiting-circles-demo.json b/public/r/orbiting-circles-demo.jsonindex aed46a87..4e8e7802 100644--- a/public/r/orbiting-circles-demo.json+++ b/public/r/orbiting-circles-demo.json@@ -13,7 +13,7 @@"files": [{"path": "registry/example/orbiting-circles-demo.tsx",- "content": "import { OrbitingCircles } from \"@/components/magicui/orbiting-circles\";\n\nexport default function OrbitingCirclesDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <span className=\"pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-black\">\n Circles\n </span>\n\n <OrbitingCircles iconSize={40}>\n <Icons.whatsapp />\n <Icons.notion />\n <Icons.openai />\n <Icons.googleDrive />\n <Icons.whatsapp />\n </OrbitingCircles>\n <OrbitingCircles iconSize={30} radius={100} reverse speed={2}>\n <Icons.whatsapp />\n <Icons.notion />\n <Icons.openai />\n <Icons.googleDrive />\n </OrbitingCircles>\n </div>\n );\n}\n\nconst Icons = {\n gitHub: () => (\n <svg width=\"100\" height=\"100\" viewBox=\"0 0 438.549 438.549\">\n <path\n fill=\"currentColor\"\n d=\"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z\"\n />\n </svg>\n ),\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"fill-black dark:fill-white\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n};\n",+ "content": "import { OrbitingCircles } from \"@/components/magicui/orbiting-circles\";\n\nexport default function OrbitingCirclesDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden\">\n <OrbitingCircles iconSize={40}>\n <Icons.whatsapp />\n <Icons.notion />\n <Icons.openai />\n <Icons.googleDrive />\n <Icons.whatsapp />\n </OrbitingCircles>\n <OrbitingCircles iconSize={30} radius={100} reverse speed={2}>\n <Icons.whatsapp />\n <Icons.notion />\n <Icons.openai />\n <Icons.googleDrive />\n </OrbitingCircles>\n </div>\n );\n}\n\nconst Icons = {\n gitHub: () => (\n <svg width=\"100\" height=\"100\" viewBox=\"0 0 438.549 438.549\">\n <path\n fill=\"currentColor\"\n d=\"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z\"\n />\n </svg>\n ),\n notion: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 100 100\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.017 4.313l55.333 -4.087c6.797 -0.583 8.543 -0.19 12.817 2.917l17.663 12.443c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277 -1.553 6.807 -6.99 7.193L24.467 99.967c-4.08 0.193 -6.023 -0.39 -8.16 -3.113L3.3 79.94c-2.333 -3.113 -3.3 -5.443 -3.3 -8.167V11.113c0 -3.497 1.553 -6.413 6.017 -6.8z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M61.35 0.227l-55.333 4.087C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723 0.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257 -3.89c5.433 -0.387 6.99 -2.917 6.99 -7.193V20.64c0 -2.21 -0.873 -2.847 -3.443 -4.733L74.167 3.143c-4.273 -3.107 -6.02 -3.5 -12.817 -2.917zM25.92 19.523c-5.247 0.353 -6.437 0.433 -9.417 -1.99L8.927 11.507c-0.77 -0.78 -0.383 -1.753 1.557 -1.947l53.193 -3.887c4.467 -0.39 6.793 1.167 8.54 2.527l9.123 6.61c0.39 0.197 1.36 1.36 0.193 1.36l-54.933 3.307 -0.68 0.047zM19.803 88.3V30.367c0 -2.53 0.777 -3.697 3.103 -3.893L86 22.78c2.14 -0.193 3.107 1.167 3.107 3.693v57.547c0 2.53 -0.39 4.67 -3.883 4.863l-60.377 3.5c-3.493 0.193 -5.043 -0.97 -5.043 -4.083zm59.6 -54.827c0.387 1.75 0 3.5 -1.75 3.7l-2.91 0.577v42.773c-2.527 1.36 -4.853 2.137 -6.797 2.137 -3.107 0 -3.883 -0.973 -6.21 -3.887l-19.03 -29.94v28.967l6.02 1.363s0 3.5 -4.857 3.5l-13.39 0.777c-0.39 -0.78 0 -2.723 1.357 -3.11l3.497 -0.97v-38.3L30.48 40.667c-0.39 -1.75 0.58 -4.277 3.3 -4.473l14.367 -0.967 19.8 30.327v-26.83l-5.047 -0.58c-0.39 -2.143 1.163 -3.7 3.103 -3.89l13.4 -0.78z\"\n fill=\"#000000\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n />\n </svg>\n ),\n openai: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"fill-black dark:fill-white\"\n >\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n ),\n googleDrive: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 87.3 78\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z\"\n fill=\"#0066da\"\n />\n <path\n d=\"m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z\"\n fill=\"#00ac47\"\n />\n <path\n d=\"m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z\"\n fill=\"#ea4335\"\n />\n <path\n d=\"m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z\"\n fill=\"#00832d\"\n />\n <path\n d=\"m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z\"\n fill=\"#2684fc\"\n />\n <path\n d=\"m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z\"\n fill=\"#ffba00\"\n />\n </svg>\n ),\n whatsapp: () => (\n <svg\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 175.216 175.552\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n id=\"b\"\n x1=\"85.915\"\n x2=\"86.535\"\n y1=\"32.567\"\n y2=\"137.092\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#57d163\" />\n <stop offset=\"1\" stopColor=\"#23b33a\" />\n </linearGradient>\n <filter\n id=\"a\"\n width=\"1.115\"\n height=\"1.114\"\n x=\"-.057\"\n y=\"-.057\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feGaussianBlur stdDeviation=\"3.531\" />\n </filter>\n </defs>\n <path\n d=\"m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0\"\n fill=\"#b3b3b3\"\n filter=\"url(#a)\"\n />\n <path\n d=\"m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z\"\n fill=\"#ffffff\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z\"\n fill=\"url(#linearGradient1780)\"\n />\n <path\n d=\"M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z\"\n fill=\"url(#b)\"\n />\n <path\n d=\"M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647\"\n fill=\"#ffffff\"\n fillRule=\"evenodd\"\n />\n </svg>\n ),\n};\n","type": "registry:example","target": "components/orbiting-circles-demo.tsx"},diff --git a/public/r/particles-demo.json b/public/r/particles-demo.jsonindex 83d32ef6..cf38eece 100644--- a/public/r/particles-demo.json+++ b/public/r/particles-demo.json@@ -13,7 +13,7 @@"files": [{"path": "registry/example/particles-demo.tsx",- "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\nimport { Particles } from \"@/components/magicui/particles\";\n\nexport default function ParticlesDemo() {\n const { resolvedTheme } = useTheme();\n const [color, setColor] = useState(\"#ffffff\");\n\n useEffect(() => {\n setColor(resolvedTheme === \"dark\" ? \"#ffffff\" : \"#000000\");\n }, [resolvedTheme]);\n\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <span className=\"pointer-events-none z-10 whitespace-pre-wrap text-center text-8xl font-semibold leading-none\">\n Particles\n </span>\n <Particles\n className=\"absolute inset-0 z-0\"\n quantity={100}\n ease={80}\n color={color}\n refresh\n />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\nimport { useEffect, useState } from \"react\";\n\nimport { Particles } from \"@/components/magicui/particles\";\n\nexport default function ParticlesDemo() {\n const { resolvedTheme } = useTheme();\n const [color, setColor] = useState(\"#ffffff\");\n\n useEffect(() => {\n setColor(resolvedTheme === \"dark\" ? \"#ffffff\" : \"#000000\");\n }, [resolvedTheme]);\n\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <span className=\"pointer-events-none z-10 whitespace-pre-wrap text-center text-8xl font-semibold leading-none\">\n Particles\n </span>\n <Particles\n className=\"absolute inset-0 z-0\"\n quantity={100}\n ease={80}\n color={color}\n refresh\n />\n </div>\n );\n}\n","type": "registry:example","target": "components/particles-demo.tsx"},diff --git a/public/r/retro-grid-demo.json b/public/r/retro-grid-demo.jsonindex a723134c..0e85704d 100644--- a/public/r/retro-grid-demo.json+++ b/public/r/retro-grid-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/retro-grid-demo.tsx",- "content": "\"use client\";\n\nimport { RetroGrid } from \"@/components/magicui/retro-grid\";\n\nexport default function RetroGridDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <span className=\"pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-[#ffd319] via-[#ff2975] to-[#8c1eff] bg-clip-text text-center text-7xl font-bold leading-none tracking-tighter text-transparent\">\n Retro Grid\n </span>\n\n <RetroGrid />\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { RetroGrid } from \"@/components/magicui/retro-grid\";\n\nexport default function RetroGridDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <span className=\"pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-[#ffd319] via-[#ff2975] to-[#8c1eff] bg-clip-text text-center text-7xl font-bold leading-none tracking-tighter text-transparent\">\n Retro Grid\n </span>\n\n <RetroGrid />\n </div>\n );\n}\n","type": "registry:example","target": "components/retro-grid-demo.tsx"},diff --git a/public/r/ripple-demo.json b/public/r/ripple-demo.jsonindex 85f84d87..9a89c3f8 100644--- a/public/r/ripple-demo.json+++ b/public/r/ripple-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/ripple-demo.tsx",- "content": "import { Ripple } from \"@/components/magicui/ripple\";\n\nexport default function RippleDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-white\">\n Ripple\n </p>\n <Ripple />\n </div>\n );\n}\n",+ "content": "import { Ripple } from \"@/components/magicui/ripple\";\n\nexport default function RippleDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background\">\n <p className=\"z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-white\">\n Ripple\n </p>\n <Ripple />\n </div>\n );\n}\n","type": "registry:example","target": "components/ripple-demo.tsx"},diff --git a/public/r/scroll-based-velocity-demo.json b/public/r/scroll-based-velocity-demo.jsonindex adc684cb..a3e14699 100644--- a/public/r/scroll-based-velocity-demo.json+++ b/public/r/scroll-based-velocity-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/scroll-based-velocity-demo.tsx",- "content": "import { VelocityScroll } from \"@/components/magicui/scroll-based-velocity\";\n\nexport default function ScrollBasedVelocityDemo() {\n return <VelocityScroll>Velocity Scroll</VelocityScroll>;\n}\n",+ "content": "import { VelocityScroll } from \"@/components/magicui/scroll-based-velocity\";\n\nexport default function ScrollBasedVelocityDemo() {\n return (\n <div className=\"relative flex w-full flex-col items-center justify-center overflow-hidden\">\n <VelocityScroll>Velocity Scroll</VelocityScroll>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background\"></div>\n <div className=\"pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background\"></div>\n </div>\n );\n}\n","type": "registry:example","target": "components/scroll-based-velocity-demo.tsx"},diff --git a/public/r/scroll-progress-demo.json b/public/r/scroll-progress-demo.jsonindex 3912ace8..a344f910 100644--- a/public/r/scroll-progress-demo.json+++ b/public/r/scroll-progress-demo.json@@ -10,13 +10,13 @@"files": [{"path": "registry/example/scroll-progress-demo.tsx",- "content": "import { ScrollProgress } from \"@/components/magicui/scroll-progress\";\n\nexport default function ScrollProgressDemo() {\n return (\n <div className=\"z-10 rounded-lg border border-gray-200 bg-white p-4\">\n <ScrollProgress className=\"top-[65px]\" />\n <h2 className=\"pb-4 font-bold\">\n Note: The scroll progress is shown below the navbar of the page.\n </h2>\n <p className=\"pb-4\">\n Magic UI is a collection of re-usable components that you can copy and\n paste into your web apps. It primarily features components, blocks, and\n templates geared towards creating landing pages and user-facing\n marketing materials.\n </p>\n </div>\n );\n}\n",+ "content": "import { ScrollProgress } from \"@/components/magicui/scroll-progress\";\n\nexport default function ScrollProgressDemo() {\n return (\n <div className=\"z-10 rounded-lg p-4\">\n <ScrollProgress className=\"top-[65px]\" />\n <h2 className=\"pb-4 font-bold\">\n Note: The scroll progress is shown below the navbar of the page.\n </h2>\n </div>\n );\n}\n","type": "registry:example","target": "components/scroll-progress-demo.tsx"},{"path": "registry/magicui/scroll-progress.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { motion, MotionProps, useScroll, useSpring } from \"motion/react\";\nimport React from \"react\";\ninterface ScrollProgressProps\n extends Omit<React.HTMLAttributes<HTMLElement>, keyof MotionProps> {}\n\nexport const ScrollProgress = React.forwardRef<\n HTMLDivElement,\n ScrollProgressProps\n>(({ className, ...props }, ref) => {\n const { scrollYProgress } = useScroll();\n\n const scaleX = useSpring(scrollYProgress, {\n stiffness: 200,\n damping: 50,\n restDelta: 0.001,\n });\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n \"fixed inset-x-0 top-0 z-[1000] h-1 origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]\",\n className,\n )}\n style={{\n scaleX,\n }}\n {...props}\n />\n );\n});\n\nScrollProgress.displayName = \"ScrollProgress\";\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { motion, MotionProps, useScroll } from \"motion/react\";\nimport React from \"react\";\ninterface ScrollProgressProps\n extends Omit<React.HTMLAttributes<HTMLElement>, keyof MotionProps> {}\n\nexport const ScrollProgress = React.forwardRef<\n HTMLDivElement,\n ScrollProgressProps\n>(({ className, ...props }, ref) => {\n const { scrollYProgress } = useScroll();\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n \"fixed inset-x-0 top-0 z-50 h-px origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]\",\n className,\n )}\n style={{\n scaleX: scrollYProgress,\n }}\n {...props}\n />\n );\n});\n\nScrollProgress.displayName = \"ScrollProgress\";\n","type": "registry:ui","target": "components/magicui/scroll-progress.tsx"}diff --git a/public/r/scroll-progress.json b/public/r/scroll-progress.jsonindex e4eedc13..40aa699e 100644--- a/public/r/scroll-progress.json+++ b/public/r/scroll-progress.json@@ -10,7 +10,7 @@"files": [{"path": "registry/magicui/scroll-progress.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { motion, MotionProps, useScroll, useSpring } from \"motion/react\";\nimport React from \"react\";\ninterface ScrollProgressProps\n extends Omit<React.HTMLAttributes<HTMLElement>, keyof MotionProps> {}\n\nexport const ScrollProgress = React.forwardRef<\n HTMLDivElement,\n ScrollProgressProps\n>(({ className, ...props }, ref) => {\n const { scrollYProgress } = useScroll();\n\n const scaleX = useSpring(scrollYProgress, {\n stiffness: 200,\n damping: 50,\n restDelta: 0.001,\n });\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n \"fixed inset-x-0 top-0 z-[1000] h-1 origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]\",\n className,\n )}\n style={{\n scaleX,\n }}\n {...props}\n />\n );\n});\n\nScrollProgress.displayName = \"ScrollProgress\";\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport { motion, MotionProps, useScroll } from \"motion/react\";\nimport React from \"react\";\ninterface ScrollProgressProps\n extends Omit<React.HTMLAttributes<HTMLElement>, keyof MotionProps> {}\n\nexport const ScrollProgress = React.forwardRef<\n HTMLDivElement,\n ScrollProgressProps\n>(({ className, ...props }, ref) => {\n const { scrollYProgress } = useScroll();\n\n return (\n <motion.div\n ref={ref}\n className={cn(\n \"fixed inset-x-0 top-0 z-50 h-px origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]\",\n className,\n )}\n style={{\n scaleX: scrollYProgress,\n }}\n {...props}\n />\n );\n});\n\nScrollProgress.displayName = \"ScrollProgress\";\n","type": "registry:ui","target": "components/magicui/scroll-progress.tsx"}diff --git a/public/r/shine-border-demo-2.json b/public/r/shine-border-demo-2.jsonindex aeb87e31..84ce8ea9 100644--- a/public/r/shine-border-demo-2.json+++ b/public/r/shine-border-demo-2.json@@ -10,13 +10,13 @@"files": [{"path": "registry/example/shine-border-demo-2.tsx",- "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\n\nimport { ShineBorder } from \"@/components/magicui/shine-border\";\n\nexport default function ShineBorderDemo() {\n const theme = useTheme();\n return (\n <ShineBorder\n className=\"text-center text-2xl font-bold capitalize\"\n color={theme.theme === \"dark\" ? \"white\" : \"black\"}\n >\n Shine Border\n </ShineBorder>\n );\n}\n",+ "content": "\"use client\";\n\nimport { useTheme } from \"next-themes\";\n\nimport { ShineBorder } from \"@/components/magicui/shine-border\";\n\nexport default function ShineBorderDemo() {\n const theme = useTheme();\n return (\n <ShineBorder\n className=\"relative size-48 rounded-lg\"\n color={theme.theme === \"dark\" ? \"white\" : \"black\"}\n />\n );\n}\n","type": "registry:example","target": "components/shine-border-demo-2.tsx"},{"path": "registry/magicui/shine-border.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] bg-white p-3 text-black dark:bg-black dark:text-white\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children?: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] p-3 bg-background border\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n","type": "registry:ui","target": "components/magicui/shine-border.tsx"}diff --git a/public/r/shine-border-demo.json b/public/r/shine-border-demo.jsonindex e41bcf6e..b8de7259 100644--- a/public/r/shine-border-demo.json+++ b/public/r/shine-border-demo.json@@ -10,13 +10,13 @@"files": [{"path": "registry/example/shine-border-demo.tsx",- "content": "import { ShineBorder } from \"@/components/magicui/shine-border\";\n\nexport default function ShineBorderDemo() {\n return (\n <ShineBorder\n className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl\"\n color={[\"#A07CFE\", \"#FE8FB5\", \"#FFBE7B\"]}\n >\n <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\">\n Shine Border\n </span>\n </ShineBorder>\n );\n}\n",+ "content": "import { ShineBorder } from \"@/components/magicui/shine-border\";\n\nexport default function ShineBorderDemo() {\n return (\n <ShineBorder\n className=\"relative size-48 rounded-lg\"\n color={[\"#A07CFE\", \"#FE8FB5\", \"#FFBE7B\"]}\n />\n );\n}\n","type": "registry:example","target": "components/shine-border-demo.tsx"},{"path": "registry/magicui/shine-border.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] bg-white p-3 text-black dark:bg-black dark:text-white\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children?: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] p-3 bg-background border\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n","type": "registry:ui","target": "components/magicui/shine-border.tsx"}diff --git a/public/r/shine-border.json b/public/r/shine-border.jsonindex 0cebd42a..64d1cadb 100644--- a/public/r/shine-border.json+++ b/public/r/shine-border.json@@ -7,7 +7,7 @@"files": [{"path": "registry/magicui/shine-border.tsx",- "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] bg-white p-3 text-black dark:bg-black dark:text-white\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n",+ "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype TColorProp = string | string[];\n\ninterface ShineBorderProps {\n borderRadius?: number;\n borderWidth?: number;\n duration?: number;\n color?: TColorProp;\n className?: string;\n children?: React.ReactNode;\n}\n\n/**\n * @name Shine Border\n * @description It is an animated background border effect component with easy to use and configurable props.\n * @param borderRadius defines the radius of the border.\n * @param borderWidth defines the width of the border.\n * @param duration defines the animation duration to be applied on the shining border\n * @param color a string or string array to define border color.\n * @param className defines the class name to be applied to the component\n * @param children contains react node elements.\n */\nexport function ShineBorder({\n borderRadius = 8,\n borderWidth = 1,\n duration = 14,\n color = \"#000000\",\n className,\n children,\n}: ShineBorderProps) {\n return (\n <div\n style={\n {\n \"--border-radius\": `${borderRadius}px`,\n } as React.CSSProperties\n }\n className={cn(\n \"relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] p-3 bg-background border\",\n className,\n )}\n >\n <div\n style={\n {\n \"--border-width\": `${borderWidth}px`,\n \"--border-radius\": `${borderRadius}px`,\n \"--duration\": `${duration}s`,\n \"--mask-linear-gradient\": `linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)`,\n \"--background-radial-gradient\": `radial-gradient(transparent,transparent, ${color instanceof Array ? color.join(\",\") : color},transparent,transparent)`,\n } as React.CSSProperties\n }\n className={`before:bg-shine-size pointer-events-none before:absolute before:inset-0 before:size-full before:rounded-[--border-radius] before:p-[--border-width] before:will-change-[background-position] before:content-[\"\"] before:![-webkit-mask-composite:xor] before:![mask-composite:exclude] before:[background-image:--background-radial-gradient] before:[background-size:300%_300%] before:[mask:--mask-linear-gradient] motion-safe:before:animate-shine`}\n ></div>\n {children}\n </div>\n );\n}\n","type": "registry:ui","target": "components/magicui/shine-border.tsx"}diff --git a/public/r/tweet-card-demo.json b/public/r/tweet-card-demo.jsonindex abe44a05..e5ef2a65 100644--- a/public/r/tweet-card-demo.json+++ b/public/r/tweet-card-demo.json@@ -10,7 +10,7 @@"files": [{"path": "registry/example/tweet-card-demo.tsx",- "content": "import { ClientTweetCard } from \"@/components/magicui/client-tweet-card\";\n\n/**\n * <TweetCard /> (Server Side Only)\n * <ClientTweetCard /> (Client Side Only)\n */\nexport default function TweetDemo() {\n return <ClientTweetCard id=\"1668408059125702661\" className=\"shadow-2xl\" />;\n}\n",+ "content": "import { ClientTweetCard } from \"@/components/magicui/client-tweet-card\";\n\n/**\n * <TweetCard /> (Server Side Only)\n * <ClientTweetCard /> (Client Side Only)\n */\nexport default function TweetDemo() {\n return <ClientTweetCard id=\"1668408059125702661\" />;\n}\n","type": "registry:example","target": "components/tweet-card-demo.tsx"},diff --git a/registry.json b/registry.jsonindex 356c2864..4753f9d8 100644--- a/registry.json+++ b/registry.json@@ -2593,7 +2593,11 @@"type": "registry:example","title": "Dock Demo","description": "Example showing a MacOS-style dock implementation.",+ "dependencies": [+ "next-themes"+ ],"registryDependencies": [+ "button","https://magicui.design/r/dock"],"files": [@@ -2606,6 +2610,11 @@"path": "registry/magicui/dock.tsx","type": "registry:ui","target": "components/magicui/dock.tsx"+ },+ {+ "path": "registry/magicui/mode-toggle.tsx",+ "type": "registry:ui",+ "target": "components/magicui/mode-toggle.tsx"}]},diff --git a/registry/example/animated-beam-bidirectional.tsx b/registry/example/animated-beam-bidirectional.tsxindex a076e18f..8f9f182a 100644--- a/registry/example/animated-beam-bidirectional.tsx+++ b/registry/example/animated-beam-bidirectional.tsx@@ -31,7 +31,7 @@ export default function AnimatedBeamDemo() {return (<div- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden p-10"ref={containerRef}><div className="flex size-full flex-col items-stretch justify-between gap-10">diff --git a/registry/example/animated-beam-demo.tsx b/registry/example/animated-beam-demo.tsxindex decacd33..d869787c 100644--- a/registry/example/animated-beam-demo.tsx+++ b/registry/example/animated-beam-demo.tsx@@ -36,7 +36,7 @@ export default function AnimatedBeamDemo() {return (<div- className="relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"+ className="relative flex h-[300px] w-full items-center justify-center overflow-hidden p-10"ref={containerRef}><div className="flex size-full max-h-[200px] max-w-lg flex-col items-stretch justify-between gap-10">diff --git a/registry/example/animated-beam-multiple-inputs.tsx b/registry/example/animated-beam-multiple-inputs.tsxindex a728f8f1..5cd5ca68 100644--- a/registry/example/animated-beam-multiple-inputs.tsx+++ b/registry/example/animated-beam-multiple-inputs.tsx@@ -41,7 +41,7 @@ export default function AnimatedBeamMultipleOutputDemo({return (<divclassName={cn(- "relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl",+ "relative flex h-[500px] w-full items-center justify-center overflow-hidden p-10",className,)}ref={containerRef}diff --git a/registry/example/animated-beam-multiple-outputs.tsx b/registry/example/animated-beam-multiple-outputs.tsxindex e92d5c2a..f30972e8 100644--- a/registry/example/animated-beam-multiple-outputs.tsx+++ b/registry/example/animated-beam-multiple-outputs.tsx@@ -41,7 +41,7 @@ export default function AnimatedBeamMultipleOutputDemo({return (<divclassName={cn(- "relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl",+ "relative flex h-[500px] w-full items-center justify-center overflow-hidden p-10",className,)}ref={containerRef}diff --git a/registry/example/animated-beam-unidirectional.tsx b/registry/example/animated-beam-unidirectional.tsxindex 31277dc0..c8b87b6d 100644--- a/registry/example/animated-beam-unidirectional.tsx+++ b/registry/example/animated-beam-unidirectional.tsx@@ -31,7 +31,7 @@ export default function AnimatedBeamDemo() {return (<div- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden p-10"ref={containerRef}><div className="flex size-full flex-col items-stretch justify-between gap-10">diff --git a/registry/example/animated-grid-pattern-demo.tsx b/registry/example/animated-grid-pattern-demo.tsxindex 5509358e..d13c57e4 100644--- a/registry/example/animated-grid-pattern-demo.tsx+++ b/registry/example/animated-grid-pattern-demo.tsx@@ -3,10 +3,7 @@ import { AnimatedGridPattern } from "@/registry/magicui/animated-grid-pattern";export default function AnimatedGridPatternDemo() {return (- <div className="relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Animated Grid Pattern- </p>+ <div className="relative flex h-[500px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20"><AnimatedGridPatternnumSquares={30}maxOpacity={0.1}diff --git a/registry/example/animated-list-demo.tsx b/registry/example/animated-list-demo.tsxindex f4ac14eb..3a1e3fa0 100644--- a/registry/example/animated-list-demo.tsx+++ b/registry/example/animated-list-demo.tsx@@ -90,7 +90,7 @@ export default function AnimatedListDemo({return (<divclassName={cn(- "relative flex h-[500px] w-full flex-col overflow-hidden rounded-lg border bg-background p-6 md:shadow-xl",+ "relative flex h-[500px] w-full flex-col overflow-hidden p-2",className,)}>@@ -99,6 +99,8 @@ export default function AnimatedListDemo({<Notification {...item} key={idx} />))}</AnimatedList>++ <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background"></div></div>);}diff --git a/registry/example/bento-demo.tsx b/registry/example/bento-demo.tsxindex a87874dc..6919a214 100644--- a/registry/example/bento-demo.tsx+++ b/registry/example/bento-demo.tsx@@ -75,7 +75,7 @@ const features = [cta: "Learn more",className: "col-span-3 lg:col-span-2",background: (- <AnimatedListDemo className="absolute right-2 top-4 h-[300px] w-full border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-105" />+ <AnimatedListDemo className="absolute right-2 top-4 h-[300px] w-full scale-75 border-none transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_10%,#000_100%)] group-hover:scale-90" />),},{@@ -100,7 +100,7 @@ const features = [<Calendarmode="single"selected={new Date(2022, 4, 11, 0, 0, 0)}- className="absolute right-0 top-10 origin-top rounded-md border transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] group-hover:scale-105"+ className="absolute right-0 top-10 origin-top scale-75 rounded-md border transition-all duration-300 ease-out [mask-image:linear-gradient(to_top,transparent_40%,#000_100%)] group-hover:scale-90"/>),},diff --git a/registry/example/border-beam-demo.tsx b/registry/example/border-beam-demo.tsxindex 6d1d514a..f6b2d86b 100644--- a/registry/example/border-beam-demo.tsx+++ b/registry/example/border-beam-demo.tsx@@ -2,11 +2,8 @@ import { BorderBeam } from "@/registry/magicui/border-beam";export default function BorderBeamDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <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">- Border Beam- </span>- <BorderBeam size={250} duration={12} delay={9} />+ <div className="relative size-48 overflow-hidden rounded-lg border">+ <BorderBeam /></div>);}diff --git a/registry/example/confetti-demo.tsx b/registry/example/confetti-demo.tsxindex 87056eca..c0c50102 100644--- a/registry/example/confetti-demo.tsx+++ b/registry/example/confetti-demo.tsx@@ -8,7 +8,7 @@ export default function ConfettiDemo() {const confettiRef = useRef<ConfettiRef>(null);return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><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">Confetti</span>diff --git a/registry/example/dock-demo.tsx b/registry/example/dock-demo.tsxindex b39c86d1..5a50faaa 100644--- a/registry/example/dock-demo.tsx+++ b/registry/example/dock-demo.tsx@@ -95,7 +95,7 @@ const DATA = {export default function DockDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="flex flex-col items-center justify-center"><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">Dock</span>diff --git a/registry/example/dot-pattern-demo.tsx b/registry/example/dot-pattern-demo.tsxindex 34596698..e4a0ecd9 100644--- a/registry/example/dot-pattern-demo.tsx+++ b/registry/example/dot-pattern-demo.tsx@@ -5,10 +5,7 @@ import { DotPattern } from "@/registry/magicui/dot-pattern";export default function DotPatternDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Dot Pattern- </p>+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><DotPatternclassName={cn("[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]",diff --git a/registry/example/dot-pattern-linear-gradient.tsx b/registry/example/dot-pattern-linear-gradient.tsxindex c0a12cbd..18e68542 100644--- a/registry/example/dot-pattern-linear-gradient.tsx+++ b/registry/example/dot-pattern-linear-gradient.tsx@@ -5,10 +5,7 @@ import { DotPattern } from "@/registry/magicui/dot-pattern";export default function DotPatternLinearGradient() {return (- <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Dot Pattern- </p>+ <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20"><DotPatternwidth={20}height={20}diff --git a/registry/example/file-tree-demo.tsx b/registry/example/file-tree-demo.tsxindex 09521f9d..cafbb39b 100644--- a/registry/example/file-tree-demo.tsx+++ b/registry/example/file-tree-demo.tsx@@ -2,7 +2,7 @@ import { File, Folder, Tree } from "@/registry/magicui/file-tree";export default function FileTreeDemo() {return (- <div className="relative flex h-[300px] w-1/2 flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[300px] w-1/2 flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><TreeclassName="overflow-hidden rounded-md bg-background p-2"initialSelectedId="7"diff --git a/registry/example/globe-demo.tsx b/registry/example/globe-demo.tsxindex 6aa33c4a..7bd3db9d 100644--- a/registry/example/globe-demo.tsx+++ b/registry/example/globe-demo.tsx@@ -2,7 +2,7 @@ import { Globe } from "@/registry/magicui/globe";export default function GlobeDemo() {return (- <div className="relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60 md:shadow-xl">+ <div className="relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 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>diff --git a/registry/example/grid-pattern-dashed.tsx b/registry/example/grid-pattern-dashed.tsxindex 5dbc8496..f3948af6 100644--- a/registry/example/grid-pattern-dashed.tsx+++ b/registry/example/grid-pattern-dashed.tsx@@ -5,10 +5,7 @@ import { GridPattern } from "@/registry/magicui/grid-pattern";export default function GridPatternDashed() {return (- <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Grid Pattern- </p>+ <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20"><GridPatternwidth={30}height={30}diff --git a/registry/example/grid-pattern-demo.tsx b/registry/example/grid-pattern-demo.tsxindex 07b4386b..b1e8926b 100644--- a/registry/example/grid-pattern-demo.tsx+++ b/registry/example/grid-pattern-demo.tsx@@ -5,10 +5,7 @@ import { GridPattern } from "@/registry/magicui/grid-pattern";export default function GridPatternDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Grid Pattern- </p>+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><GridPatternsquares={[[4, 4],diff --git a/registry/example/grid-pattern-linear-gradient.tsx b/registry/example/grid-pattern-linear-gradient.tsxindex 7263c926..f2c53501 100644--- a/registry/example/grid-pattern-linear-gradient.tsx+++ b/registry/example/grid-pattern-linear-gradient.tsx@@ -5,10 +5,7 @@ import { GridPattern } from "@/registry/magicui/grid-pattern";export default function GridPatternLinearGradient() {return (- <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Grid Pattern- </p>+ <div className="relative flex size-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20"><GridPatternwidth={20}height={20}diff --git a/registry/example/icon-cloud-demo.tsx b/registry/example/icon-cloud-demo.tsxindex d62ceb22..1fd066a2 100644--- a/registry/example/icon-cloud-demo.tsx+++ b/registry/example/icon-cloud-demo.tsx@@ -39,7 +39,7 @@ export default function IconCloudDemo() {);return (- <div className="relative flex size-full max-w-lg items-center justify-center overflow-hidden rounded-lg border bg-background">+ <div className="relative flex size-full items-center justify-center overflow-hidden"><IconCloud images={images} /></div>);diff --git a/registry/example/interactive-grid-pattern-demo-2.tsx b/registry/example/interactive-grid-pattern-demo-2.tsxindex 34da9a60..e2f08ea8 100644--- a/registry/example/interactive-grid-pattern-demo-2.tsx+++ b/registry/example/interactive-grid-pattern-demo-2.tsx@@ -5,10 +5,7 @@ import { InteractiveGridPattern } from "@/registry/magicui/interactive-grid-pattexport default function InteractiveGridPatternDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Interactive Grid Pattern- </p>+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><InteractiveGridPatternclassName={cn("[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]",diff --git a/registry/example/interactive-grid-pattern-demo.tsx b/registry/example/interactive-grid-pattern-demo.tsxindex f8daa544..3ff09626 100644--- a/registry/example/interactive-grid-pattern-demo.tsx+++ b/registry/example/interactive-grid-pattern-demo.tsx@@ -5,10 +5,7 @@ import { InteractiveGridPattern } from "@/registry/magicui/interactive-grid-pattexport default function InteractiveGridPatternDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">- Interactive Grid Pattern- </p>+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><InteractiveGridPatternclassName={cn("[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]",diff --git a/registry/example/magic-card-demo.tsx b/registry/example/magic-card-demo.tsxindex df289190..447dca2e 100644--- a/registry/example/magic-card-demo.tsx+++ b/registry/example/magic-card-demo.tsx@@ -13,13 +13,13 @@ export default function MagicCardDemo() {}><MagicCard- className="cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl shadow-2xl"+ className="cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl"gradientColor={theme === "dark" ? "#262626" : "#D9D9D955"}>Magic</MagicCard><MagicCard- className="cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl shadow-2xl"+ className="cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl"gradientColor={theme === "dark" ? "#262626" : "#D9D9D955"}>Carddiff --git a/registry/example/marquee-3d.tsx b/registry/example/marquee-3d.tsxindex 22bedb40..fa348701 100644--- a/registry/example/marquee-3d.tsx+++ b/registry/example/marquee-3d.tsx@@ -1,57 +1,103 @@+import { cn } from "@/lib/utils";import { Marquee } from "@/registry/magicui/marquee";-const logos = [+const reviews = [{- name: "Microsoft",- img: "https://picsum.photos/id/1/200/300",+ name: "Jack",+ username: "@jack",+ body: "I've never seen anything like this before. It's amazing. I love it.",+ img: "https://avatar.vercel.sh/jack",},{- name: "Apple",- img: "https://picsum.photos/id/2/200/300",+ name: "Jill",+ username: "@jill",+ body: "I don't know what to say. I'm speechless. This is amazing.",+ img: "https://avatar.vercel.sh/jill",},{- name: "Google",- img: "https://picsum.photos/id/3/200/300",- },- {- name: "Facebook",- img: "https://picsum.photos/id/4/200/300",- },- {- name: "LinkedIn",- img: "https://picsum.photos/id/5/200/300",- },- {- name: "Twitter",- img: "https://picsum.photos/id/6/200/300",+ name: "John",+ username: "@john",+ body: "I'm at a loss for words. This is amazing. I love it.",+ img: "https://avatar.vercel.sh/john",},];+const firstRow = reviews.slice(0, reviews.length / 2);+const secondRow = reviews.slice(reviews.length / 2);+const thirdRow = reviews.slice(0, reviews.length / 2);+const fourthRow = reviews.slice(reviews.length / 2);++const ReviewCard = ({+ img,+ name,+ username,+ body,+}: {+ img: string;+ name: string;+ username: string;+ body: string;+}) => {+ return (+ <figure+ className={cn(+ "relative h-full w-36 cursor-pointer overflow-hidden rounded-xl border p-4",+ // light styles+ "border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]",+ // dark styles+ "dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]",+ )}+ >+ <div className="flex flex-row items-center gap-2">+ <img className="rounded-full" width="32" height="32" alt="" src={img} />+ <div className="flex flex-col">+ <figcaption className="text-sm font-medium dark:text-white">+ {name}+ </figcaption>+ <p className="text-xs font-medium dark:text-white/40">{username}</p>+ </div>+ </div>+ <blockquote className="mt-2 text-sm">{body}</blockquote>+ </figure>+ );+};+export default function Marquee3D() {return (- <div className="relative flex h-full w-96 flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background px-20 md:shadow-xl">- <div className="flex flex-row gap-4 [perspective:300px]">- <Marquee- className="h-96 justify-center overflow-hidden [--duration:60s] [--gap:1rem]"- vertical- style={{- transform:- "translateX(0px) translateY(0px) translateZ(-50px) rotateX(0deg) rotateY(-20deg) rotateZ(10deg) scale(1.5)",- }}- >- {logos.map((data, idx) => (- <img- key={idx}- src={data.img}- alt={data.name}- className="mx-auto h-full w-3/4 cursor-pointer rounded-xl border border-neutral-300 transition-all duration-300 hover:ring-1 hover:ring-neutral-300"- />+ <div className="relative flex h-96 w-full flex-row items-center justify-center gap-4 overflow-hidden [perspective:300px]">+ <div+ className="flex flex-row items-center gap-4"+ style={{+ transform:+ "translateX(-100px) translateY(0px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg)",+ }}+ >+ <Marquee pauseOnHover vertical className="[--duration:20s]">+ {firstRow.map((review) => (+ <ReviewCard key={review.username} {...review} />+ ))}+ </Marquee>+ <Marquee reverse pauseOnHover className="[--duration:20s]" vertical>+ {secondRow.map((review) => (+ <ReviewCard key={review.username} {...review} />+ ))}+ </Marquee>+ <Marquee reverse pauseOnHover className="[--duration:20s]" vertical>+ {thirdRow.map((review) => (+ <ReviewCard key={review.username} {...review} />+ ))}+ </Marquee>+ <Marquee pauseOnHover className="[--duration:20s]" vertical>+ {fourthRow.map((review) => (+ <ReviewCard key={review.username} {...review} />))}</Marquee></div>- <div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background"></div>- <div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div>+ <div className="pointer-events-none absolute inset-x-0 top-0 h-1/4 bg-gradient-to-b from-background"></div>+ <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background"></div>+ <div className="pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background"></div>+ <div className="pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background"></div></div>);}diff --git a/registry/example/marquee-demo-vertical.tsx b/registry/example/marquee-demo-vertical.tsxindex 61e1458d..9b130b64 100644--- a/registry/example/marquee-demo-vertical.tsx+++ b/registry/example/marquee-demo-vertical.tsx@@ -39,7 +39,7 @@ const ReviewCard = ({return (<figureclassName={cn(- "relative h-40 w-36 cursor-pointer overflow-hidden rounded-xl border p-4",+ "relative h-full w-36 cursor-pointer overflow-hidden rounded-xl border p-4",// light styles"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]",// dark styles@@ -62,7 +62,7 @@ const ReviewCard = ({export default function MarqueeDemoVertical() {return (- <div className="relative flex h-[500px] w-full flex-row items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-row items-center justify-center overflow-hidden"><Marquee pauseOnHover vertical className="[--duration:20s]">{firstRow.map((review) => (<ReviewCard key={review.username} {...review} />@@ -73,8 +73,8 @@ export default function MarqueeDemoVertical() {<ReviewCard key={review.username} {...review} />))}</Marquee>- <div className="pointer-events-none absolute inset-x-0 top-0 h-1/3 bg-gradient-to-b from-white dark:from-background"></div>- <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/3 bg-gradient-to-t from-white dark:from-background"></div>+ <div className="pointer-events-none absolute inset-x-0 top-0 h-1/4 bg-gradient-to-b from-background"></div>+ <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/4 bg-gradient-to-t from-background"></div></div>);}diff --git a/registry/example/marquee-demo.tsx b/registry/example/marquee-demo.tsxindex 82b009c8..f314edf0 100644--- a/registry/example/marquee-demo.tsx+++ b/registry/example/marquee-demo.tsx@@ -57,7 +57,7 @@ const ReviewCard = ({return (<figureclassName={cn(- "relative w-64 cursor-pointer overflow-hidden rounded-xl border p-4",+ "relative h-full w-64 cursor-pointer overflow-hidden rounded-xl border p-4",// light styles"border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]",// dark styles@@ -80,7 +80,7 @@ const ReviewCard = ({export default function MarqueeDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex w-full flex-col items-center justify-center overflow-hidden"><Marquee pauseOnHover className="[--duration:20s]">{firstRow.map((review) => (<ReviewCard key={review.username} {...review} />@@ -91,8 +91,8 @@ export default function MarqueeDemo() {<ReviewCard key={review.username} {...review} />))}</Marquee>- <div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background"></div>- <div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div>+ <div className="pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background"></div>+ <div className="pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background"></div></div>);}diff --git a/registry/example/meteors-demo.tsx b/registry/example/meteors-demo.tsxindex 4d2beaad..290f3cf0 100644--- a/registry/example/meteors-demo.tsx+++ b/registry/example/meteors-demo.tsx@@ -2,7 +2,7 @@ import { Meteors } from "@/registry/magicui/meteors";export default function MeteorDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border"><Meteors number={30} /><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">Meteorsdiff --git a/registry/example/orbiting-circles-demo.tsx b/registry/example/orbiting-circles-demo.tsxindex 8c93a394..aa896298 100644--- a/registry/example/orbiting-circles-demo.tsx+++ b/registry/example/orbiting-circles-demo.tsx@@ -2,11 +2,7 @@ import { OrbitingCircles } from "@/registry/magicui/orbiting-circles";export default function OrbitingCirclesDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">- <span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-black">- Circles- </span>-+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden"><OrbitingCircles iconSize={40}><Icons.whatsapp /><Icons.notion />diff --git a/registry/example/particles-demo.tsx b/registry/example/particles-demo.tsxindex 9d11ae8c..d2f2e507 100644--- a/registry/example/particles-demo.tsx+++ b/registry/example/particles-demo.tsx@@ -14,7 +14,7 @@ export default function ParticlesDemo() {}, [resolvedTheme]);return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><span className="pointer-events-none z-10 whitespace-pre-wrap text-center text-8xl font-semibold leading-none">Particles</span>diff --git a/registry/example/retro-grid-demo.tsx b/registry/example/retro-grid-demo.tsxindex 5f0a1007..86b1a2c5 100644--- a/registry/example/retro-grid-demo.tsx+++ b/registry/example/retro-grid-demo.tsx@@ -4,7 +4,7 @@ import { RetroGrid } from "@/registry/magicui/retro-grid";export default function RetroGridDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><span className="pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-[#ffd319] via-[#ff2975] to-[#8c1eff] bg-clip-text text-center text-7xl font-bold leading-none tracking-tighter text-transparent">Retro Grid</span>diff --git a/registry/example/ripple-demo.tsx b/registry/example/ripple-demo.tsxindex 048a0034..48772f3a 100644--- a/registry/example/ripple-demo.tsx+++ b/registry/example/ripple-demo.tsx@@ -2,7 +2,7 @@ import { Ripple } from "@/registry/magicui/ripple";export default function RippleDemo() {return (- <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">+ <div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background"><p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-white">Ripple</p>diff --git a/registry/example/scroll-based-velocity-demo.tsx b/registry/example/scroll-based-velocity-demo.tsxindex 06cacbb2..b1bf2897 100644--- a/registry/example/scroll-based-velocity-demo.tsx+++ b/registry/example/scroll-based-velocity-demo.tsx@@ -1,5 +1,11 @@import { VelocityScroll } from "@/registry/magicui/scroll-based-velocity";export default function ScrollBasedVelocityDemo() {- return <VelocityScroll>Velocity Scroll</VelocityScroll>;+ return (+ <div className="relative flex w-full flex-col items-center justify-center overflow-hidden">+ <VelocityScroll>Velocity Scroll</VelocityScroll>+ <div className="pointer-events-none absolute inset-y-0 left-0 w-1/4 bg-gradient-to-r from-background"></div>+ <div className="pointer-events-none absolute inset-y-0 right-0 w-1/4 bg-gradient-to-l from-background"></div>+ </div>+ );}diff --git a/registry/example/scroll-progress-demo.tsx b/registry/example/scroll-progress-demo.tsxindex 80b39eff..eabd62e0 100644--- a/registry/example/scroll-progress-demo.tsx+++ b/registry/example/scroll-progress-demo.tsx@@ -2,17 +2,11 @@ import { ScrollProgress } from "@/registry/magicui/scroll-progress";export default function ScrollProgressDemo() {return (- <div className="z-10 rounded-lg border border-gray-200 bg-white p-4">+ <div className="z-10 rounded-lg p-4"><ScrollProgress className="top-[65px]" /><h2 className="pb-4 font-bold">Note: The scroll progress is shown below the navbar of the page.</h2>- <p className="pb-4">- Magic UI is a collection of re-usable components that you can copy and- paste into your web apps. It primarily features components, blocks, and- templates geared towards creating landing pages and user-facing- marketing materials.- </p></div>);}diff --git a/registry/example/shine-border-demo-2.tsx b/registry/example/shine-border-demo-2.tsxindex b8bcbdfb..eaf05a88 100644--- a/registry/example/shine-border-demo-2.tsx+++ b/registry/example/shine-border-demo-2.tsx@@ -8,10 +8,8 @@ export default function ShineBorderDemo() {const theme = useTheme();return (<ShineBorder- className="text-center text-2xl font-bold capitalize"+ className="relative size-48 rounded-lg"color={theme.theme === "dark" ? "white" : "black"}- >- Shine Border- </ShineBorder>+ />);}diff --git a/registry/example/shine-border-demo.tsx b/registry/example/shine-border-demo.tsxindex 331a596a..ece90f3c 100644--- a/registry/example/shine-border-demo.tsx+++ b/registry/example/shine-border-demo.tsx@@ -3,12 +3,8 @@ import { ShineBorder } from "@/registry/magicui/shine-border";export default function ShineBorderDemo() {return (<ShineBorder- className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl"+ className="relative size-48 rounded-lg"color={["#A07CFE", "#FE8FB5", "#FFBE7B"]}- >- <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">- Shine Border- </span>- </ShineBorder>+ />);}diff --git a/registry/example/tweet-card-demo.tsx b/registry/example/tweet-card-demo.tsxindex e37faea6..93853b2e 100644--- a/registry/example/tweet-card-demo.tsx+++ b/registry/example/tweet-card-demo.tsx@@ -5,5 +5,5 @@ import { ClientTweetCard } from "@/registry/magicui/client-tweet-card";* <ClientTweetCard /> (Client Side Only)*/export default function TweetDemo() {- return <ClientTweetCard id="1668408059125702661" className="shadow-2xl" />;+ return <ClientTweetCard id="1668408059125702661" />;}diff --git a/registry/magicui/animated-list.tsx b/registry/magicui/animated-list.tsxindex 26a65a3d..872365ba 100644--- a/registry/magicui/animated-list.tsx+++ b/registry/magicui/animated-list.tsx@@ -1,5 +1,6 @@"use client";+import { cn } from "@/lib/utils";import { AnimatePresence, motion } from "motion/react";import React, {ComponentPropsWithoutRef,@@ -39,7 +40,7 @@ export const AnimatedList = React.memo(useEffect(() => {if (index < childrenArray.length - 1) {const timeout = setTimeout(() => {- setIndex((prevIndex) => prevIndex + 1);+ setIndex((prevIndex) => (prevIndex + 1) % childrenArray.length);}, delay);return () => clearTimeout(timeout);@@ -53,7 +54,7 @@ export const AnimatedList = React.memo(return (<div- className={`flex flex-col items-center gap-4 ${className}`}+ className={cn(`flex flex-col items-center gap-4`, className)}{...props}><AnimatePresence>diff --git a/registry/magicui/bento-grid.tsx b/registry/magicui/bento-grid.tsxindex da32529d..cb1837b3 100644--- a/registry/magicui/bento-grid.tsx+++ b/registry/magicui/bento-grid.tsx@@ -48,9 +48,9 @@ const BentoCard = ({className={cn("group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl",// light styles- "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)]",+ "bg-background [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 styles- "transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",+ "transform-gpu dark:bg-background dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",className,)}{...props}diff --git a/registry/magicui/code-comparison.tsx b/registry/magicui/code-comparison.tsxindex 0b4ddfd5..9fa34fdd 100644--- a/registry/magicui/code-comparison.tsx+++ b/registry/magicui/code-comparison.tsx@@ -77,7 +77,7 @@ export function CodeComparison({};return (<div className="mx-auto w-full max-w-5xl">- <div className="relative w-full overflow-hidden rounded-xl border border-border">+ <div className="relative w-full overflow-hidden rounded-md border border-border"><div className="relative grid md:grid-cols-2 md:divide-x md:divide-border"><div><div className="flex items-center bg-accent p-2 text-sm text-foreground">diff --git a/registry/magicui/mode-toggle.tsx b/registry/magicui/mode-toggle.tsxnew file mode 100644index 00000000..77ab9933--- /dev/null+++ b/registry/magicui/mode-toggle.tsx@@ -0,0 +1,33 @@+"use client";++import { MoonIcon, SunIcon } from "@radix-ui/react-icons";+import { useTheme } from "next-themes";+import React from "react";++import { Button } from "@/components/ui/button";+import { cn } from "@/lib/utils";++export const ModeToggle = React.forwardRef<+ HTMLButtonElement,+ React.ComponentPropsWithoutRef<typeof Button> & { className?: string }+>(({ className, ...props }, ref) => {+ const { theme, setTheme } = useTheme();++ return (+ <Button+ ref={ref}+ variant="ghost"+ type="button"+ size="icon"+ className={cn("px-2", className)}+ aria-label="Toggle theme"+ onClick={() => setTheme(theme === "dark" ? "light" : "dark")}+ {...props}+ >+ <SunIcon className="size-[1.2rem] text-neutral-800 dark:hidden dark:text-neutral-200" />+ <MoonIcon className="hidden size-[1.2rem] text-neutral-800 dark:block dark:text-neutral-200" />+ </Button>+ );+});++ModeToggle.displayName = "ModeToggle";diff --git a/registry/magicui/scroll-progress.tsx b/registry/magicui/scroll-progress.tsxindex 63cad7d8..3edfe6fb 100644--- a/registry/magicui/scroll-progress.tsx+++ b/registry/magicui/scroll-progress.tsx@@ -1,7 +1,7 @@"use client";import { cn } from "@/lib/utils";-import { motion, MotionProps, useScroll, useSpring } from "motion/react";+import { motion, MotionProps, useScroll } from "motion/react";import React from "react";interface ScrollProgressPropsextends Omit<React.HTMLAttributes<HTMLElement>, keyof MotionProps> {}@@ -12,21 +12,15 @@ export const ScrollProgress = React.forwardRef<>(({ className, ...props }, ref) => {const { scrollYProgress } = useScroll();- const scaleX = useSpring(scrollYProgress, {- stiffness: 200,- damping: 50,- restDelta: 0.001,- });-return (<motion.divref={ref}className={cn(- "fixed inset-x-0 top-0 z-[1000] h-1 origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]",+ "fixed inset-x-0 top-0 z-50 h-px origin-left bg-gradient-to-r from-[#A97CF8] via-[#F38CB8] to-[#FDCC92]",className,)}style={{- scaleX,+ scaleX: scrollYProgress,}}{...props}/>diff --git a/registry/magicui/shine-border.tsx b/registry/magicui/shine-border.tsxindex fcde11a0..e3887ac2 100644--- a/registry/magicui/shine-border.tsx+++ b/registry/magicui/shine-border.tsx@@ -10,7 +10,7 @@ interface ShineBorderProps {duration?: number;color?: TColorProp;className?: string;- children: React.ReactNode;+ children?: React.ReactNode;}/**@@ -39,7 +39,7 @@ export function ShineBorder({} as React.CSSProperties}className={cn(- "relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] bg-white p-3 text-black dark:bg-black dark:text-white",+ "relative min-h-[60px] w-fit min-w-[300px] place-items-center rounded-[--border-radius] p-3 bg-background border",className,)}>diff --git a/registry/registry-examples.ts b/registry/registry-examples.tsindex 904fef72..0112846a 100644--- a/registry/registry-examples.ts+++ b/registry/registry-examples.ts@@ -1091,7 +1091,8 @@ export const examples: Registry["items"] = [type: "registry:example",title: "Dock Demo",description: "Example showing a MacOS-style dock implementation.",- registryDependencies: ["https://magicui.design/r/dock"],+ dependencies: ["next-themes"],+ registryDependencies: ["button", "https://magicui.design/r/dock"],files: [{path: "registry/example/dock-demo.tsx",@@ -1103,6 +1104,11 @@ export const examples: Registry["items"] = [type: "registry:ui",target: "components/magicui/dock.tsx",},+ {+ path: "registry/magicui/mode-toggle.tsx",+ type: "registry:ui",+ target: "components/magicui/mode-toggle.tsx",+ },],},{diff --git a/styles/globals.css b/styles/globals.cssindex d0548af2..40832922 100644--- a/styles/globals.css+++ b/styles/globals.css@@ -6,24 +6,37 @@:root {--background: 0 0% 100%;--foreground: 240 10% 3.9%;- --muted: 240 4.8% 95.9%;- --muted-foreground: 240 3.8% 46.1%;- --popover: 0 0% 100%;- --popover-foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;- --border: 240 5.9% 90%;- --input: 240 5.9% 90%;+ --popover: 0 0% 100%;+ --popover-foreground: 240 10% 3.9%;--primary: 240 5.9% 10%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;+ --muted: 240 4.8% 95.9%;+ --muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;- --destructive: 0 84.2% 60.2%;+ --destructive: 0 72.22% 50.59%;--destructive-foreground: 0 0% 98%;+ --border: 240 5.9% 90%;+ --input: 240 5.9% 90%;--ring: 240 5% 64.9%;--radius: 0.5rem;+ --chart-1: 12 76% 61%;+ --chart-2: 173 58% 39%;+ --chart-3: 197 37% 24%;+ --chart-4: 43 74% 66%;+ --chart-5: 27 87% 67%;+ --sidebar-background: 0 0% 98%;+ --sidebar-foreground: 240 5.3% 26.1%;+ --sidebar-primary: 240 5.9% 10%;+ --sidebar-primary-foreground: 0 0% 98%;+ --sidebar-accent: 240 4.8% 95.9%;+ --sidebar-accent-foreground: 240 5.9% 10%;+ --sidebar-border: 220 13% 91%;+ --sidebar-ring: 240 5% 64.9%;--color-1: 0 100% 63%;--color-2: 270 100% 63%;@@ -33,11 +46,11 @@}.dark {- --background: 0 0% 0%;+ --background: 240 10% 3.9%;--foreground: 0 0% 98%;- --card: 0 0% 0%;+ --card: 240 10% 3.9%;--card-foreground: 0 0% 98%;- --popover: 0 0% 0%;+ --popover: 240 10% 3.9%;--popover-foreground: 0 0% 98%;--primary: 0 0% 98%;--primary-foreground: 240 5.9% 10%;@@ -52,6 +65,19 @@--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%;+ --chart-1: 220 70% 50%;+ --chart-2: 160 60% 45%;+ --chart-3: 30 80% 55%;+ --chart-4: 280 65% 60%;+ --chart-5: 340 75% 55%;+ --sidebar-background: 240 5.9% 10%;+ --sidebar-foreground: 240 4.8% 95.9%;+ --sidebar-primary: 224.3 76.3% 48%;+ --sidebar-primary-foreground: 0 0% 100%;+ --sidebar-accent: 240 3.7% 15.9%;+ --sidebar-accent-foreground: 240 4.8% 95.9%;+ --sidebar-border: 240 3.7% 15.9%;+ --sidebar-ring: 240 4.9% 83.9%;}}