Navigation Components
Headers, navbars, sidebars, and navigation menus with responsive designs for all screen sizes.
3 COMPONENT VARIATIONS
Centered Navigation
A centered navigation layout with logo in the middle and balanced navigation links on both sides.
View
Sidebar Navigation
A collapsible sidebar navigation perfect for dashboards and admin panels with organized menu sections.
View
Simple Header with Logo
A clean header with logo on the left and navigation links on the right, perfect for most websites.
View
Simple Header with Logo
A clean header with logo on the left and navigation links on the right, perfect for most websites.
Component Code
<header class="bg-white">
<div class="max-w-screen-2xl mx-auto px-6 sm:px-9 lg:px-12">
<div class="flex justify-between items-center py-6">
<!-- Logo -->
<div class="flex items-center">
<a href="#" class="flex items-center space-x-3">
<div class="w-9 h-9 bg-cyan-700 rounded-lg flex items-center justify-center">
<svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
</svg>
</div>
<span class="text-xl font-bold text-gray-900">TailwindReady</span>
</a>
</div>
<!-- Desktop Navigation -->
<nav class="hidden md:flex items-center space-x-9">
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Home</a>
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Products</a>
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Solutions</a>
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Pricing</a>
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Contact</a>
</nav>
<!-- CTA Button -->
<div class="hidden md:flex items-center space-x-3">
<a href="#" class="text-gray-600 hover:text-cyan-700 px-3 py-3 text-sm font-medium transition-colors">Sign in</a>
<a href="#" class="bg-cyan-700 text-white px-6 py-3 rounded-lg text-sm font-medium hover:bg-cyan-800 transition-colors">Get Started</a>
</div>
<!-- Mobile menu button -->
<div class="md:hidden">
<button type="button" class="text-gray-600 hover:text-cyan-700 p-3">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
</div>
<!-- Mobile Navigation Menu -->
<div class="md:hidden border-t border-gray-200">
<div class="px-6 py-3 space-y-3">
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Home</a>
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Products</a>
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Solutions</a>
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Pricing</a>
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Contact</a>
<div class="pt-3 border-t border-gray-200">
<a href="#" class="block text-gray-600 hover:text-cyan-700 px-3 py-3 text-base font-medium">Sign in</a>
<a href="#" class="block bg-cyan-700 text-white px-6 py-3 rounded-lg text-base font-medium hover:bg-cyan-800 transition-colors mt-3">Get Started</a>
</div>
</div>
</div>
</header>
Ready to Use These Components?
Copy the code and customize it to match your brand. These components are built with TailwindCSS and work seamlessly in any project.
Explore More Components