구성 요소 머리글 헤더 구성 요소

헤더 구성 요소

다크 모드를 지원하는 반응형 헤더 구성 요소로, 로고, 탐색 링크 및 클릭 유도문안 버튼을 제공합니다. 이 디자인은 눈의 피로를 줄이기 위해 어두운 배경을 사용합니다.

미리 보기

HTML 코드

<header class="bg-gray-900 text-gray-100">
  <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-white mb-4 md:mb-0">
      <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">DarkMode Header</span>
    </a>
    <nav class="md:ml-auto flex flex-wrap items-center text-base justify-center">
      <a class="mr-5 hover:text-white">First Link</a>
      <a class="mr-5 hover:text-white">Second Link</a>
      <a class="mr-5 hover:text-white">Third Link</a>
      <a class="mr-5 hover:text-white">Fourth Link</a>
    </nav>
    <button class="inline-flex items-center bg-gray-800 border-0 py-1 px-3 focus:outline-none hover:bg-gray-700 rounded text-base mt-4 md:mt-0">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>

관련 구성 요소

헤더 구성 요소

다크 모드를 지원하는 소셜 미디어를 위한 간단하고 반응이 빠른 헤더 구성 요소입니다. 로고, 검색창, 사용자 아바타가 특징입니다. 회색 음영 색 구성표를 사용합니다.

열다

머티리얼 디자인 비즈니스 헤더

Material Design은 비즈니스 웹 사이트를 위한 보색 구성표가 있는 간단한 헤더 구성 요소에 영감을 주었습니다. 어두운 테마를 지원하는 반응형 디자인.

열다

레트로 빈티지 헤더 구성 요소

레트로/빈티지 스타일의 반응형 헤더 구성 요소로, 어두운 테마를 지원하는 대시보드에 맞게 조정됩니다.

열다