Tailwind breadcrumbs

Responsive Breadcrumbs built with the latest Tailwind. Examples including different colors, animations, breadcrumbs with no background, and more.


Basic example



        
            
    <nav class="rounded-md w-full">
      <ol class="list-reset flex">
        <li class="text-gray-500">Home</li>
      </ol>
    </nav>

    <br />

    <nav class="rounded-md w-full">
      <ol class="list-reset flex">
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Home</a></li>
        <li><span class="text-gray-500 mx-2">/</span></li>
        <li class="text-gray-500">Library</li>
      </ol>
    </nav>

    <br />

    <nav class="rounded-md w-full">
      <ol class="list-reset flex">
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Home</a></li>
        <li><span class="text-gray-500 mx-2">/</span></li>
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Library</a></li>
        <li><span class="text-gray-500 mx-2">/</span></li>
        <li class="text-gray-500">Data</li>
      </ol>
    </nav>
    
        
    
        
            
    <nav class="relative w-full flex flex-wrap items-center justify-between py-3 bg-gray-100 text-gray-500 hover:text-gray-700 focus:text-gray-700 shadow-lg navbar navbar-expand-lg navbar-light">
      <div class="container-fluid w-full flex flex-wrap items-center justify-between px-6">
        <nav class="bg-grey-light rounded-md w-full" aria-label="breadcrumb">
          <ol class="list-reset flex">
            <li><a href="#" class="text-gray-500 hover:text-gray-600">Home</a></li>
            <li><span class="text-gray-500 mx-2">/</span></li>
            <li><a href="#" class="text-gray-500 hover:text-gray-600">Library</a></li>
            <li><span class="text-gray-500 mx-2">/</span></li>
            <li><a href="#" class="text-gray-500 hover:text-gray-600">Data</a></li>
          </ol>
        </nav>
      </div>
    </nav>
    
        
    

Changing the separator

        
            
    <nav class="bg-grey-light rounded-md w-full">
      <ol class="list-reset flex">
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Home</a></li>
        <li><span class="text-gray-500 mx-2">></span></li>
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Library</a></li>
        <li><span class="text-gray-500 mx-2">></span></li>
        <li class="text-gray-500">Data</li>
      </ol>
    </nav>
    
        
    

Without separators

        
            
    <nav class="bg-grey-light rounded-md w-full">
      <ol class="list-reset flex">
        <li><a href="#" class="text-blue-600 hover:text-blue-700 mr-2">Home</a></li>
        <li><a href="#" class="text-blue-600 hover:text-blue-700 mr-2">Library</a></li>
        <li class="text-gray-500">Data</li>
      </ol>
    </nav>
    
        
    

With background

        
            
    <nav class="bg-gray-100 px-5 py-3 rounded-md w-full">
      <ol class="list-reset flex">
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Home</a></li>
        <li><span class="text-gray-500 mx-2">/</span></li>
        <li><a href="#" class="text-blue-600 hover:text-blue-700">Library</a></li>
        <li><span class="text-gray-500 mx-2">/</span></li>
        <li class="text-gray-500">Data</li>
      </ol>
    </nav>