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.
HTML Code
<div class="container mx-auto p-4">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white">360° Product Viewer</h2>
<div class="mt-4 flex justify-center items-center">
<img src="https://picsum.photos/500/300?random=1" alt="360° View" class="rounded-lg shadow-md transition-transform duration-300 hover:scale-105">
</div>
<div class="mt-4 text-center">
<p class="text-gray-600 dark:text-gray-300">Explore our product from all angles. Rotate to view details and features.</p>
</div>
<div class="mt-6 flex justify-center">
<button class="bg-green-600 dark:bg-green-800 text-white font-semibold py-2 px-4 rounded shadow-md hover:bg-green-500 dark:hover:bg-green-700 transition duration-200">Buy Now</button>
</div>
<div class="mt-6 text-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="rounded-full w-12 h-12 shadow-lg">
<p class="mt-2 text-gray-600 dark:text-gray-300">John Doe - E-commerce Specialist</p>
</div>
</div>
</div>
Related Components
360° Viewer Component
A 360° Viewer component using Glassmorphism design style with responsive effects and dark theme support.
360° Viewer Component
A minimalist 360° viewer component designed with Tailwind CSS, featuring responsive effects and support for dark theme.
Neumorphic 360 Viewer Component
A 360° Viewer Component with Neumorphism design, Triadic color scheme (example: light blue, pink, yellow-orange) and moderate complexity for social media applications. The component is responsive, supports dark mode using Tailwind classes, and uses picsum.photos for images and randomuser.me for avatars. No JavaScript is required.