Interactive Components Component
A social media interactive component designed with dark mode and monochromatic color scheme.
HTML Code
<div class="bg-gray-900 text-gray-100 min-h-screen p-6">
<div class="max-w-md mx-auto bg-gray-800 rounded-lg shadow-lg">
<div class="p-4 border-b border-gray-700">
<h2 class="text-xl font-bold">Interactive Components</h2>
<p class="text-gray-400">Engage with your network in style.</p>
</div>
<div class="flex items-center p-4">
<img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" />
<div class="ml-4">
<h3 class="font-semibold">John Doe</h3>
<p class="text-gray-500 text-sm">@johndoe</p>
</div>
</div>
<div class="p-4">
<img class="w-full h-48 object-cover rounded-lg" src="https://picsum.photos/500/300" alt="Interactive Image" />
<p class="mt-2 text-gray-300">This is an example of an interactive post with an image. Feel free to comment and like!</p>
</div>
<div class="flex justify-between p-4 border-t border-gray-700">
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Like</button>
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Comment</button>
</div>
</div>
</div>
Related Components
BrutalismPortfolioInteractive
Interactive Components Component with Brutalism design, Vibrant colors, and Complex layout for Portfolio purpose, responsive with dark theme support.
Interactive Components Component
A brutalist-inspired interactive component for a blog, featuring high contrast earth tones, responsive design, and dark mode support.
Interactive Food Delivery Component
A complex, interactive food delivery and restaurant component featuring neon glow effects, vibrant colors, and multiple interactive elements. Designed for responsiveness and dark mode support.