Home / Function/ Section() — supabase Function Reference

Section() — supabase Function Reference

Architecture documentation for the Section() function in RefSubLayoutNonFunc.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/layouts/ref/RefSubLayoutNonFunc.tsx lines 39–52

const Section: FC<PropsWithChildren<ISectionContainer>> = (props) => {
  return (
    <article key={props.id} className={`${props.singleColumn ? 'prose py-16' : 'py-16'}`}>
      <StickyHeader {...props} />
      <div
        className={`ref-container gap-16 ${
          !props.singleColumn ? 'grid lg:grid-cols-2' : 'ref-container--full-width lg:max-w-3xl'
        }`}
      >
        {props.children}
      </div>
    </article>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free