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
A simple web component designed for blog and content consumption, featuring engaging micro-interactions and a grayscale color scheme with dark theme support.
Functional Components
A functional component with skeuomorphic design, responsive effects, and dark theme support using Tailwind CSS.
Functional Components Component
A web component mimicking real-world counterparts in a business-corporate style with a complementary color scheme, simple layout, and responsive design with dark mode support.