Wunschlisten-Komponente
Eine reaktionsschnelle Wishlist-Komponente mit Retro-/Vintage-Ästhetik, mit triadischem Farbschema und Unterstützung für den Dunkelmodus, ideal für die Präsentation von Arbeiten oder Produkten.
HTML-Code
<div class="bg-gray-900 dark:bg-gray-800 text-gray-100 dark:text-gray-200 p-6 rounded-lg max-w-md mx-auto shadow-lg">
<h2 class="text-3xl font-bold text-center mb-4">My Wishlist</h2>
<div class="space-y-4">
<div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
<img src="https://picsum.photos/100" alt="Product" class="w-16 h-16 rounded-lg">
<div class="flex-1 ml-4">
<h3 class="text-xl font-semibold">Product Title 1</h3>
<p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
</div>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
</div>
<div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
<img src="https://picsum.photos/100?random=1" alt="Product" class="w-16 h-16 rounded-lg">
<div class="flex-1 ml-4">
<h3 class="text-xl font-semibold">Product Title 2</h3>
<p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
</div>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
</div>
<div class="flex items-center justify-between bg-gray-700 dark:bg-gray-600 p-4 rounded-lg">
<img src="https://picsum.photos/100?random=2" alt="Product" class="w-16 h-16 rounded-lg">
<div class="flex-1 ml-4">
<h3 class="text-xl font-semibold">Product Title 3</h3>
<p class="text-gray-300 dark:text-gray-400">Description of the product goes here.</p>
</div>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Add to Cart</button>
</div>
</div>
<div class="mt-6 text-center">
<h4 class="text-2xl font-bold">User: John Doe</h4>
<img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="w-24 h-24 rounded-full mx-auto mt-2">
</div>
</div>
Verwandte Komponenten
Wunschlisten-Komponente
Responsive Wishlist-Komponente mit Unterstützung für den Dunkelmodus unter Verwendung von Tailwind CSS. Anzeige einer Liste von Artikeln mit Bildern, Titeln, Preisen und Entfernen-Schaltflächen. Entwickelt für ein Armaturenbrett mit leuchtenden Farben.
Wunschlisten-Komponente
Eine responsive Wunschlistenkomponente im Glassmorphism-Designstil mit Tailwind CSS, die den Dunkelmodus mit Milchglas-ähnlichen Effekten und zufälligen Platzhalterbildern unterstützt.
Wunschlisten-Komponente
Eine reaktionsschnelle Wunschlistenkomponente mit 3D-Elementen, Erdtönen und Unterstützung für den Dunkelmodus zur Präsentation von Arbeiten oder Produkten.