360° Viewer Component
A simple 360° viewer component designed with a brutalism style and pastel colors, suitable for social media interfaces.
HTML Code
<div class="flex flex-col items-center justify-center bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg">
<h2 class="text-xl font-bold text-gray-800 dark:text-gray-200 mb-4">360° Viewer</h2>
<div class="relative w-full max-w-md overflow-hidden rounded-lg border border-gray-300 dark:border-gray-700">
<img src="https://picsum.photos/seed/picsum/800/400" alt="360 view" class="w-full h-auto transform transition-transform duration-500" />
<div class="absolute inset-0 flex items-center justify-center">
<p class="text-lg text-gray-600 dark:text-gray-400 bg-white dark:bg-gray-800 bg-opacity-75 px-4 py-2 rounded-lg shadow-md">Swipe to rotate</p>
</div>
</div>
<div class="flex items-center mt-4">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full border-2 border-gray-300 dark:border-gray-600">
<div class="ml-3">
<p class="text-lg font-semibold text-gray-800 dark:text-gray-200">Username</p>
<p class="text-sm text-gray-600 dark:text-gray-400">Posted a new photo</p>
</div>
</div>
</div>
Related Components
360° Viewer Component
A simple 360° Viewer Component designed for e-commerce, featuring microinteractions and an earth tones color scheme, with support for dark mode.
360° Viewer Component
A 360° Viewer Component with Glassmorphism style, featuring frosted glass-like translucent elements and blur effects, supporting responsive design and dark theme.
360° Viewer Component
A minimalist 360° viewer component designed with Tailwind CSS, featuring responsive effects and support for dark theme.