# Storybook 레이아웃

Storybook의 Canvas에 Story가 레이아웃 되는 방식을 설정 할 수 있습니다.

| 레이아웃         | 설명                    |
| ------------ | --------------------- |
| `fullscreen` | Canvas 영역을 꽉 채운 레이아웃  |
| `padded`     | 컴포넌트 주변에 패딩을 추가한 레이아웃 |
| `centered`   | 정 중앙에 컴포넌트 레이아웃       |

예를 들어 모든 Story를 중앙에 배치하고자 한다면 `centered` 값을 사용합니다.

{% tabs %}
{% tab title=".storybook/preview\.js" %}

```jsx
export const parameters = {
  layout: 'centered',
};
```

{% endtab %}
{% endtabs %}

![](/files/-MVXq4343Hd0gdGkJHwg)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yamoo9.gitbook.io/learning-react-app/tip-and-references/storybook-for-react/storybook-layout.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
