Component recipes

Component recipe · Claude Design source

Card for Claude Design

Full-viewport section card with centered content and gradient backgrounds

Component anatomy

Full-viewport section card with centered content and gradient backgrounds

{
  "element": "section",
  "baseClasses": [
    "min-h-screen",
    "snap-start",
    "flex items-center justify-center",
    "text-white",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

bg-gradient-to-br from-indigo-600 to-purple-700

Dark

bg-black

Vibrant

bg-gradient-to-br from-cyan-600 to-blue-600

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:brightness-110"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe