Container
A responsive container that constrains content width and centers it on the page.
Installation
dotnet add package Lumeo
One-time app setup (AddLumeo(), CSS & JS) is covered in the
installation guide.
Usage
@using Lumeo <Container />
Content centered within max-w-md
max-w-sm
max-w-md
max-w-lg
max-w-xl
Pick a max-width to see it applied live.
max-w-md
API Reference
Container
| Property | Type | Default | Description |
|---|---|---|---|
| MaxWidth | string? | "lg" | Maximum width. Maps to max-w-{value} (e.g. "sm", "md", "lg", "xl", "2xl"). |
| Center | bool | true | Whether to horizontally center the container using mx-auto. |
| Padding | string? | "4" | Horizontal padding applied via px-{value}. |