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 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-Afterheader 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
| Prop | Type | Description |
|---|---|---|
title | string | Card heading. |
description | string | Optional subtitle text. |
icon | string | Clidey Design icon name (e.g. "promote", "code"). |
href | string | Makes the card a link. Navigates on click. |
children | ReactNode | Rich content rendered inside the card body. |
CardGroup Props
| Prop | Type | Default | Description |
|---|---|---|---|
cols | 1 | 2 | 3 | 4 | 2 | Number of columns in the grid. Responsive — collapses to 1 on mobile. |
numbered | boolean | false | Label cards 01, 02, 03 in order. |
Was this page helpful?