프리뷰 또는 이전 버전의 문서를 보고 있습니다.seed-design.io 방문
우리는 왜 디자인 엔지니어를 찾게 됐을까
Skip to Content
React

Layout

페이지의 콘텐츠 영역을 반응형으로 제한하고 중앙 정렬하는 페이지 레이아웃 블록입니다.

Usage

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

Props

Layout.Root

Prop

Type

asChild?boolean | undefined

Whether the element should be rendered as a child of a slot.

Default

false

density?"high" | "low" | "medium" | undefined

Default

"medium"

Layout.Content

Prop

Type

asChild?boolean | undefined

Whether the element should be rendered as a child of a slot.

Default

false

Density

density prop으로 콘텐츠 영역의 최대 너비를 조절합니다.

Blocks

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

Last updated on 2026. 5. 4.