Component recipes

Component recipe · Claude Design source

Glass Panel for Claude Design

Large liquid glass panel for sections and containers

Component anatomy

Large liquid glass panel for sections and containers

{
  "element": "div",
  "baseClasses": [
    "relative",
    "bg-white/8",
    "backdrop-blur-[40px] backdrop-saturate-[1.8]",
    "rounded-[32px]",
    "shadow-2xl shadow-black/20",
    "before:absolute before:inset-0 before:rounded-[32px]",
    "before:p-[1px] before:-z-10",
    "before:bg-gradient-to-br before:from-[#ff6b6b] before:via-[#4ecdc4] before:to-[#a855f7]",
    "after:absolute after:inset-[1px] after:rounded-[31px] after:-z-10",
    "after:bg-gradient-to-b after:from-white/20 after:to-transparent"
  ]
}

Variants and parameters

Default

Padding

select · 3 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe