Retro-Vintage-Navigationskomponente
Eine Navigationskomponente im Retro-/Vintage-Design mit einem monochromen Farbschema für ein Dashboard. Es enthält Links und unterstützt den Dunkelmodus.
HTML-Code
<nav class="bg-gray-800 p-4 shadow-md">
<div class="flex justify-between items-center">
<div class="text-white text-lg font-bold">Retro Dashboard</div>
<div class="hidden md:flex space-x-4">
<a href="#" class="text-gray-300 hover:text-white">Home</a>
<a href="#" class="text-gray-300 hover:text-white">Data</a>
<a href="#" class="text-gray-300 hover:text-white">Settings</a>
<a href="#" class="text-gray-300 hover:text-white">Profile</a>
</div>
<div class="md:hidden">
<button class="text-gray-300 hover:text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
</svg>
</button>
</div>
</div>
<div class="mt-4 md:hidden">
<a href="#" class="block text-gray-300 hover:text-white">Home</a>
<a href="#" class="block text-gray-300 hover:text-white">Data</a>
<a href="#" class="block text-gray-300 hover:text-white">Settings</a>
<a href="#" class="block text-gray-300 hover:text-white">Profile</a>
</div>
</nav>
<div class="p-4">
<h2 class="text-white text-2xl mb-4">Dashboard Overview</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div class="bg-gray-700 p-4 rounded-md shadow-md">
<img src="https://picsum.photos/400/300?random=1" alt="Random Image" class="w-full h-32 object-cover rounded-md">
<h3 class="text-white mt-2">Data Point 1</h3>
<p class="text-gray-300">Description of data point 1.</p>
</div>
<div class="bg-gray-700 p-4 rounded-md shadow-md">
<img src="https://picsum.photos/400/300?random=2" alt="Random Image" class="w-full h-32 object-cover rounded-md">
<h3 class="text-white mt-2">Data Point 2</h3>
<p class="text-gray-300">Description of data point 2.</p>
</div>
<div class="bg-gray-700 p-4 rounded-md shadow-md">
<img src="https://picsum.photos/400/300?random=3" alt="Random Image" class="w-full h-32 object-cover rounded-md">
<h3 class="text-white mt-2">Data Point 3</h3>
<p class="text-gray-300">Description of data point 3.</p>
</div>
</div>
</div>
Verwandte Komponenten
Glassmorphism-Navigationskomponente
Eine Navigationskomponente im Glassmorphism-Stil für E-Commerce-Websites mit monochromatischen Farben, responsivem Design und Unterstützung für den Dunkelmodus mit Tailwind CSS.
Gläserne Navigationsleiste mit Farbverlauf
Diese Navigationsleiste verfügt über ein modernes, glasiges Design, das Farbverläufe und einen Milchglaseffekt kombiniert, um beim Scrollen einen durchscheinenden Effekt zu erzielen.
Navigationskomponente
Eine saubere, professionelle und reaktionsschnelle Navigationsleiste, die für Bildungsplattformen geeignet ist, mit einem triadischen Farbschema, Unterstützung für den Dunkelmodus und einem einfachen Layout mit gängigen Navigationslinks und einer Call-to-Action-Schaltfläche.