Component recipes

Component recipe · Claude Design source

Card for Claude Design

Simple Notion-style card with divider lines and minimal shadow

Component anatomy

Simple Notion-style card with divider lines and minimal shadow

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "rounded-lg",
    "divide-y divide-gray-100",
    "transition-shadow duration-200"
  ]
}

Variants and parameters

Default

shadow-sm border border-gray-200

Flat

border border-gray-200

Elevated

shadow-md

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-gray-300"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe