{ "name": "card-flip", "type": "registry:component", "dependencies": [ "lucide-react" ], "files": [ { "type": "registry:component", "content": "\"use client\";\n\n/**\n * @author: @dorianbaffier\n * @description: Card Flip\n * @version: 1.0.0\n * @date: 2025-06-26\n * @license: MIT\n * @website: https://kokonutui.com\n * @github: https://github.com/kokonut-labs/kokonutui\n */\n\nimport { ArrowRight, Repeat2 } from \"lucide-react\";\nimport { useState } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface CardFlipProps {\n title?: string;\n subtitle?: string;\n description?: string;\n features?: string[];\n}\n\nexport default function CardFlip({\n title = \"Design Systems\",\n subtitle = \"Explore the fundamentals\",\n description = \"Dive deep into the world of modern UI/UX design.\",\n features = [\"UI/UX\", \"Modern Design\", \"Tailwind CSS\", \"Kokonut UI\"],\n}: CardFlipProps) {\n const [isFlipped, setIsFlipped] = useState(false);\n\n return (\n
\n {subtitle}\n
\n\n {description}\n
\n