Section() — supabase Function Reference
Architecture documentation for the Section() function in RefSubLayout.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/layouts/ref/RefSubLayout.tsx lines 65–84
const Section: FC<PropsWithChildren<ISectionContainer>> = (props) => {
return (
<article
key={props.id + 'section'}
className={[
props.singleColumn ? 'prose w-full' : 'w-full',
'py-16 first:pt-8 last:pb-8',
].join(' ')}
>
<StickyHeader {...props} />
<div
className={`ref-container w-full gap-16 ${
!props.singleColumn ? 'grid lg:grid-cols-2' : 'ref-container--full-width lg:max-w-3xl'
}`}
>
{props.children}
</div>
</article>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free