Skip to main content
The DsCard component is a Vercel-style fieldset/card for forms and settings. It features a content area with title and description, plus a footer with flexible slots for status text and action buttons.

Component Location

Props

Slots

Basic Usage

Examples

Simple Card with Action

Card with Multiple Actions

Card with Only Status (No Actions)

Card Without Title

Use DsCard without a title when the content has its own heading or when wrapping existing components that manage their own titles.

Styling

The component uses these key styles:
  • Container: rounded-lg border border-neutral-200 bg-white
  • Content padding: p-6
  • Title: text-xl font-medium leading-8 tracking-tight
  • Footer: bg-neutral-50 border-t border-neutral-200 px-6 py-4
  • Footer status: text-sm text-muted-foreground

Visual Structure