360° Viewer Component
A simple 360° viewer component designed in a brutalist style for e-commerce purposes, featuring a triadic color scheme and responsive design with dark theme support.
HTML Code
<div class="flex flex-col items-center justify-center p-5 bg-gray-900 text-white dark:bg-gray-800">
<h2 class="text-3xl font-bold mb-4">360° Product Viewer</h2>
<div class="flex items-center justify-center space-x-5 mb-4">
<img src="https://picsum.photos/200/300?random=1" alt="Product Image" class="border-4 border-red-600 dark:border-blue-400 rounded-lg transition-transform duration-500 ease-in-out hover:scale-105" />
<img src="https://picsum.photos/200/300?random=2" alt="Product Image" class="border-4 border-yellow-400 dark:border-green-500 rounded-lg transition-transform duration-500 ease-in-out hover:scale-105" />
<img src="https://picsum.photos/200/300?random=3" alt="Product Image" class="border-4 border-blue-500 dark:border-red-600 rounded-lg transition-transform duration-500 ease-in-out hover:scale-105" />
</div>
<p class="text-center mb-5">Rotate through the product images to see more details.</p>
<div class="flex space-x-3">
<button class="bg-red-600 text-white font-bold py-2 px-4 rounded-lg shadow-md hover:bg-red-700 dark:hover:bg-red-500 transition duration-200">Previous</button>
<button class="bg-yellow-400 text-gray-900 font-bold py-2 px-4 rounded-lg shadow-md hover:bg-yellow-500 dark:bg-green-600 dark:text-white dark:hover:bg-green-500 transition duration-200">Next</button>
</div>
<div class="mt-5">
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User Avatar" class="w-16 h-16 rounded-full border-2 border-yellow-400 dark:border-green-500" />
<p class="mt-2 text-center font-medium">Customer Review</p>
</div>
</div>
Related Components
360 Viewer Component
A 360° Viewer Component with dark mode support and responsive design, built with Tailwind CSS. Requires no JavaScript, using only CSS for styling and responsiveness.
360 Viewer Component
A 360-degree viewer component with Glassmorphism design, monochromatic color scheme, and moderate complexity. It's designed for blog/content purposes, is responsive, and supports dark mode using Tailwind CSS. No JavaScript is included, only HTML with Tailwind classes. Uses picsum.photos for images.
360° Viewer Component
A simple 360° viewer component styled in Material Design with Earth tones for an e-commerce context. It includes a responsive design with support for dark mode, showcasing images from picsum.photos and avatars from randomuser.me.