Komponente "Feedback-Komponenten"
Einfache Glassmorphism-Feedback-Komponente für soziale Medien mit einem triadischen Farbschema, responsivem Design und Unterstützung für dunkle Themen. Kein JavaScript erforderlich.
HTML-Code
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
<div class="w-full max-w-sm bg-white dark:bg-gray-800 p-6 rounded-lg shadow-xl bg-opacity-60 dark:bg-opacity-60 glassmorphism-card">
<h2 class="text-xl font-semibold text-gray-800 dark:text-white mb-4 text-center">Leave Feedback</h2>
<textarea class="w-full p-3 mb-4 border border-gray-300 dark:border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:text-white dark:bg-gray-700 dark:placeholder-gray-400 bg-white bg-opacity-50 dark:bg-opacity-50 glassmorphism-input" rows="4" placeholder="Your feedback..."></textarea>
<button class="w-full bg-blue-500 text-white py-2 px-4 rounded-md hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-200 ease-in-out">Submit Feedback</button>
</div>
</div>
<style>
.glassmorphism-card {
background-color: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.dark .glassmorphism-card {
background-color: rgba(31, 41, 55, 0.6);
}
.glassmorphism-input {
background-color: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
.dark .glassmorphism-input {
background-color: rgba(55, 65, 81, 0.5);
}
</style>
Verwandte Komponenten
Feedback-Komponente 23
Eine Feedback-Komponente im Material Design-Stil mit responsiven Animationen und Unterstützung für dunkle Themen, die mit Tailwind CSS erstellt wurde.
Feedback-Komponenten
Eine komplexe Feedback-Komponente, die für Geschäfts-/Unternehmenswebsites im Dunkelmodus entwickelt wurde und ein komplementäres Farbschema verwendet.
Feedback-Komponente
Eine reaktionsschnelle Feedback-Komponente, die für Social-Networking-Schnittstellen entwickelt wurde und 3D-Designelemente in einem Graustufen-Farbschema mit Unterstützung für den Dunkelmodus enthält, zugeschnitten auf mittlere Komplexität und Interaktivität.