Component recipes

Component recipe · Claude Design source

Button for Claude Design

Rounded navigation button for card stack interaction controls

Component anatomy

Rounded navigation button for card stack interaction controls

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "rounded-full",
    "transition-all duration-200"
  ]
}

Variants and parameters

Primary

bg-zinc-900 text-white

Secondary

bg-white text-zinc-900 shadow-lg

Outline

bg-white/10 text-white border border-white/20

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-zinc-800",
    "hover:shadow-xl"
  ],
  "active": [
    "active:scale-[0.97]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe