Component

Step Navigation

Multi-step process indicator with completed, current, and upcoming states. Perfect for wizards and checkout flows.

  • Component
  • Tailwind
  • HTML
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/components/navigation/step-navigation/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Navigation/step-navigation
registry path: Tailwind/Components/Navigation/step-navigation

Source

Implementation

code.html
<nav aria-label="Progress">
  <ol class="flex items-center overflow-x-auto pb-2">
    <li class="flex items-center overflow-x-auto pb-2">
      <span class="flex items-center justify-center w-8 h-8 bg-indigo-600 text-white text-sm font-medium rounded-full">1</span>
      <span class="ml-3 text-sm font-medium text-gray-900">Account</span>
    </li>
    <li class="flex items-center mx-4">
      <div class="w-12 h-0.5 bg-indigo-600"></div>
    </li>
    <li class="flex items-center overflow-x-auto pb-2">
      <span class="flex items-center justify-center w-8 h-8 bg-indigo-600 text-white text-sm font-medium rounded-full">2</span>
      <span class="ml-3 text-sm font-medium text-gray-900">Profile</span>
    </li>
    <li class="flex items-center mx-4">
      <div class="w-12 h-0.5 bg-gray-200"></div>
    </li>
    <li class="flex items-center overflow-x-auto pb-2">
      <span class="flex items-center justify-center w-8 h-8 bg-gray-200 text-gray-500 text-sm font-medium rounded-full">3</span>
      <span class="ml-3 text-sm font-medium text-gray-500">Payment</span>
    </li>
    <li class="flex items-center mx-4">
      <div class="w-12 h-0.5 bg-gray-200"></div>
    </li>
    <li class="flex items-center overflow-x-auto pb-2">
      <span class="flex items-center justify-center w-8 h-8 bg-gray-200 text-gray-500 text-sm font-medium rounded-full">4</span>
      <span class="ml-3 text-sm font-medium text-gray-500">Confirm</span>
    </li>
  </ol>
</nav>
29 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This component is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://components/navigation/step-navigation

Continue browsing

View all