NamedCodeBlock() — supabase Function Reference
Architecture documentation for the NamedCodeBlock() function in CodeTabs.components.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/features/directives/CodeTabs.components.tsx lines 5–21
export function NamedCodeBlock({ name, children }: PropsWithChildren<{ name: string }>) {
return (
<div className="shiki-wrapper w-full space-y-2">
<h6
className={cn(
'w-fit flex items-center text-center',
'shadow-sm rounded border border-stronger bg-selection',
'px-2.5 py-1',
'text-xs text-foreground'
)}
>
{name}
</h6>
{children}
</div>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free