탐색 구성 요소

마이크로 인터랙션 및 어두운 테마를 지원하는 반응형 탐색 구성 요소로, Tailwind CSS를 사용하여 설계되었습니다.

미리 보기

HTML 코드

<nav class="bg-white dark:bg-gray-800 shadow-lg">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <div class="flex justify-between items-center h-16">
            <div class="flex-shrink-0">
                <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" />
            </div>
            <div class="hidden md:block">
                <div class="flex space-x-4">
                    <a href="#" class="text-gray-900 dark:text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                        Home
                    </a>
                    <a href="#" class="text-gray-900 dark:text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                        About
                    </a>
                    <a href="#" class="text-gray-900 dark:text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                        Services
                    </a>
                    <a href="#" class="text-gray-900 dark:text-white px-3 py-2 rounded-md text-sm font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                        Contact
                    </a>
                </div>
            </div>
            <div class="-mr-2 flex md:hidden">
                <button class="bg-gray-800 inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
                    <span class="sr-only">Open main menu</span>
                    <svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7" />
                    </svg>
                </button>
            </div>
        </div>
    </div>
    <div class="md:hidden">
        <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
            <a href="#" class="text-gray-900 dark:text-white block px-3 py-2 rounded-md text-base font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                Home
            </a>
            <a href="#" class="text-gray-900 dark:text-white block px-3 py-2 rounded-md text-base font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                About
            </a>
            <a href="#" class="text-gray-900 dark:text-white block px-3 py-2 rounded-md text-base font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                Services
            </a>
            <a href="#" class="text-gray-900 dark:text-white block px-3 py-2 rounded-md text-base font-medium hover:bg-gray-200 dark:hover:bg-gray-700 transition duration-200 ease-in-out">
                Contact
            </a>
        </div>
    </div>
</nav>

관련 구성 요소

다크 모드 포트폴리오 탐색

포트폴리오 웹 사이트를 위한 복잡하고 반응이 빠른 탐색 구성 요소로, 유사한 색상의 다크 모드 UI를 특징으로 하며 작업 또는 제품을 선보이도록 설계되었습니다. 데스크톱, 태블릿 및 모바일 레이아웃과 드롭다운 및 사용자 아바타가 포함됩니다.

열다

네온 글로우 정부 항법

정부/공공 서비스를 위한 반응형 내비게이션 구성 요소로, 네온 불빛, 사탕처럼 달콤한 색 구성표, 다크 모드 지원을 제공합니다. 생생한 조명 효과와 함께 밝고 빛나는 요소가 특징입니다.

열다

레트로 소셜 미디어 내비게이션

소셜 미디어를 위한 다크 모드가 있는 반응형 내비게이션 구성 요소(레트로/빈티지, 어스 톤, 중간 복잡성)

열다