{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "glass-blog-card-shadcnui", "type": "registry:component", "title": "Glass Blog Card", "description": "Glassmorphism blog card with image zoom, author info, and read action", "dependencies": [ "framer-motion", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/components/cards/shadcnui/glass-blog-card.tsx", "content": "\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Card } from \"@/components/ui/card\";\nimport { cn } from \"@/lib/utils\";\nimport { motion } from \"framer-motion\";\nimport { BookOpen, Clock } from \"lucide-react\";\n\ninterface GlassBlogCardProps {\n title?: string;\n excerpt?: string;\n image?: string;\n author?: {\n name: string;\n avatar: string;\n };\n date?: string;\n readTime?: string;\n tags?: string[];\n className?: string;\n}\n\nconst defaultPost = {\n title: \"The Future of UI Design\",\n excerpt:\n \"Exploring the latest trends in glassmorphism, 3D elements, and micro-interactions.\",\n image:\n \"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80\",\n author: {\n name: \"Moumen Soliman\",\n avatar: \"https://github.com/shadcn.png\",\n },\n date: \"Dec 2, 2025\",\n readTime: \"5 min read\",\n tags: [\"Design\", \"UI/UX\"],\n};\n\nexport function GlassBlogCard({\n title = defaultPost.title,\n excerpt = defaultPost.excerpt,\n image = defaultPost.image,\n author = defaultPost.author,\n date = defaultPost.date,\n readTime = defaultPost.readTime,\n tags = defaultPost.tags,\n className,\n}: GlassBlogCardProps) {\n return (\n \n \n {/* Image Section */}\n
\n \n
\n\n
\n {tags?.map((tag, index) => (\n \n {tag}\n \n ))}\n
\n\n {/* Hover Overlay Action */}\n
\n \n \n Read Article\n \n
\n
\n\n {/* Content Section */}\n
\n
\n

\n {title}\n

\n

\n {excerpt}\n

\n
\n\n
\n
\n \n \n {author.name[0]}\n \n
\n \n {author.name}\n \n {date}\n
\n
\n\n
\n \n {readTime}\n
\n
\n
\n \n \n );\n}\n", "type": "registry:component", "target": "components/uitripled/glass-blog-card-shadcnui.tsx" } ] }