unscripted/ui

Card

Header, content, footer — a bordered box with good spacing defaults, shown here wrapping real zero-JS switches.

plain CSS — works everywhere

How it works

  • Three stacked sections with p-6 and trimmed inner edges — no dedicated CardHeader/CardContent components, just padding.
  • The settings rows are the Switch component verbatim, with justify-between to push the toggle to the edge — composition is copy-paste here.
  • Use semantic headings (h3 or whatever fits your page outline) — the card doesn’t care.