Skip to content

Component gallery

  1. Showcase
  2. Card grids

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Display

ThemeT
Mode
Mode
M
Style
Style
Y
Spacing
Spacing
Radius
Radius
Font size
Font size
Compare
Compare
Effects
S

ShortcutsAlt+Shift+key

Components

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Showcase · 6 of 6

Card grids

One, two, then three columns. A short last row is centered; narrow the preview to see two columns.

packages/ui/src/astro/blocks/card-grid.astro3 stories

Preview settings
Width
Preview width
Stage
Stage
full-rows
Props of full-rows
<CardGrid>
    <Card>
        <h3>Card 1</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 2</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 3</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 4</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 5</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 6</h3><p>Same size as the rest.</p>
    </Card>
</CardGrid>
Open card-grid/full-rows on its own

Card 1

Same size as the rest.

Card 2

Same size as the rest.

Card 3

Same size as the rest.

Card 4

Same size as the rest.

Card 5

Same size as the rest.

Card 6

Same size as the rest.

two-left-over
Props of two-left-over
<CardGrid>
    <Card>
        <h3>Card 1</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 2</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 3</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 4</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 5</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 6</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 7</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 8</h3><p>Same size as the rest.</p>
    </Card>
</CardGrid>
Open card-grid/two-left-over on its own

Card 1

Same size as the rest.

Card 2

Same size as the rest.

Card 3

Same size as the rest.

Card 4

Same size as the rest.

Card 5

Same size as the rest.

Card 6

Same size as the rest.

Card 7

Same size as the rest.

Card 8

Same size as the rest.

one-left-over
Props of one-left-over
<CardGrid>
    <Card>
        <h3>Card 1</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 2</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 3</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 4</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 5</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 6</h3><p>Same size as the rest.</p>
    </Card>
    <Card>
        <h3>Card 7</h3><p>Same size as the rest.</p>
    </Card>
</CardGrid>
Open card-grid/one-left-over on its own

Card 1

Same size as the rest.

Card 2

Same size as the rest.

Card 3

Same size as the rest.

Card 4

Same size as the rest.

Card 5

Same size as the rest.

Card 6

Same size as the rest.

Card 7

Same size as the rest.

PreviousBlueprint framesNextFigures