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

ヘッダーコンポーネント

ダークテーマ、レスポンシブデザイン、および複数のインタラクティブ要素を含むポートフォリオ用のNeumorphismスタイルのヘッダーコンポーネント。

プレビュー

HTMLコード

<header class="bg-gray-100 dark:bg-gray-800 shadow-lg rounded-lg p-6 flex flex-col md:flex-row items-center justify-between space-y-4 md:space-y-0">
    <div class="flex items-center space-x-4">
        <img src="https://picsum.photos/60" alt="Logo" class="h-10 w-10 rounded-full shadow-lg">
        <h1 class="text-2xl font-bold text-gray-900 dark:text-white">My Portfolio</h1>
    </div>
    <nav class="flex space-x-4">
        <a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Home</a>
        <a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">About</a>
        <a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Projects</a>
        <a href="#" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition duration-200">Contact</a>
    </nav>
    <div class="flex items-center space-x-2">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="h-10 w-10 rounded-full shadow-lg">
        <button class="bg-blue-500 dark:bg-blue-700 text-white font-semibold py-2 px-4 rounded-lg transition duration-200 hover:bg-blue-600 dark:hover:bg-blue-800">Get In Touch</button>
    </div>
</header>

関連コンポーネント

ヘッダーコンポーネント

ソーシャルメディア用のシンプルでレスポンシブなヘッダーコンポーネントで、ダークモードをサポートしています。ロゴ、検索バー、ユーザーアバターが特徴です。グレースケールの配色を使用します。

開ける

ヘッダーコンポーネント

マイクロインタラクションとダークテーマのサポートを備えたレスポンシブヘッダーコンポーネント。

開ける

ヘッダーコンポーネント

Neumorphismスタイルを使用して設計されたシンプルなヘッダーコンポーネントで、鮮やかな色で、ブログ/コンテンツのWebページに最適です。レスポンシブデザインのダークモードサポートを備えています。

開ける