DesignDojo
1.2-components · 02-grid

Estimated time: 7 min

12 columns + fixed gutters
Grid anatomy

When to Use

  • Multi-column pages like dashboards and pricing sections.
  • Card layouts where alignment consistency matters.
  • Responsive systems that need clear reflow rules.

When NOT to Use

Use grid for structural placement and keep spacing tokens consistent between cards.

For a single vertical content flow, use a stack instead of forcing a grid.

Variants

2-column
4-column
12-column

Confused?

If you need sequential vertical flow, use Stack. If you need spatial layout control, use grid.

Agent Prompts

Use the copy-ready Cursor and Pencil prompts in the prompt panel below this card.

Agent Prompts

Cursor Prompt

Build a 12-column responsive grid layout with consistent gutters and make cards snap cleanly to column spans at tablet and desktop sizes.

Pencil Prompt

Create a 12-column grid and place three cards with equal column spans, preserving consistent gutter spacing.

Progress saves locally on this device.

Learning Loop

Lock this lesson in with a fast cycle: quiz the module, drill flashcards, then run the daily challenge.

Take Module QuizPractice FlashcardsRun Daily Challenge

Next Lesson

Stack