WRNexus UI
Layout component

Container

Theme-aware, responsive container component.

6 props1 slots0 eventsTheme readyResponsive
Interactive playground

Configure Container

Change any prop and inspect the server-rendered component immediately.

Live preview
Composable content area.
Component code
<Container>
  <!-- Add default slot content here -->
</Container>
Component props6 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Production default

Balanced spacing, hierarchy, and content for the most common product workflow.

01
Live preview
Composable content area.
Component usage.wrn
<Container>
  <!-- Add default slot content here -->
</Container>
Dense UI

Compact application

A tighter variation for dashboards, side panels, tables, and operational interfaces.

02
Live preview
Composable content area.
Component usage.wrn
<Container
  size="sm">
  <!-- Add default slot content here -->
</Container>
Extended

Rich configuration

A more expressive variation using additional data, stronger emphasis, and optional states.

03
Live preview
Rich supporting content with additional context.
Component usage.wrn
<Container
  size="lg">
  <!-- Add default slot content here -->
</Container>
Component API

Props and configuration

All content and behavior shown above is supplied through these props and slots.

PropTypeDefaultRequired
sizestring"default"No
colorstring"primary"No
columnsnumber2No
gapstring"md"No
maxWidthstring"xl"No
classstring""No