Problem: Search + filters.
Solution#
<div class="flex flex-wrap items-center gap-3 border-b pb-4">
<input class="w-64 rounded-lg border px-3 py-2 text-sm" placeholder="Search…" />
<select class="rounded-lg border px-3 py-2 text-sm"><option>Status</option></select>
</div>Why this works#
Wrapping control row above results.
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
