Neumorphic Buttons-Komponente
Eine Schaltflächenkomponente mit einem neumorphen Designstil mit responsiven Effekten und Unterstützung für dunkle Designs unter Verwendung von Tailwind CSS.
HTML-Code
<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>
Verwandte Komponenten
Art Deco Immobilien-Buttons-Komponente
Eine komplexe, vom Art Deco inspirierte Schaltflächenkomponente für Immobilienplattformen mit geometrischen Mustern, luxuriösem Graustufen-Styling und mehreren interaktiven Elementen mit voller Reaktionsfähigkeit und Unterstützung des Dunkelmodus.
Buttons-Komponente
Eine Schaltflächenkomponente im 3D-Stil, die für ein Portfolio mit einem analogen Farbschema und Unterstützung des Dunkelmodus geeignet ist.
Buttons-Komponente
Eine reaktionsschnelle Schaltflächenkomponente mit Unterstützung für den Dunkelmodus, die für den E-Commerce geeignet ist und ein einfaches triadisches Farbschema aufweist.