BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn-glass-ui/header-branding-glass

Header Branding Glass

shadcn-glass-ui/header-branding-glass
FreeBlock

Header Branding Glass component with glass effects

Install it

npx shadcn@latest add https://raw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/header-branding-glass.json

Source

components/glass/sections/header-branding-glass.tsxraw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/header-branding-glass.json
1// ========================================
2// HEADER BRANDING GLASS - SECTION COMPONENT
3// Header branding with logo and subtitle
4// Level 4: Section (extracted from HeaderNavGlass)
5// ========================================
6
7import { forwardRef, type HTMLAttributes, type CSSProperties } from 'react';
8import { type LucideIcon } from 'lucide-react';
9import { cn } from '@/lib/utils';
10import { IconButtonGlass } from '../atomic/icon-button-glass';
11import '@/glass-theme.css';
12
13export interface HeaderBrandingGlassProps extends HTMLAttributes<HTMLDivElement> {
14 /** Logo icon component */
15 readonly logoIcon: LucideIcon;
16 /** Main title */
17 readonly title: string;
18 /** Subtitle (hidden on mobile) */
19 readonly subtitle?: string;
20 /** Logo click handler */
21 readonly onLogoClick?: () => void;
22 /** Logo aria label */
23 readonly logoAriaLabel?: string;
24}
25
26export const HeaderBrandingGlass = forwardRef<HTMLDivElement, HeaderBrandingGlassProps>(
27 (
28 {
29 logoIcon,
30 title,
31 subtitle,
32 onLogoClick,
33 logoAriaLabel = 'Home',
34 className,
35 ...props
36 },
37 ref
38 ) => {
39 const titleStyles: CSSProperties = {
40 color: 'var(--text-primary)',
41 };
42
43 return (
44 <div
45 ref={ref}
46 className={cn('flex items-center gap-4', className)}
47 {...props}
48 >
49 <IconButtonGlass
50 icon={logoIcon}
51 aria-label={logoAriaLabel}
52 onClick={onLogoClick}
53 variant="gradient"
54 size="md"
55 />
56 <div className="flex flex-col sm:flex-row sm:items-center sm:gap-2">
57 <span className="font-semibold text-base md:text-lg" style={titleStyles}>
58 {title}
59 </span>
60 {subtitle && (
61 <span
62 className="hidden md:inline text-sm"
63 style={{ color: 'var(--text-secondary)' }}
64 >
65 · {subtitle}
66 </span>
67 )}
68 </div>
69 </div>
70 );
71 }
72);
73
74HeaderBrandingGlass.displayName = 'HeaderBrandingGlass';

Facts

Registry
shadcn-glass-ui
Type
registry:block
Access
Free
Files written
0
Licence
Apache-2.0
First indexed
2026-08-02
Last confirmed
today

Go to the source

yhooi2.github.io artyhoo/shadcn-glass-ui-library on GitHub Raw registry item This item as JSON

More from shadcn-glass-ui

All 76 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Ai Card Glassai-card-glassshadcn-glass-uiBlocksFreeno deps
Career Stats Glasscareer-stats-glassshadcn-glass-uiBlocksFreeno deps
Career Stats Header Glasscareer-stats-header-glassshadcn-glass-uiBlocksFreeno deps
Circular Metric Glasscircular-metric-glassshadcn-glass-uiBlocksFreeno deps
Contribution Metrics Glasscontribution-metrics-glassshadcn-glass-uiBlocksFreeno deps
Flags Section Glassflags-section-glassshadcn-glass-uiBlocksFreeno deps
Header Nav Glassheader-nav-glassshadcn-glass-uiBlocksFreeno deps
Metric Card Glassmetric-card-glassshadcn-glass-uiBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex