뉴모픽 소셜 미디어 내비게이션
소프트 UI 뉴모픽 디자인을 갖춘 간단하고 반응이 빠른 소셜 미디어 탐색 구성 요소입니다. 단색 색 구성표를 사용하고 다크 모드를 지원합니다.
HTML 코드
<nav class="p-4 bg-gray-100 dark:bg-gray-800 transition-colors duration-300">
<div class="container mx-auto flex items-center justify-between">
<div class="text-2xl font-bold text-gray-700 dark:text-gray-200">NuSocial</div>
<div class="flex space-x-4 md:space-x-6">
<a href="#"
class="p-3 rounded-full flex items-center justify-center
bg-gray-100 shadow-neumorphic-light text-gray-600
hover:shadow-neumorphic-light-inset hover:text-blue-500
dark:bg-gray-800 dark:shadow-neumorphic-dark dark:text-gray-300
dark:hover:shadow-neumorphic-dark-inset dark:hover:text-blue-400
transition-all duration-300"
aria-label="Home">
<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="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0v-9M9 21h6"></path>
</svg>
</a>
<a href="#"
class="p-3 rounded-full flex items-center justify-center
bg-gray-100 shadow-neumorphic-light text-gray-600
hover:shadow-neumorphic-light-inset hover:text-blue-500
dark:bg-gray-800 dark:shadow-neumorphic-dark dark:text-gray-300
dark:hover:shadow-neumorphic-dark-inset dark:hover:text-blue-400
transition-all duration-300"
aria-label="Messages">
<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="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
</svg>
</a>
<a href="#"
class="p-3 rounded-full flex items-center justify-center
bg-gray-100 shadow-neumorphic-light text-gray-600
hover:shadow-neumorphic-light-inset hover:text-blue-500
dark:bg-gray-800 dark:shadow-neumorphic-dark dark:text-gray-300
dark:hover:shadow-neumorphic-dark-inset dark:hover:text-blue-400
transition-all duration-300"
aria-label="Notifications">
<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="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
</svg>
</a>
<button
class="p-3 rounded-full flex items-center justify-center
bg-gray-100 shadow-neumorphic-light text-gray-600
hover:shadow-neumorphic-light-inset hover:text-blue-500
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50
dark:bg-gray-800 dark:shadow-neumorphic-dark dark:text-gray-300
dark:hover:shadow-neumorphic-dark-inset dark:hover:text-blue-400
transition-all duration-300"
aria-label="User profile">
<img src="https://randomuser.me/api/portraits/men/4.jpg" alt="User avatar" class="w-6 h-6 rounded-full object-cover">
</button>
</div>
</div>
<!-- Custom Styles for Neumorphic Shadow -->
<style>
.shadow-neumorphic-light {
box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
}
.shadow-neumorphic-light-inset {
box-shadow: inset 6px 6px 12px #bebebe, inset -6px -6px 12px #ffffff;
}
.dark .shadow-neumorphic-dark {
box-shadow: 6px 6px 12px #6e6e6e, -6px -6px 12px #929292;
}
.dark .shadow-neumorphic-dark-inset {
box-shadow: inset 6px 6px 12px #6e6e6e, inset -6px -6px 12px #929292;
}
</style>
</nav>
관련 구성 요소
Brutalism Navigation 구성 요소
브루탈리즘 스타일로 디자인된 반응형 탐색 구성 요소로, 단색 색 구성표를 보여 주며 포트폴리오 웹 사이트에 이상적입니다. 기능에는 고대비의 대담한 레이아웃, Tailwind CSS를 사용한 다크 모드 지원, 드롭다운 또는 버튼 링크와 같은 대화형 요소가 포함됩니다.
미니멀리스트 어스 톤 내비게이션 컴포넌트
흙빛 색 구성표가 있는 미니멀하고 평평한 디자인의 탐색 구성 요소로, 컨설팅/서비스 웹 사이트에 적합합니다. 데스크톱, 태블릿 및 모바일을 위한 반응형 디자인이 포함되어 있으며 다크 모드를 지원합니다.