Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/www/public/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8489,7 +8489,7 @@ export function InteractiveHoverButton({
)}
{...props}
>
<div className="flex items-center gap-2">
<div className="flex items-center justify-center gap-2">
<div className="bg-primary h-2 w-2 rounded-full transition-all duration-300 group-hover:scale-[100.8]"></div>
<span className="inline-block transition-all duration-300 group-hover:translate-x-12 group-hover:opacity-0">
{children}
Expand Down
2 changes: 1 addition & 1 deletion apps/www/public/r/interactive-hover-button.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"files": [
{
"path": "registry/magicui/interactive-hover-button.tsx",
"content": "import { ArrowRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport function InteractiveHoverButton({\n children,\n className,\n ...props\n}: React.ButtonHTMLAttributes<HTMLButtonElement>) {\n return (\n <button\n className={cn(\n \"group bg-background relative w-auto cursor-pointer overflow-hidden rounded-full border p-2 px-6 text-center font-semibold\",\n className\n )}\n {...props}\n >\n <div className=\"flex items-center gap-2\">\n <div className=\"bg-primary h-2 w-2 rounded-full transition-all duration-300 group-hover:scale-[100.8]\"></div>\n <span className=\"inline-block transition-all duration-300 group-hover:translate-x-12 group-hover:opacity-0\">\n {children}\n </span>\n </div>\n <div className=\"text-primary-foreground absolute top-0 z-10 flex h-full w-full translate-x-12 items-center justify-center gap-2 opacity-0 transition-all duration-300 group-hover:-translate-x-5 group-hover:opacity-100\">\n <span>{children}</span>\n <ArrowRight />\n </div>\n </button>\n )\n}\n",
"content": "import { ArrowRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport function InteractiveHoverButton({\n children,\n className,\n ...props\n}: React.ButtonHTMLAttributes<HTMLButtonElement>) {\n return (\n <button\n className={cn(\n \"group bg-background relative w-auto cursor-pointer overflow-hidden rounded-full border p-2 px-6 text-center font-semibold\",\n className\n )}\n {...props}\n >\n <div className=\"flex items-center justify-center gap-2\">\n <div className=\"bg-primary h-2 w-2 rounded-full transition-all duration-300 group-hover:scale-[100.8]\"></div>\n <span className=\"inline-block transition-all duration-300 group-hover:translate-x-12 group-hover:opacity-0\">\n {children}\n </span>\n </div>\n <div className=\"text-primary-foreground absolute top-0 z-10 flex h-full w-full translate-x-12 items-center justify-center gap-2 opacity-0 transition-all duration-300 group-hover:-translate-x-5 group-hover:opacity-100\">\n <span>{children}</span>\n <ArrowRight />\n </div>\n </button>\n )\n}\n",
"type": "registry:ui"
}
]
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/magicui/interactive-hover-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function InteractiveHoverButton({
)}
{...props}
>
<div className="flex items-center gap-2">
<div className="flex items-center justify-center gap-2">
<div className="bg-primary h-2 w-2 rounded-full transition-all duration-300 group-hover:scale-[100.8]"></div>
<span className="inline-block transition-all duration-300 group-hover:translate-x-12 group-hover:opacity-0">
{children}
Expand Down