{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "announcement", "type": "registry:component", "title": "Announcement", "description": "Announcement banner component with tag and title support.", "registryDependencies": [ "badge" ], "files": [ { "path": "registry/new-york/blocks/landing-page/components/announcement.tsx", "content": "import type { ComponentProps, HTMLAttributes } from 'react';\nimport { Badge } from '@/components/ui/badge';\nimport { cn } from '@/lib/utils';\nexport type AnnouncementProps = ComponentProps & {\n themed?: boolean;\n};\nexport const Announcement = ({\n variant = 'outline',\n themed = false,\n className,\n ...props\n}: AnnouncementProps) => (\n \n);\nexport type AnnouncementTagProps = HTMLAttributes;\nexport const AnnouncementTag = ({\n className,\n ...props\n}: AnnouncementTagProps) => (\n \n);\nexport type AnnouncementTitleProps = HTMLAttributes;\nexport const AnnouncementTitle = ({\n className,\n ...props\n}: AnnouncementTitleProps) => (\n \n);", "type": "registry:ui" } ] }