Problem: Key/value pairs.
Solution#
<dl class="divide-y text-sm">
<div class="flex justify-between py-2"><dt class="text-slate-500">Plan</dt><dd class="font-medium">Pro</dd></div>
</dl>Why this works#
dl + flex justify-between rows.
Variants#
- Responsive: add screen prefixes to the core classes
- Dark: pair each color utility with its dark: twin
- Animated: add
transition+ a state variant for motion
Related recipes#
cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns
