Brutalist Forms Component
A simple brutalist-styled forms component for social media. It features a high contrast, raw design using grayscale colors and is responsive with dark mode support.
HTML Code
<div class="max-w-md mx-auto p-5 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg shadow-lg">
<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">Sign Up</h2>
<form>
<label class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Name</label>
<input type="text" class="block w-full p-2 border border-gray-300 dark:border-gray-600 rounded mb-4 focus:outline-none focus:ring focus:ring-gray-300 dark:focus:ring-gray-600" placeholder="Your Name" required>
<label class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Email</label>
<input type="email" class="block w-full p-2 border border-gray-300 dark:border-gray-600 rounded mb-4 focus:outline-none focus:ring focus:ring-gray-300 dark:focus:ring-gray-600" placeholder="Your Email" required>
<label class="block mb-2 text-sm font-medium text-gray-700 dark:text-gray-300">Profile Picture</label>
<div class="flex items-center mb-4">
<img src="https://picsum.photos/50" alt="Profile Picture" class="rounded-full border border-gray-300 dark:border-gray-600 mr-3">
<input type="file" class="block w-full p-2 border border-gray-300 dark:border-gray-600 rounded">
</div>
<button type="submit" class="w-full py-2 bg-gray-900 dark:bg-gray-200 text-white dark:text-gray-900 hover:bg-gray-700 dark:hover:bg-gray-300 rounded">Submit</button>
</form>
</div>
Related Components
Material Design Forms Component
A responsive forms component designed with Material Design principles using Tailwind CSS, featuring dark mode support.
Forms Component
A responsive forms component designed in Material Design style using Tailwind CSS, featuring grid layouts, shadows, and support for dark mode.
Brutalist Forms Component
A forms component designed with a brutalist aesthetic, using pastel colors, and suitable for business/corporate websites. It features a responsive design with support for dark themes.