Composant de menu Hamburger 3D
Un menu de hamburger réactif avec un design 3D incorporant une palette de couleurs triadique et des éléments interactifs complexes pour les sites Web d’entreprise.
HTML Code
<div class="relative inline-block text-left">
<!-- Menu Button -->
<div>
<button class="flex items-center p-2 rounded-md bg-blue-600 hover:bg-blue-700 text-white dark:bg-gray-800 dark:hover:bg-gray-700 focus:outline-none">
<span class="sr-only">Open menu</span>
<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" />
</svg>
</button>
</div>
<!-- Menu Items -->
<div class="absolute right-0 z-10 mt-2 w-48 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
<div class="py-1" role="none">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-blue-600 dark:hover:bg-gray-700">Dashboard</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-blue-600 dark:hover:bg-gray-700">Team</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-blue-600 dark:hover:bg-gray-700">Projects</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-blue-600 dark:hover:bg-gray-700">Calendar</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-blue-600 dark:hover:bg-gray-700">Reports</a>
</div>
</div>
</div>
<div class="flex justify-center mt-8">
<h2 class="text-2xl font-bold text-gray-900 dark:text-white">Our Team</h2>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-4">
<div class="p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md transform hover:scale-105 transition-transform duration-300">
<img src="https://picsum.photos/id/1011/200" alt="Team Member" class="rounded-full mb-4">
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Alice Smith</h3>
<p class="text-gray-600 dark:text-gray-400">CEO</p>
</div>
<div class="p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md transform hover:scale-105 transition-transform duration-300">
<img src="https://picsum.photos/id/1012/200" alt="Team Member" class="rounded-full mb-4">
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">John Doe</h3>
<p class="text-gray-600 dark:text-gray-400">CTO</p>
</div>
<div class="p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md transform hover:scale-105 transition-transform duration-300">
<img src="https://picsum.photos/id/1013/200" alt="Team Member" class="rounded-full mb-4">
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Jane Roe</h3>
<p class="text-gray-600 dark:text-gray-400">CFO</p>
</div>
</div>
Composants associés
Glassmorphism Hamburger Menu
Un composant de menu hamburger simple et réactif avec un design Glassmorphism, une palette de couleurs complémentaires et une prise en charge du mode sombre.
Composant du menu Hamburger
Un composant de menu hamburger réactif conçu dans le style Material Design avec prise en charge du thème sombre, adapté à la navigation dans le tableau de bord.
Hamburger Menu Component 19
Un composant de menu de hamburger squelettique conçu dans un style skeuomorphe, imitant des éléments du monde réel. Il est réactif et inclut la prise en charge du mode sombre à l’aide de Tailwind CSS.