Neumorphic Buttons 컴포넌트
반응형 효과와 Tailwind CSS를 사용하는 어두운 테마 지원이 있는 뉴모픽 디자인 스타일을 특징으로 하는 버튼 구성 요소입니다.
HTML 코드
<div class="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900">
<h2 class="mb-4 text-2xl font-bold dark:text-white">Neumorphic Buttons</h2>
<div class="flex space-x-4">
<button class="relative group p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md transition-all duration-300 ease-in-out hover:shadow-lg hover:-translate-y-1 active:translate-y-0 active:shadow-md">
<span class="text-gray-900 dark:text-gray-200">Button 1</span>
<div class="absolute inset-0 rounded-lg bg-gray-200 dark:bg-gray-700 blur-md shadow-lg opacity-30 group-hover:opacity-20 transition-opacity duration-300"></div>
</button>
<button class="relative group p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md transition-all duration-300 ease-in-out hover:shadow-lg hover:-translate-y-1 active:translate-y-0 active:shadow-md">
<span class="text-gray-900 dark:text-gray-200">Button 2</span>
<div class="absolute inset-0 rounded-lg bg-gray-200 dark:bg-gray-700 blur-md shadow-lg opacity-30 group-hover:opacity-20 transition-opacity duration-300"></div>
</button>
<button class="relative group p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md transition-all duration-300 ease-in-out hover:shadow-lg hover:-translate-y-1 active:translate-y-0 active:shadow-md">
<span class="text-gray-900 dark:text-gray-200">Button 3</span>
<div class="absolute inset-0 rounded-lg bg-gray-200 dark:bg-gray-700 blur-md shadow-lg opacity-30 group-hover:opacity-20 transition-opacity duration-300"></div>
</button>
</div>
</div>
관련 구성 요소
Retro_Rainbow_Buttons_Component
사진 갤러리 및 포트폴리오를 위해 설계된 레트로 테마의 그라디언트 무지개 버튼 컬렉션으로, 적당한 복잡성과 완전한 반응성 및 다크 모드를 지원합니다.
Buttons 구성 요소
트라이어딕 색 구성표, 단순한 복잡성 및 다크 모드를 지원하는 반응형 디자인을 갖춘 레트로 빈티지 테마 버튼 구성 요소로 블로그 또는 콘텐츠 웹 사이트에 적합합니다.