Container
Its content centered, up to a maximum width, with side padding (Mantine's Container): the column of a page.
The column of a page
Every docs page now loads only the components it shows. The column stays readable at any window width: ray-container size="sm" caps it at 720px and pads it on phones.
Sizes
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-container> · RayContainer
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
size | size reflects | string | md | Maximum width: xs 540px, sm 720px, md 960px, lg 1140px, xl 1320px, or any CSS length. |
padding | padding reflects | string | md | Side padding: xs…xl, a number (px) or a CSS length. |
fluid | fluid reflects | boolean | No maximum width: the whole width, still padded. |
| Slot | Description |
|---|---|
| (default) | The content. |