Component recipes

Component recipe · Claude Design source

Choice Panel for Claude Design

Choice selection panel with hover highlight

Component anatomy

Choice selection panel with hover highlight

{
  "element": "div",
  "baseClasses": [
    "rounded-lg",
    "backdrop-blur-sm",
    "px-5 py-3 md:px-6 md:py-4",
    "font-sans",
    "cursor-pointer",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

bg-white/50 text-[#4a5568] border border-[#6366f1]/20

Highlighted

bg-[#6366f1]/20 text-white border border-[#6366f1]/40 shadow-[0_0_15px_#6366f120]

Locked

bg-white/20 text-white/40 border border-white/10 cursor-not-allowed

Visible

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#6366f1]/15",
    "hover:border-[#6366f1]/35",
    "hover:shadow-[0_0_12px_#6366f115]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe