コンポーネント メガメニュー メガメニューコンポーネント

メガメニューコンポーネント

ダークモードをサポートするMega Menuコンポーネント

プレビュー

HTMLコード

<nav class="bg-gray-900 shadow-lg">
    <div class="container mx-auto px-4">
        <div class="flex items-center justify-between py-4">
            <a href="#" class="text-white text-xl font-bold">Logo</a>
            <div class="hidden md:flex md:items-center md:space-x-4">
                <a href="#" class="text-gray-300 hover:text-white transition duration-300">Home</a>
                <div class="relative group">
                    <button class="text-gray-300 hover:text-white transition duration-300">Products</button>
                    <div class="absolute z-10 hidden group-hover:block bg-gray-800 shadow-lg mt-2 rounded-md">
                        <a href="#" class="block px-4 py-2 text-gray-300 hover:text-white">Product 1</a>
                        <a href="#" class="block px-4 py-2 text-gray-300 hover:text-white">Product 2</a>
                        <a href="#" class="block px-4 py-2 text-gray-300 hover:text-white">Product 3</a>
                    </div>
                </div>
                <a href="#" class="text-gray-300 hover:text-white transition duration-300">About</a>
                <a href="#" class="text-gray-300 hover:text-white transition duration-300">Contact</a>
            </div>
            <div class="md:hidden">
                <button class="text-gray-300 hover:text-white 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="M4 6h16M4 12h16m-4 6h4"></path>
                    </svg>
                </button>
            </div>
        </div>
    </div>
</nav>

関連コンポーネント

Skeuomorphismソーシャルメディアメガメニュー

Skeuomorphismデザイン、トライアドカラースキーム、およびソーシャルメディア目的のシンプルな複雑さを備えたMega Menuコンポーネント。ダークテーマのサポートによるレスポンシブ。

開ける

メガメニューコンポーネント

ダッシュボード用のGlassmorphismスタイル、単色の配色、複雑な複雑さのレベルを備えたメガメニューコンポーネント。ダークテーマをサポートするレスポンシブデザイン。Tailwind CSSを使用します。JavaScript コードは必要ありません。

開ける

メガメニューコンポーネント

3Dデザイン、類似の配色、ダークモードをサポートするレスポンシブな追い風CSSメガメニュー

開ける