{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "header-branding-glass", "type": "registry:block", "title": "Header Branding Glass", "description": "Header Branding Glass component with glass effects", "dependencies": [ "lucide-react", "react" ], "registryDependencies": [ "cn" ], "files": [ { "path": "components/glass/sections/header-branding-glass.tsx", "type": "registry:component", "content": "// ========================================\n// HEADER BRANDING GLASS - SECTION COMPONENT\n// Header branding with logo and subtitle\n// Level 4: Section (extracted from HeaderNavGlass)\n// ========================================\n\nimport { forwardRef, type HTMLAttributes, type CSSProperties } from 'react';\nimport { type LucideIcon } from 'lucide-react';\nimport { cn } from '@/lib/utils';\nimport { IconButtonGlass } from '../atomic/icon-button-glass';\nimport '@/glass-theme.css';\n\nexport interface HeaderBrandingGlassProps extends HTMLAttributes {\n /** Logo icon component */\n readonly logoIcon: LucideIcon;\n /** Main title */\n readonly title: string;\n /** Subtitle (hidden on mobile) */\n readonly subtitle?: string;\n /** Logo click handler */\n readonly onLogoClick?: () => void;\n /** Logo aria label */\n readonly logoAriaLabel?: string;\n}\n\nexport const HeaderBrandingGlass = forwardRef(\n (\n {\n logoIcon,\n title,\n subtitle,\n onLogoClick,\n logoAriaLabel = 'Home',\n className,\n ...props\n },\n ref\n ) => {\n const titleStyles: CSSProperties = {\n color: 'var(--text-primary)',\n };\n\n return (\n \n \n
\n \n {title}\n \n {subtitle && (\n \n ยท {subtitle}\n \n )}\n
\n \n );\n }\n);\n\nHeaderBrandingGlass.displayName = 'HeaderBrandingGlass';\n" } ], "categories": [ "sections" ] }