Problem: Dual hero actions.
Solution#
<div class="flex flex-wrap items-center justify-center gap-4">
<a class="rounded-xl bg-blue-600 px-6 py-3 font-semibold text-white shadow-lg">Start free</a>
<a class="flex items-center gap-2 px-4 py-3 font-semibold"><span class="grid size-10 place-items-center rounded-full border">▶</span>Watch demo</a>
</div>Why this works#
Primary + play-button secondary.
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
