Problem: Process steps.

Solution#

html
<ol class="flex items-center gap-2 overflow-x-auto">
  <li class="flex items-center gap-2 whitespace-nowrap"><span class="size-6 rounded-full bg-blue-600 text-white grid place-items-center text-xs">1</span>Plan</li>
  <li class="h-px w-12 bg-slate-300"></li>
</ol>

Why this works#

Scrollable step rail.

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

cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns