Feedback Components Component
Simple Glassmorphism feedback component for social media, featuring a triadic color scheme, responsive design, and dark theme support. No JavaScript required.
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>
Related Components
Luxury_Premium_Vibrant_Simple_Food_Restaurant_Feedback_Component
A simple, elegant feedback component for food/restaurant websites with a vibrant, high-saturation color scheme and dark mode support. Designed for luxury/premium feel.
Brutalist Feedback Component
A brutalist feedback component with high contrast and bold typography.
Cyberpunk_CRM_Feedback_Component
A complex, responsive feedback component for CRM/Business Tools with a cyberpunk aesthetic using corporate blues. Includes multiple tabs, a form, and a list of recent feedback, supporting dark mode.