Skeuomorphe Navigationsleiste
Eine reaktionsschnelle Navigationsleistenkomponente, die in einem skeuomorphen Stil mit Unterstützung für dunkle Designs unter Verwendung von Tailwind CSS entworfen wurde.
HTML-Code
<nav class="bg-gray-200 dark:bg-gray-800 p-4 rounded-lg shadow-lg">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-4">
<img src="https://picsum.photos/50/50?random=1" alt="Logo" class="h-10 rounded-full">
<span class="text-xl font-bold dark:text-white">Brand</span>
</div>
<div class="hidden md:flex space-x-4">
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Home
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
About
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Services
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Contact
</a>
</div>
<div class="md:hidden flex items-center">
<button class="text-gray-800 dark:text-gray-200 p-2 rounded-lg focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
</svg>
</button>
</div>
</div>
<div class="md:hidden">
<div class="flex flex-col space-y-1 mt-2">
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Home
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
About
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Services
</a>
<a href="#" class="text-gray-800 dark:text-gray-200 p-2 rounded-lg transition duration-200 hover:bg-gray-300 dark:hover:bg-gray-700">
Contact
</a>
</div>
</div>
</nav>
Verwandte Komponenten
Komponente der Navigationsleiste
Eine reaktionsschnelle Navigationsleiste für eine E-Commerce-Website mit einem Glassmorphism-Designstil mit einem Graustufen-Farbschema und Unterstützung für den Dunkelmodus mit Tailwind CSS.
Komponente der Navigationsleiste 16
Eine minimalistische Flat-Design-Navigationsleistenkomponente mit responsiven Effekten und Unterstützung für dunkle Themen.
3D_Corporate_Blues_Food_Restaurant_Nav
Eine komplexe, 3D-inspirierte Navigationsleiste für Food-/Restaurant-Websites mit Corporate Blues und voller Reaktionsfähigkeit mit Unterstützung für den Dunkelmodus. Enthält Elemente wie ein Logo, Navigationslinks, eine Suchleiste, einen Benutzer-Avatar und einen Warenkorb.