3D Container Component
A responsive container component for dashboards with a vibrant color scheme and 3D design elements, supporting dark mode.
HTML Code
<div class="min-h-screen bg-white dark:bg-gray-900 flex flex-col justify-center items-center py-10">
<div class="bg-gradient-to-r from-purple-400 to-pink-600 shadow-lg rounded-lg p-6 md:p-8 transform transition-all duration-300 hover:scale-105">
<h2 class="text-white text-2xl font-bold text-center mb-4">Dashboard Overview</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-4">
<h3 class="text-gray-800 dark:text-gray-200 text-xl font-semibold">User Statistics</h3>
<img class="w-full h-32 object-cover rounded-md mt-2" src="https://picsum.photos/400/200?random=1" alt="Statistics Image">
<p class="text-gray-600 dark:text-gray-400 mt-2">Overview of user data and engagement metrics.</p>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-4">
<h3 class="text-gray-800 dark:text-gray-200 text-xl font-semibold">Revenue Insights</h3>
<img class="w-full h-32 object-cover rounded-md mt-2" src="https://picsum.photos/400/200?random=2" alt="Revenue Image">
<p class="text-gray-600 dark:text-gray-400 mt-2">Detailed revenue analysis for the current period.</p>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-4">
<h3 class="text-gray-800 dark:text-gray-200 text-xl font-semibold">User Profiles</h3>
<img class="w-full h-32 object-cover rounded-md mt-2" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<p class="text-gray-600 dark:text-gray-400 mt-2">Brief information about some users.</p>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-4">
<h3 class="text-gray-800 dark:text-gray-200 text-xl font-semibold">Latest Updates</h3>
<img class="w-full h-32 object-cover rounded-md mt-2" src="https://picsum.photos/400/200?random=3" alt="Updates Image">
<p class="text-gray-600 dark:text-gray-400 mt-2">Latest updates from the dashboard activities.</p>
</div>
</div>
<button class="mt-4 bg-white dark:bg-gray-800 text-purple-600 dark:text-purple-400 font-semibold py-2 px-4 rounded-lg shadow-md hover:shadow-lg transition duration-300">View More Details</button>
</div>
</div>
Related Components
Container Component 21
A responsive retro/vintage styled container component with dark theme support.
Container Component
A responsive Material Design container for e-commerce, with pastel colors, dark mode support, and complex interactive elements using Tailwind CSS.
Container Component
A skeuomorphic portfolio container component with a dark theme and responsive design, showcasing work and products with interactive elements.