Columns | UI Showcase
WRNexus UI
Layout component

Columns

Create responsive balanced content columns with configurable count, gap, density, and maximum width.

6 props1 slots0 outputsTheme readyResponsive
Interactive playground

Configure Columns

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

Live preview
Content columnSupporting column
Component code
<Columns />
Component props6 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Two-column content layout

Split supporting content into balanced responsive columns.

01
Live preview
Content columnSupporting column
Component usage.wrn
<Columns
  gap="lg">
  <div class="showcase-grid-items"><span>Content column</span><span>Supporting column</span></div>
</Columns>
Compact

Three compact columns

Use three columns for short summaries and dashboard groups.

02
Live preview
OneTwoThree
Component usage.wrn
<Columns
  size="compact"
  columns="3"
  gap="sm"
  maxWidth="wide">
  <div class="showcase-grid-items"><span>One</span><span>Two</span><span>Three</span></div>
</Columns>
Advanced

Full-width four columns

Use the full available width for structured application content.

03
Live preview
ABCD
Component usage.wrn
<Columns
  size="lg"
  columns="4"
  maxWidth="full">
  <div class="showcase-grid-items"><span>A</span><span>B</span><span>C</span><span>D</span></div>
</Columns>
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