Home / Function/ RootLayout() — tailwindcss Function Reference

RootLayout() — tailwindcss Function Reference

Architecture documentation for the RootLayout() function in layout.tsx from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

playgrounds/v3/app/layout.tsx lines 12–23

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en" className="[&_h1]:font-thin">
      <head>{/* <script src="https://cdn.tailwindcss.com"></script> */}</head>
      <body className={inter.className}>{children}</body>
    </html>
  )
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free