Container

Its content centered, up to a maximum width, with side padding (Mantine's Container): the column of a page.

Source on GitHub

The column of a page
ray·blogPostsAbout
October 8, 2026 Shipping per-page modules

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
xs · 540px sm · 720px md · 960px (default) lg · 1140px size="30rem" padding="xl" fluid: the whole width, still padded
Code

API

For AI agents: this API as Markdown, or every component in llms-full.txt.

<ray-container> · RayContainer

PropertyAttributeTypeDefaultDescription
sizesize reflectsstringmdMaximum width: xs 540px, sm 720px, md 960px, lg 1140px, xl 1320px, or any CSS length.
paddingpadding reflectsstringmdSide padding: xs…xl, a number (px) or a CSS length.
fluidfluid reflectsbooleanNo maximum width: the whole width, still padded.
SlotDescription
(default)The content.