Home / Function/ ColorsLayout() — ui Function Reference

ColorsLayout() — ui Function Reference

Architecture documentation for the ColorsLayout() function in layout.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  45ff7a60_3b48_d48a_f02b_1f47c5343525["ColorsLayout()"]
  56138a84_c663_2f7a_6733_3e67ff8c366b["layout.tsx"]
  45ff7a60_3b48_d48a_f02b_1f47c5343525 -->|defined in| 56138a84_c663_2f7a_6733_3e67ff8c366b
  style 45ff7a60_3b48_d48a_f02b_1f47c5343525 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/app/(app)/colors/layout.tsx lines 40–69

export default function ColorsLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <>
      <PageHeader>
        <Announcement />
        <PageHeaderHeading>{title}</PageHeaderHeading>
        <PageHeaderDescription>{description}</PageHeaderDescription>
        <PageActions>
          <Button asChild size="sm">
            <a href="#colors">Browse Colors</a>
          </Button>
          <Button asChild variant="ghost" size="sm">
            <Link href="/docs/theming">Documentation</Link>
          </Button>
        </PageActions>
      </PageHeader>
      <div className="container-wrapper">
        <div className="container py-6">
          <section id="colors" className="scroll-mt-20">
            {children}
          </section>
        </div>
      </div>
    </>
  )
}

Subdomains

Frequently Asked Questions

What does ColorsLayout() do?
ColorsLayout() is a function in the ui codebase, defined in deprecated/www/app/(app)/colors/layout.tsx.
Where is ColorsLayout() defined?
ColorsLayout() is defined in deprecated/www/app/(app)/colors/layout.tsx at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free