Component recipes

Component recipe · Claude Design source

Heart Progress for Claude Design

Progress bar with heart-shaped fill aesthetic

Component anatomy

Progress bar with heart-shaped fill aesthetic

{
  "element": "div",
  "baseClasses": [
    "w-full",
    "h-4",
    "rounded-full",
    "bg-[#fff5f7]",
    "border border-[#ffb7c5]/20",
    "overflow-hidden",
    "relative",
    "bg-[repeating-linear-gradient(90deg,transparent_0px,transparent_8px,rgba(255,182,193,0.2)_8px,rgba(255,182,193,0.2)_10px)]",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Love

[&>div]:bg-gradient-to-r [&>div]:from-[#ffb7c5] [&>div]:to-[#fecdd3] shadow-[0_2px_8px_#ffb7c520]

Friendship

[&>div]:bg-gradient-to-r [&>div]:from-[#c4b5fd] [&>div]:to-[#ddd6fe] shadow-[0_2px_8px_#c4b5fd20]

Magic

[&>div]:bg-gradient-to-r [&>div]:from-[#fde68a] [&>div]:to-[#ffb7c5] shadow-[0_2px_8px_#fde68a20]

Value

select · 4 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe