HeaderLink() — supabase Function Reference
Architecture documentation for the HeaderLink() function in NavigationMenuGuideListItems.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx lines 11–29
const HeaderLink = React.memo(function HeaderLink(props: {
title: string
id: string
url: string
}) {
const pathname = usePathname()
return (
<span
className={[
' ',
!props.title && 'capitalize',
props.url === pathname ? 'text-brand-link' : 'hover:text-brand-link text-foreground',
].join(' ')}
>
{props.title ?? props.id}
</span>
)
})
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free