Komponente "Interaktive Komponenten"
Eine interaktive Social-Media-Komponente, die mit Dunkelmodus und monochromatischem Farbschema entwickelt wurde.
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>
Verwandte Komponenten
Komponente "Interaktive Komponenten"
Interaktive Komponentenkomponente mit 3D-Design, monochromatischem Farbschema und mittlerer Komplexität für E-Commerce, mit responsivem Design und Unterstützung für dunkle Themen.
Komponente "Interaktive Komponenten"
Interaktive Komponentenkomponente mit Skeuomorphismus-Design, analogem Farbschema und mittlerer Komplexität für Blog-/Content-Zwecke. Responsives Design mit Unterstützung für dunkle Themen. Kein JavaScript-Code.
Komponente "Interaktive Komponenten"
Eine brutalistisch inspirierte interaktive Komponente für einen Blog mit kontrastreichen Erdtönen, responsivem Design und Unterstützung für den Dunkelmodus.