소셜 미디어 탐색 구성 요소
소셜 미디어 애플리케이션을 위한 간단하고 반응이 빠른 탐색 구성 요소로, 어두운 테마와 Material Design에서 영감을 받은 보색 구성표가 있습니다. 여기에는 로고, 탐색 링크 및 사용자 아바타가 포함됩니다.
HTML 코드
<nav class="bg-blue-500 dark:bg-blue-900 p-4 shadow-md">
<div class="container mx-auto flex items-center justify-between">
<!-- Logo -->
<a href="#" class="text-white text-2xl font-bold">SocialLink</a>
<!-- Navigation Links -->
<div class="hidden md:flex space-x-6">
<a href="#" class="text-white hover:text-yellow-200 transition duration-300">Home</a>
<a href="#" class="text-white hover:text-yellow-200 transition duration-300">Notifications</a>
<a href="#" class="text-white hover:text-yellow-200 transition duration-300">Messages</a>
<a href="#" class="text-white hover:text-yellow-200 transition duration-300">Profile</a>
</div>
<!-- User Avatar -->
<div class="flex items-center space-x-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-white">
<!-- Mobile Menu Button (Hamburger) -->
<button class="md:hidden text-white focus:outline-none">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
<!-- Mobile Navigation (Hidden by default) -->
<div class="md:hidden mt-4 space-y-2">
<a href="#" class="block text-white hover:text-yellow-200 transition duration-300 px-4 py-2">Home</a>
<a href="#" class="block text-white hover:text-yellow-200 transition duration-300 px-4 py-2">Notifications</a>
<a href="#" class="block text-white hover:text-yellow-200 transition duration-300 px-4 py-2">Messages</a>
<a href="#" class="block text-white hover:text-yellow-200 transition duration-300 px-4 py-2">Profile</a>
</div>
</nav>
관련 구성 요소
스큐어모픽 내비게이션 컴포넌트(Skeuomorphic Navigation Component)
스큐어모픽 스타일로 디자인된 탐색 구성 요소로, 보색 구성표를 특징으로 하며, 데이터 시각화 및 제어판이 있는 대시보드에 적합합니다. 여기에는 사용자 참여를 위한 대화형 요소가 포함되어 있습니다.