Componente Mega Menú
Mega Componente de Menú con Diseño de Materiales, Esquema de color Triádico, Nivel Complejo, para propósito de Tablero, Responsivo con soporte de tema oscuro.
Código HTML
<nav class="bg-gray-100 dark:bg-gray-900 shadow-lg">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div>
<a href="#" class="text-gray-800 dark:text-white text-xl font-bold">Dashboard</a>
</div>
<div class="hidden md:flex space-x-4">
<div class="relative group">
<button class="text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 focus:outline-none">Analytics</button>
<div class="absolute z-10 hidden group-hover:block bg-white dark:bg-gray-800 shadow-md mt-2 rounded-md p-4">
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Overview</a>
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Reports</a>
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Data Sources</a>
</div>
</div>
<div class="relative group">
<button class="text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 focus:outline-none">Users</button>
<div class="absolute z-10 hidden group-hover:block bg-white dark:bg-gray-800 shadow-md mt-2 rounded-md p-4">
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Manage Users</a>
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Roles & Permissions</a>
</div>
</div>
<div class="relative group">
<button class="text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 focus:outline-none">Settings</button>
<div class="absolute z-10 hidden group-hover:block bg-white dark:bg-gray-800 shadow-md mt-2 rounded-md p-4">
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">General Settings</a>
<a href="#" class="block text-gray-800 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 py-1">Billing</a>
</div>
</div>
</div>
<div class="md:hidden">
<button class="text-gray-800 dark: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-7 6h7"></path></svg>
</button>
</div>
</div>
</div>
</nav>
Componentes relacionados
Componente Mega Menú
Un componente de mega menú complejo y receptivo diseñado con una estética monoespaciada / desarrollador y un esquema de color neutro cálido, adecuado para sitios web profesionales de consultoría / servicios. Incluye soporte para modo oscuro.
Neumorphic_Mega_Menu_Weather_Climate
Un mega componente de menú receptivo, de estilo Neumorphic, para datos meteorológicos y climáticos, con un esquema de color pastel y soporte para modo oscuro.