Grid

Simple grid layouts using the role="grid" attribute.

Basic Grid

Use role="grid" to create a responsive grid:

Card 1

Some content for the first card.

Card 2

Some content for the second card.

Card 3

Some content for the third card.

<div role="grid">
  <article>
    <h3>Card 1</h3>
    <p>Some content for the first card.</p>
  </article>
  <article>
    <h3>Card 2</h3>
    <p>Some content for the second card.</p>
  </article>
  <article>
    <h3>Card 3</h3>
    <p>Some content for the third card.</p>
  </article>
</div>

Grid with More Items

Feature 1

Description of feature one.

Feature 2

Description of feature two.

Feature 3

Description of feature three.

Feature 4

Description of feature four.

Feature 5

Description of feature five.

Feature 6

Description of feature six.

<div role="grid">
  <article>
    <h3>Feature 1</h3>
    <p>Description of feature one.</p>
  </article>
  <article>
    <h3>Feature 2</h3>
    <p>Description of feature two.</p>
  </article>
  <article>
    <h3>Feature 3</h3>
    <p>Description of feature three.</p>
  </article>
  <article>
    <h3>Feature 4</h3>
    <p>Description of feature four.</p>
  </article>
  <article>
    <h3>Feature 5</h3>
    <p>Description of feature five.</p>
  </article>
  <article>
    <h3>Feature 6</h3>
    <p>Description of feature six.</p>
  </article>
</div>

Pricing Cards

Free

$0

  • 5 projects
  • Basic support
  • 1 GB storage

Pro

$19

  • Unlimited projects
  • Priority support
  • 100 GB storage

Enterprise

Custom

  • Custom solutions
  • Dedicated support
  • Unlimited storage
<div role="grid">
  <article>
    <h3>Free</h3>
    <p style="font-size: 2rem; font-weight: bold;">$0</p>
    <ul>
      <li>5 projects</li>
      <li>Basic support</li>
      <li>1 GB storage</li>
    </ul>
    <button style="width: 100%;">Get Started</button>
  </article>
  <article>
    <h3>Pro</h3>
    <p style="font-size: 2rem; font-weight: bold;">$19</p>
    <ul>
      <li>Unlimited projects</li>
      <li>Priority support</li>
      <li>100 GB storage</li>
    </ul>
    <button style="width: 100%;">Subscribe</button>
  </article>
  <article>
    <h3>Enterprise</h3>
    <p style="font-size: 2rem; font-weight: bold;">Custom</p>
    <ul>
      <li>Custom solutions</li>
      <li>Dedicated support</li>
      <li>Unlimited storage</li>
    </ul>
    <button style="width: 100%;">Contact Us</button>
  </article>
</div>

Responsive Behavior

The grid automatically adjusts columns based on available width. On smaller screens, items stack vertically.