Component recipes

Component recipe · Claude Design source

Military Panel for Claude Design

HUD-style panel with angular corners and optional hazard stripes

Component anatomy

HUD-style panel with angular corners and optional hazard stripes

{
  "element": "div",
  "baseClasses": [
    "relative",
    "bg-[#1a2744]",
    "border-2 border-[#4a5c3a]",
    "p-4",
    "[clip-path:polygon(0_0,calc(100%-16px)_0,100%_16px,100%_100%,16px_100%,0_calc(100%-16px))]",
    "overflow-hidden"
  ]
}

Variants and parameters

Default

border-[#4a5c3a]

Warning

border-[#fbbf24]

Danger

border-[#ef4444]

Info

border-[#3b82f6]

Hazard Stripe

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe