Component recipes

Component recipe · Claude Design source

RPG Dialogue Box for Claude Design

Classic JRPG dialogue window with pixel frame border, inner double-border effect, and four corner block decorations at 8x8px. Referencing Final Fantasy and Dragon Quest menu systems

Component anatomy

Classic JRPG dialogue window with pixel frame border, inner double-border effect, and four corner block decorations at 8x8px. Referencing Final Fantasy and Dragon Quest menu systems

{
  "element": "div",
  "baseClasses": [
    "relative",
    "bg-[#1a1040]",
    "border-2 border-[#4a90d9]",
    "shadow-[4px_4px_0px_#1a1040]",
    "transition-all duration-150 ease-linear"
  ]
}

Variants and parameters

Default

border-[#4a90d9]

Gold

border-[#ffd93d]

Red

border-[#ff6b6b]

Green

border-[#50c878]

Padding

select · 3 options

Interactive

boolean

Corner Blocks

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_#1a1040]",
    "hover:border-[#ffd93d]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe