Component recipes

Component recipe · Claude Design source

Sakura Badge for Claude Design

Circular badge with soft pink gradient and petal-like border

Component anatomy

Circular badge with soft pink gradient and petal-like border

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "[clip-path:polygon(50%_0%,65%_35%,100%_40%,75%_65%,80%_100%,50%_80%,20%_100%,25%_65%,0%_40%,35%_35%)]",
    "font-sans font-medium",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Pink

bg-gradient-to-br from-[#ffb7c5] to-[#fecdd3] text-white shadow-[0_2px_10px_#ffb7c540]

Lavender

bg-gradient-to-br from-[#c4b5fd] to-[#ddd6fe] text-white shadow-[0_2px_10px_#c4b5fd40]

Gold

bg-gradient-to-br from-[#fde68a] to-[#fef3c7] text-[#4a5568] shadow-[0_2px_10px_#fde68a40]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:scale-110",
    "hover:shadow-[0_4px_15px_#ffb7c560]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe