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

ヘッダーコンポーネント

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

プレビュー

HTMLコード

<header class="text-gray-600 body-font">
  <div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
    <a class="flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0 dark:text-white">
      <svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-10 h-10 text-white p-2 bg-indigo-500 rounded-full" viewBox="0 0 24 24">
        <path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path>
      </svg>
      <span class="ml-3 text-xl">Tailblocks</span>
    </a>
    <nav class="md:ml-auto flex flex-wrap items-center text-base justify-center">
      <a class="mr-5 hover:text-gray-900 dark:hover:text-white cursor-pointer transform transition duration-300 hover:scale-110">First Link</a>
      <a class="mr-5 hover:text-gray-900 dark:hover:text-white cursor-pointer transform transition duration-300 hover:scale-110">Second Link</a>
      <a class="mr-5 hover:text-gray-900 dark:hover:text-white cursor-pointer transform transition duration-300 hover:scale-110">Third Link</a>
      <a class="mr-5 hover:text-gray-900 dark:hover:text-white cursor-pointer transform transition duration-300 hover:scale-110">Fourth Link</a>
    </nav>
    <button class="inline-flex items-center bg-gray-100 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600 transform transition duration-300 hover:scale-110">
      Button
      <svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
        <path d="M5 12h14M12 5l7 7-7 7"></path>
      </svg>
    </button>
  </div>
</header>

関連コンポーネント

ソーシャルメディアヘッダー

ソーシャルメディアインターフェース用のレスポンシブヘッダーコンポーネントで、トライアドカラースキームと最小限の要素を使用したダークモードUIで設計されています。これには、サイトのタイトル、検索バー、ユーザープロファイルリンクが含まれ、Tailwind CSSを使用したダークモードに適応したスタイルが含まれています。

開ける

RetroHeaderComponent (レトロヘッダーコンポーネント)

レスポンシブエフェクトとダークテーマをサポートするレトロ/ビンテージヘッダーコンポーネント。

開ける

複雑なダッシュボードヘッダー

ダッシュボード用に設計された、3Dデザイン要素、アースカラーの配色を備えた複雑で応答性の高いヘッダーコンポーネント。Tailwind CSSを使用したダークテーマのサポートが含まれており、デモ画像/アバターにはpicsum.photosと randomuser.me を使用します。

開ける