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 (Dashboard, 'Dashboard')
Responsive Container Component with dark theme support, designed for dashboards with microinteractions and an analogous color scheme.
Material Design E-commerce Container
A responsive e-commerce container component with a product grid, shopping cart summary, and dark theme support, designed using Material Design principles and an Earth tones color scheme. It features multiple interactive elements, including product cards with images, titles, prices, and "Add to Cart" buttons, as well as a sticky shopping cart summary that updates with added items. The layout adjusts for different screen sizes, and all elements have dark mode styles defined with Tailwind CSS dark: prefixes.
Skeuomorphic Container Component
A Skeuomorphic Container Component with Grayscale color scheme, designed for a Portfolio, featuring responsive design and dark theme support.