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
9:41 100%
devsnips.dev/library/tailwind/components/navigation/step-navigation/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Navigation/step-navigation Tailwind/Components/Navigation/step-navigation <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> # Step Navigation
Step / wizard navigation.
## Usage
```bash
npx devsnips add Tailwind/Components/Navigation/step-navigation
```
Copy from `code.html`.
## File Structure
`code.html` · `preview.html` · `metadata.json` · `README.md` 29 lines UTF-8 · LF · Spaces: 2
Continue browsing