1 import { ComponentExample } from "@/components/ComponentExample"
2 import { ComponentReference } from "@/components/ComponentReference"
3
4 export const metadata = {
5 title: `Container`,
6 }
7
8 # {metadata.title}
9
10 A component that wraps content in a card-like container. The container is useful to create sections in the Medusa Admin dashboard.
11
12 In this guide, you'll learn how to use the Container component.
13
14 <ComponentExample name="container-demo" />
15
16 ## Usage
17
18 ```tsx
19 import { Container } from "@medusajs/ui"
20 ```
21
22 ```tsx
23 <Container>Container</Container>
24 ```
25
26 ---
27
28 ## API Reference
29
30 <ComponentReference mainComponent="Container" />
31
32 ---
33
34 ## Examples
35
36 ### In a Layout
37
38 <ComponentExample name="container-layout" hideFeedback />