コンポーネント ヘッダ ヘッダーコンポーネント

ヘッダーコンポーネント

すりガラスのような半透明の要素とダークテーマのサポートを備えたGlassmorphismデザインを特徴とするレスポンシブヘッダーコンポーネント。

プレビュー

HTMLコード

<header class="bg-white bg-opacity-30 backdrop-blur-lg dark:bg-gray-800 dark:bg-opacity-60 shadow-lg p-4 flex justify-between items-center">
    <div class="flex items-center">
        <img src="https://picsum.photos/50/50" alt="Logo" class="rounded-full mr-2">
        <h1 class="text-xl font-bold text-gray-900 dark:text-white">My Website</h1>
    </div>
    <nav class="space-x-4">
        <a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Home</a>
        <a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">About</a>
        <a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Services</a>
        <a href="#" class="text-gray-800 dark:text-gray-200 hover:underline">Contact</a>
    </nav>
    <div class="flex items-center">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="rounded-full w-10 h-10">
    </div>
</header>

関連コンポーネント

マテリアルデザインビジネスヘッダー

マテリアルデザインは、ビジネスWebサイト用の補完的な配色を備えたシンプルなヘッダーコンポーネントに触発されました。ダークテーマをサポートするレスポンシブデザイン。

開ける

ヘッダーコンポーネント

マイクロインタラクションと鮮やかな色を備えたダッシュボード用のレスポンシブヘッダーコンポーネントで、ダークテーマをサポートします。

開ける

レトロビンテージヘッダーコンポーネント

ダークテーマをサポートするダッシュボード用に調整されたレトロ/ビンテージスタイルのレスポンシブヘッダーコンポーネント。

開ける