Component recipes

Component recipe · Claude Design source

Furoshiki Wrap for Claude Design

Container with wrapping cloth aesthetic and tied corner accents

Component anatomy

Container with wrapping cloth aesthetic and tied corner accents

{
  "element": "div",
  "baseClasses": [
    "relative",
    "bg-[#080814]",
    "border border-[#1e3a5f]/20",
    "rounded-sm",
    "before:content-['']",
    "before:absolute",
    "before:-top-1",
    "before:-right-1",
    "before:w-3",
    "before:h-3",
    "before:rounded-full",
    "after:content-['']",
    "after:absolute",
    "after:-bottom-1",
    "after:-left-1",
    "after:w-3",
    "after:h-3",
    "after:rounded-full",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

before:bg-[#1e3a5f]/40 after:bg-[#1e3a5f]/40 shadow-[0_0_10px_rgba(30,58,95,0.15)]

Silk

border-[#c9a227]/15 before:bg-[#c9a227]/40 after:bg-[#c9a227]/40 shadow-[0_0_10px_rgba(201,162,39,0.15)]

Digital

border-[#38bdf8]/15 before:bg-[#38bdf8]/40 after:bg-[#38bdf8]/40 shadow-[0_0_10px_rgba(56,189,248,0.2)]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_18px_rgba(56,189,248,0.3)]",
    "hover:border-[#38bdf8]/25"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe