Functional Components Component
A social media component designed with Brutalism style and pastel colors, featuring a complex interface for interactions, with dark mode support.
HTML Code
<div class="max-w-3xl mx-auto p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-300 dark:border-gray-700">
<header class="flex items-center space-x-4 border-b border-gray-300 dark:border-gray-700 pb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar" class="w-12 h-12 rounded-full">
<div>
<h2 class="text-xl font-bold text-gray-800 dark:text-gray-100">John Doe</h2>
<p class="text-gray-600 dark:text-gray-400">@johndoe</p>
</div>
</header>
<div class="my-4">
<p class="text-gray-800 dark:text-gray-200">
This is a sample post showcasing Brutalism in design.
The layout is raw and bold, inviting interactions with its visually striking style!
</p>
<img src="https://picsum.photos/800/400?random=1" alt="Random Image" class="mt-4 w-full rounded-lg shadow-md">
</div>
<footer class="flex justify-between border-t border-gray-300 dark:border-gray-700 pt-4 mt-4">
<button class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100 focus:outline-none">❤️ Like</button>
<button class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100 focus:outline-none">💬 Comment</button>
<button class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100 focus:outline-none">🔗 Share</button>
</footer>
</div>
Related Components
Functional Components Component
Minimalist/Flat Design dating/social component with a gradient rainbow color scheme for displaying a user profile.
Paper/Print-inspired Monochromatic Government Component
A medium complexity component mimicking physical paper and print materials, designed for government/public service websites with a monochromatic color scheme and full responsiveness, including dark mode support.
Functional Components
A functional component with skeuomorphic design, responsive effects, and dark theme support using Tailwind CSS.