{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "link-demo", "title": "Link Demo", "description": "Example showing animated link hover effects.", "dependencies": [ "framer-motion" ], "files": [ { "path": "registry/example/link-demo.tsx", "content": "\"use client\"\n\nimport { RevealLinks } from \"@/registry/pioneerui/link-reveal\"\nimport { motion } from \"framer-motion\"\n\ninterface CreativeDemoProps {\n config: {\n duration: number\n stagger: number\n fontSize: number\n showUnderline: boolean\n }\n}\n\nexport default function CreativeDemo({ config }: CreativeDemoProps) {\n const links = [\n { text: \"Imagine\", href: \"https://codewithtoni.com\", color: \"from-blue-500 to-sky-500\" },\n { text: \"Create\", href: \"#\", color: \"from-purple-500 to-pink-500\" },\n { text: \"Inspire\", href: \"#\", color: \"from-orange-500 to-red-500\" },\n { text: \"Share\", href: \"#\", color: \"from-green-500 to-emerald-500\" },\n ]\n\n return (\n
\n {/* Animated shapes */}\n
\n {[...Array(20)].map((_, i) => (\n \n ))}\n
\n\n \n
\n )\n}\n", "type": "registry:example", "target": "components/link-demo.tsx" } ], "type": "registry:example" }