구성 요소 드롭다운 메뉴 뉴모픽(Neumorphic) 드롭다운 메뉴

뉴모픽(Neumorphic) 드롭다운 메뉴

생생한 색상과 다크 모드를 지원하는 소셜 미디어를 위한 뉴모픽 드롭다운 메뉴.

미리 보기

HTML 코드

<div class="relative inline-block text-left">
  <button class="flex items-center justify-center w-12 h-12 rounded-full bg-gradient-to-br from-purple-400 to-indigo-600 shadow-neumorphic-light dark:shadow-neumorphic-dark focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-75">
    <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">
  </button>

  <div class="origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-gradient-to-br from-purple-400 to-indigo-600 dark:from-gray-700 dark:to-gray-900 ring-1 ring-black ring-opacity-5 divide-y divide-purple-300 dark:divide-gray-600 focus:outline-none">
    <div class="py-1">
      <a href="#" class="block px-4 py-2 text-sm text-white hover:bg-purple-500 hover:text-white dark:text-gray-200 dark:hover:bg-gray-800">Profile</a>
      <a href="#" class="block px-4 py-2 text-sm text-white hover:bg-purple-500 hover:text-white dark:text-gray-200 dark:hover:bg-gray-800">Settings</a>
    </div>
    <div class="py-1">
      <a href="#" class="block px-4 py-2 text-sm text-white hover:bg-purple-500 hover:text-white dark:text-gray-200 dark:hover:bg-gray-800">Notifications</a>
      <a href="#" class="block px-4 py-2 text-sm text-white hover:bg-purple-500 hover:text-white dark:text-gray-200 dark:hover:bg-gray-800">Messeges</a>
    </div>
    <div class="py-1">
      <a href="#" class="block px-4 py-2 text-sm text-white hover:bg-purple-500 hover:text-white dark:text-gray-200 dark:hover:bg-gray-800">Logout</a>
    </div>
  </div>
</div>

<style>
  .shadow-neumorphic-light {
    box-shadow: 6px 6px 12px #9d7df5, -6px -6px 12px #c9a7ff;
  }
  .dark .shadow-neumorphic-dark {
    box-shadow: 6px 6px 12px #333333, -6px -6px 12px #666666;
  }
</style>

관련 구성 요소

사이버펑크 다크 모드 드롭다운 메뉴

대시보드를 위한 복잡한 사이버펑크 테마의 드롭다운 메뉴 구성 요소로, 어두운 배경, 미묘하고 밝은 액센트가 있는 그레이스케일 색상, 완전한 응답성을 제공합니다.

열다

드롭다운 메뉴 컴포넌트

3D 어스 톤 디자인의 간단하고 반응이 빠른 드롭다운 메뉴로 블로그 또는 콘텐츠 사이트에 적합합니다. 다크 모드 지원이 포함됩니다.

열다

드롭다운 메뉴 컴포넌트

드롭다운 메뉴 구성 요소에는 마이크로 인터랙션, 생생한 색상, 포트폴리오를 위한 간단한 레이아웃이 포함되어 있으며 반응형 디자인과 어두운 테마를 지원합니다.

열다