- Accordion
- Avatar
- Badge
- Breadcrumb
- Button
- Calendar
- Checkbox
- Combobox
- Container
- CurrencyInput
- DistributionSlider
- Drawer
- Dropdown
- Grid
- Heading
- Image
- Input
- InputGroup
- Label
- Logo
- MapPin
- Modal
- NativeSelect
- NumberInput
- OtpInput
- PhoneInput
- Popover
- Progress
- PropertyCalendar
- RadioGroup
- RadioGroupCards
- ResponsiveModal
- ScrollArea
- SearchBar
- SearchBarFallback
- SearchInput
- Select
- Separator
- Spinner
- Switch
- Tabs
- Text
- Textarea
- Toast
- Toggle
- ToggleGroup
- Tooltip
Container
Foundational content layout component, defining max-widths and responsive padding.
pnpm add @wandercom/design-system-web
import { Container } from '@wandercom/design-system-web/ui/container';
export function Example() {
return (
<Container>
<div>Content goes here</div>
</Container>
);
}Three layout variants for different content types.
Standard layout for general page content.
<Container layout="default">
<div>Standard layout</div>
</Container>Max width: 1576px
Narrow layout for pages that require less horizontal space.
<Container layout="narrow">
<div>Narrow layout</div>
</Container>Max width: 664px
Wider layout for pages that require more horizontal space.
<Container layout="wide">
<div>Wide layout</div>
</Container>Max width: 1832px
Full-screen layout (no max-width):
<Container>
<div>Full layout</div>
</Container>Max width: (none)
layout
"default" | "wide" | "full"
Layout variant. Use 'default' for general content, wide for content that requires additional horizontal space (such as property grids), or full for pages that require all available horizontal screen real-estate. Defaults to 'default'.
asChild
boolean
Renders child and merges props instead of rendering a div element. Uses Radix UI Slot.
className
string
Additional CSS classes.