Page composition
Section
Content rhythm
Use Section, Surface, and Stack for the basic page rhythm.
Grid item
Grid item
Grid item
Foundation primitives
Layout is the spine of Foundry. These primitives define width, rhythm, alignment, responsive grids, surfaces, and spacing before higher-level components enter the page.
Next: AvatarSection
Use Section, Surface, and Stack for the basic page rhythm.
Grid item
Grid item
Grid item
Center is for empty states, auth panels, and focused messages.
Controls page max width and horizontal padding.
<Container max="xl">
<Slot />
</Container>Creates responsive columns for cards, stats, forms, and dashboards.
<Grid cols="3" gap="lg">
<Card />
<Card />
<Card />
</Grid>Defines vertical rhythm. Use it before adding one-off margins.
<Stack gap="xl">
<PageHeader />
<ContentGrid />
</Stack>Flex handles rows; Cluster handles wrapping inline groups.
<Flex align="center" justify="between">
<Cluster gap="sm">
<Button />
</Cluster>
</Flex>Use Box for small surfaces, Inset for controlled inner spacing.
Inset content
Use Bleed when media or panels need to escape local padding.
Useful for hero media and docs examples.
If a page needs custom CSS only to place components on a grid, the missing capability probably belongs in `axonyx-ui`, not in the site stylesheet.