Komponenten Navigationsleiste Komponente der Navigationsleiste

Komponente der Navigationsleiste

Eine einfache, reaktionsschnelle Navigationsleistenkomponente, die für ein Dashboard entwickelt wurde und sich durch ein monochromatisches Farbschema und Mikrointeraktionen auszeichnet. Es enthält eine Unterstützung für den Dunkelmodus mit Hover-Effekten für ansprechende Animationen.

Vorschau

HTML-Code

<nav class="bg-gray-800 dark:bg-gray-900 shadow-lg">
    <div class="max-w-7xl mx-auto px-4">
        <div class="flex justify-between items-center h-16">
            <div class="flex-shrink-0">
                <h1 class="text-white text-2xl">Dashboard</h1>
            </div>
            <div class="hidden md:block">
                <div class="flex items-center space-x-4">
                    <a href="#" class="text-gray-300 hover:text-white transition duration-200 ease-in-out">Home</a>
                    <a href="#" class="text-gray-300 hover:text-white transition duration-200 ease-in-out">Profile</a>
                    <a href="#" class="text-gray-300 hover:text-white transition duration-200 ease-in-out">Settings</a>
                    <a href="#" class="text-gray-300 hover:text-white transition duration-200 ease-in-out">Logout</a>
                </div>
            </div>
            <div class="flex md:hidden">
                <button class="text-gray-300 hover:text-white focus:outline-none">
                    <svg fill="none" stroke="currentColor" viewBox="0 0 24 24" 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>
</nav>
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
    <h2 class="text-white text-xl mb-4">Welcome to your Dashboard</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
        <div class="bg-gray-700 dark:bg-gray-800 p-4 rounded shadow">
            <h3 class="text-white text-lg">Data Visualization</h3>
            <img src="https://picsum.photos/300/200" alt="Visualization" class="mt-2 rounded" />
        </div>
        <div class="bg-gray-700 dark:bg-gray-800 p-4 rounded shadow">
            <h3 class="text-white text-lg">Control Panel</h3>
            <img src="https://picsum.photos/300/201" alt="Control" class="mt-2 rounded" />
        </div>
        <div class="bg-gray-700 dark:bg-gray-800 p-4 rounded shadow">
            <h3 class="text-white text-lg">User Insights</h3>
            <img src="https://picsum.photos/300/202" alt="Insights" class="mt-2 rounded" />
        </div>
    </div>
</div>

Verwandte Komponenten

Komponente der Navigationsleiste 16

Eine minimalistische Flat-Design-Navigationsleistenkomponente mit responsiven Effekten und Unterstützung für dunkle Themen.

Offen

Art Deco Navigationsleiste

Eine reaktionsschnelle, vom Art Deco inspirierte Navigationsleiste für CRM/Business-Tools mit geometrischen Mustern, satten Juwelentönen und Unterstützung für den Dunkelmodus. Entworfen mit moderater Komplexität, einschließlich interaktiver Elemente.

Offen

Navigationsleiste im Dunkelmodus

Navigationsleistenkomponente mit responsiven Effekten und Unterstützung für dunkle Themen.

Offen