Component recipes

Component recipe · Claude Design source

Floating Card for Claude Design

Rotated floating card for hero sections

Component anatomy

Rotated floating card for hero sections

{
  "element": "div",
  "baseClasses": [
    "rounded-2xl",
    "border-4",
    "p-5",
    "absolute"
  ]
}

Variants and parameters

Purple Pink

bg-gradient-to-br from-purple-500 to-pink-500 border-yellow-400 shadow-[0_0_30px_rgba(168,85,247,0.5)]

Cyan Green

bg-gradient-to-br from-green-400 to-cyan-400 border-pink-400 shadow-[0_0_30px_rgba(34,211,238,0.5)]

Pink Rose

bg-gradient-to-br from-pink-500 to-rose-500 border-cyan-400 shadow-[0_0_30px_rgba(236,72,153,0.5)]

Rotation

select · 3 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe