Component recipes

Component recipe · Claude Design source

Warped Banner for Claude Design

Full-width banner with skewed transform and fluorescent gradient background

Component anatomy

Full-width banner with skewed transform and fluorescent gradient background

{
  "element": "div",
  "baseClasses": [
    "relative",
    "w-full",
    "py-6 px-8",
    "bg-gradient-to-r from-[#39ff14] via-[#a020f0] to-[#ff6ec7]",
    "skew-y-[-2deg]",
    "rounded-none",
    "font-mono",
    "uppercase",
    "tracking-widest",
    "[text-shadow:2px_0_#ff0000,-2px_0_#00ffff]"
  ]
}

Variants and parameters

Default

Purple

from-[#a020f0] via-[#ff6ec7] to-[#e6ff00]

Pink

from-[#ff6ec7] via-[#e6ff00] to-[#39ff14]

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe