Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

Card

Card frames reusable content with title, subtitle, and optional children.

CoreBasics@gaudi/design-system/core/CardView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import Card from '@gaudi/design-system/core/Card';

Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/card-billing-usage.json.

Usage

import { Card } from '@gaudi/design-system';
<Card title='Building with tokens' subtitle='Cards frame reusable content.' />

Playground

Card props
Props
default 3
default elevated
default md
default md
Card.jsx
import Card from '@gaudi/design-system/core/Card';
<Card title='Card title' subtitle='A short supporting line.'> Cards group related content and actions.</Card>

Examples

Usage meters that expand

Storybook

Deployment status

Storybook

Header badge and actions

Storybook
Storybook

Login form

Storybook

Media cards

Storybook

Sections and dividers

Storybook

Stat with trend and menu

Storybook

API

10 props

Accessibility

Card is a structural container. Put links or buttons inside it rather than making the whole card a fake control.