ExamplesLayout() — ui Function Reference
Architecture documentation for the ExamplesLayout() function in layout.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD ab1e556c_8e1e_c029_aa3b_39ef7d1f4ebe["ExamplesLayout()"] 0bb92ff6_ea24_5e31_f054_588865022637["layout.tsx"] ab1e556c_8e1e_c029_aa3b_39ef7d1f4ebe -->|defined in| 0bb92ff6_ea24_5e31_f054_588865022637 style ab1e556c_8e1e_c029_aa3b_39ef7d1f4ebe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/app/(app)/examples/layout.tsx lines 47–80
export default function ExamplesLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<>
<PageHeader>
<Announcement />
<PageHeaderHeading className="max-w-4xl">{title}</PageHeaderHeading>
<PageHeaderDescription>{description}</PageHeaderDescription>
<PageActions>
<Button asChild size="sm">
<Link href="/docs/installation">Get Started</Link>
</Button>
<Button asChild size="sm" variant="ghost">
<Link href="/docs/components">View Components</Link>
</Button>
</PageActions>
</PageHeader>
<PageNav id="examples" className="hidden md:flex">
<ExamplesNav className="[&>a:first-child]:text-primary flex-1 overflow-hidden" />
<ThemeSelector className="mr-4 hidden md:flex" />
</PageNav>
<div className="container-wrapper section-soft flex flex-1 flex-col pb-6">
<div className="theme-container container flex flex-1 scroll-mt-20 flex-col">
<div className="bg-background flex flex-col overflow-hidden rounded-lg border bg-clip-padding has-[[data-slot=rtl-components]]:overflow-visible has-[[data-slot=rtl-components]]:border-0 has-[[data-slot=rtl-components]]:bg-transparent md:flex-1 xl:rounded-xl">
{children}
</div>
</div>
</div>
</>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ExamplesLayout() do?
ExamplesLayout() is a function in the ui codebase, defined in apps/v4/app/(app)/examples/layout.tsx.
Where is ExamplesLayout() defined?
ExamplesLayout() is defined in apps/v4/app/(app)/examples/layout.tsx at line 47.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free