DoryDocs

Cards

Cards are versatile components for showcasing features, navigation links, or grouped information.

Basic Card#

<Card>

Getting Started

Set up your first Dory project in minutes.

Linked Card#

Add an href prop to make the entire card clickable:

<Card>

Installation

Install Dory globally or as a project dependency.

Card with Children#

Add content inside the card for richer layouts:

<Card>

API Rate Limits

The default rate limit is 1000 requests per hour per API key.

  • Burst limit: 100 requests per second
  • Retry after: Retry-After header in 429 responses

CardGroup — Grid Layout#

Use <CardGroup> to arrange cards in a responsive grid:

<CardGroup> <Card>

TypeScript

Full type definitions included.

Open Source

Contributions welcome.

Zero Config

Works out of the box with sensible defaults.

Extensible

Customize themes, fonts, and components.

Three-Column Grid

<CardGroup> <Card>

Build

Compile MDX into a static site.

Preview

Serve the built site locally.

Deploy

Upload dist/ to any static host.

Numbered Cards#

Add numbered to a CardGroup to label each card 01, 02, 03 in reading order.

<CardGroup numbered>

Install

One Docker command. Runs on your machine.

Connect a database

Pick an engine, test, connect.

Explore the graph

Tables as nodes, keys as edges.

Props Reference#

Card Props

PropTypeDescription
titlestringCard heading.
descriptionstringOptional subtitle text.
iconstringClidey Design icon name (e.g. "promote", "code").
hrefstringMakes the card a link. Navigates on click.
childrenReactNodeRich content rendered inside the card body.

CardGroup Props

PropTypeDefaultDescription
cols1 | 2 | 3 | 42Number of columns in the grid. Responsive — collapses to 1 on mobile.
numberedbooleanfalseLabel cards 01, 02, 03 in order.

Was this page helpful?