Brutalism Hamburger Menu
Brutalism-inspired Hamburger Menu Component for Dashboard with Analogous color scheme, Moderate complexity, responsive design, and dark theme support using Tailwind CSS. No JavaScript.
HTML Code
<div class="bg-gray-200 dark:bg-gray-800 font-mono">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="text-xl font-bold text-gray-900 dark:text-gray-100">Dashboard</div>
<button class="text-gray-900 dark:text-gray-100 focus:outline-none lg:hidden">
<svg class="h-6 w-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-4 6h4"></path>
</svg>
</button>
</div>
<div class="hidden lg:block mt-4">
<nav class="flex space-x-4">
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Home</a>
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Analytics</a>
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Reports</a>
<a href="#" class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Settings</a>
</nav>
</div>
</div>
<!-- Mobile Menu (Hidden by default) -->
<div class="fixed inset-0 bg-gray-200 dark:bg-gray-800 z-50 hidden">
<div class="flex justify-end p-4">
<button class="text-gray-900 dark:text-gray-100 focus:outline-none">
<svg class="h-6 w-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="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>
<nav class="flex flex-col items-center mt-8 space-y-4">
<a href="#" class="block text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Home</a>
<a href="#" class="block text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Analytics</a>
<a href="#" class="block text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Reports</a>
<a href="#" class="block text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100">Settings</a>
</nav>
</div>
</div>
Related Components
Hamburger Menu Component
A complex, responsive, and vibrant hamburger menu component with microinteractions for e-commerce, featuring a slide-out navigation, category links, a search bar, and social media icons. It supports dark mode and uses Lorem Picsum for images.
Hamburger Menu Component
A responsive Hamburger Menu Component designed with a 3D style, suitable for dashboard purposes. It incorporates a triadic color scheme and has a complex interface with interactive elements, supporting both light and dark themes.
Hamburger Menu Component
A responsive Hamburger Menu component designed in Brutalism style with a Pastel color scheme. Suitable for a portfolio showcasing work or products.