Dark Mode Navigation Bar
Navigation Bar Component with responsive effects and dark theme support.
HTML Code
<nav class="bg-gray-800 p-4 text-white">
<div class="container mx-auto flex items-center justify-between">
<div class="text-lg font-semibold">My Website</div>
<div class="hidden md:flex space-x-4">
<a href="#" class="hover:underline">Home</a>
<a href="#" class="hover:underline">About</a>
<a href="#" class="hover:underline">Services</a>
<a href="#" class="hover:underline">Contact</a>
</div>
<div class="md:hidden">
<button class="text-white focus:outline-none">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-4 6h4"></path>
</svg>
</button>
</div>
</div>
</nav>
Related Components
Social Media Navigation Bar
Glassmorphism Grayscale Simple Social Media Navigation Bar Component
Navigation Bar Component 47
A responsive navigation bar with a 3D design style, incorporating depth and engagement, supporting dark theme.
Portfolio Navigation Bar
A responsive navigation bar with dark theme support, designed for a portfolio website using Material Design principles and earth tones color scheme. It includes a brand logo, navigation links, and a call-to-action button. The design is moderately complex and adapts to different screen sizes.