Container() — supabase Function Reference
Architecture documentation for the Container() function in MainSkeleton.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/docs/layouts/MainSkeleton.tsx lines 278–296
const Container = memo(function Container({
children,
className,
}: PropsWithChildren<{ className?: string }>) {
return (
<main
// used by layout to scroll to top
id={DOCS_CONTENT_CONTAINER_ID}
className={cn(
'w-full transition-all ease-out relative',
// desktop override any margin styles
'lg:ml-0',
className
)}
>
<div className="flex flex-col sticky top-0">{children}</div>
</main>
)
})
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free