Jamdesk Documentation logo

Columns

Columns places content side by side in a responsive grid that stacks on mobile and expands on desktop, with configurable column counts from one to four.

Columns places content side by side in a responsive grid. The grid stacks on mobile and expands on desktop.

Put Cards, Tiles, images, or custom components inside it.

Basic Usage

Display content in two columns (default):

Tabs preview
Tabs
Organize content with tabs
Tabs preview
Tabs
Switch between views
<Columns>
  <Tile href="/components/tabs" title="Tabs" description="Organize content with tabs">
    <img src="/_jd/images/tabs-preview.webp?v=mvln4sya" alt="Tabs preview" />
  </Tile>
  <Tile href="/components/tabs" title="Tabs" description="Switch between views">
    <img src="/_jd/images/tabs-preview.webp?v=mvln4sya" alt="Tabs preview" />
  </Tile>
</Columns>

More Columns

Use cols={3} or cols={4} for denser layouts:

Tabs preview
Tabs
Organize content
Tabs preview
Tabs
Switch views
Tabs preview
Tabs
Tabbed content
<Columns cols={3}>

  ...

</Columns>

Choosing Column Count

Content TypeRecommended Columns
Tiles with images2-3
Text-heavy items2
Small metrics/stats3-4
Image comparisons2

Responsive Behavior

Column count changes with screen width:

  • Mobile (< 768px): 1 column
  • Tablet (768px - 1024px): 2 columns max
  • Desktop (> 1024px): Full column count

Props

numberdefault: 2

Number of columns per row. Accepts values from 1 to 4.

What's Next?

Components Overview

Browse all available components

MDX Basics

Learn how to use components in MDX