React

Layout

A page layout block that responsively constrains and center-aligns the content area of a page.

Usage

import { Layout } from "@seed-design/react";
<Layout.Root>
  <Layout.Content>{/* content */}</Layout.Content>
</Layout.Root>

Props

Layout.Root

Prop

Type

Layout.Content

Prop

Type

Density

Adjust the maximum width of the content area with the density prop.

Blocks

npx @seed-design/cli@latest add block:layout-01
npx @seed-design/cli@latest add block:layout-02