Skip to Content
docscn

Card

Link cards with an icon, title and description.

Installation

npx shadcn@latest add @docscn/card

Usage

<Cards>
  <Card
    title="Getting started"
    href="/docs/getting-started"
    description="Add docs to your project."
  />
  <Card
    title="Fumadocs"
    href="https://fumadocs.dev"
    description="The framework docscn builds on."
  />
</Cards>

Props

Prop

Type

Children render below the description. Cards lays cards out in two columns, and one on narrow containers. Card is built on shadcn/ui card.