Two-column table comparing before/after, old/new, or problem/solution pairs. Used to present clear contrasts.
<div className="rounded-lg border overflow-hidden">
<div className="grid grid-cols-2">
<div className="p-4 bg-destructive/10 font-semibold text-sm">Old Approach</div>
<div className="p-4 bg-primary/10 font-semibold text-sm">New Approach</div>
</div>
{rows.map((row) => (
<div key={row.label} className="grid grid-cols-2 border-t">
<div className="p-4 text-sm text-muted-foreground">{row.old}</div>
<div className="p-4 text-sm">{row.new}</div>
</div>
))}
</div>Two equal columns with contrasting styles
Row-based with label, old value, new value