Functional Components Component
A functional component with 3D design, responsive effects, and dark mode support, implemented using Tailwind CSS.
HTML Code
<div class="flex flex-wrap justify-center items-center h-screen bg-gray-200 dark:bg-gray-800">
<div class="bg-white dark:bg-gray-700 rounded-lg shadow-xl transform transition-transform duration-500 hover:scale-105 perspective-1000 group w-64 m-6">
<div class="relative transform transition-transform duration-500 rotate-y-0 group-hover:rotate-y-10 h-40 bg-gray-300 dark:bg-gray-600 rounded-t-lg">
<img src="https://picsum.photos/id/237/200/300" alt="Placeholder image" class="w-full h-full object-cover rounded-t-lg">
</div>
<div class="p-6 transform transition-transform duration-500 translate-z-20">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Component Title</h2>
<p class="text-gray-700 dark:text-gray-300">This is a description of the component, showcasing its features and design.</p>
</div>
</div>
<div class="bg-white dark:bg-gray-700 rounded-lg shadow-xl transform transition-transform duration-500 hover:scale-105 perspective-1000 group w-64 m-6">
<div class="relative transform transition-transform duration-500 rotate-y-0 group-hover:rotate-y-10 h-40 bg-gray-300 dark:bg-gray-600 rounded-t-lg">
<img src="https://picsum.photos/id/238/200/300" alt="Placeholder image" class="w-full h-full object-cover rounded-t-lg">
</div>
<div class="p-6 transform transition-transform duration-500 translate-z-20">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Component Title</h2>
<p class="text-gray-700 dark:text-gray-300">This is a description of the component, showcasing its features and design.</p>
</div>
</div>
</div>
Related Components
Functional Components Component
A simple web component designed for blog and content consumption, featuring engaging micro-interactions and a grayscale color scheme with dark theme support.
Functional Components Component
A minimalist portfolio component designed with Tailwind CSS, featuring a vibrant color scheme and supporting dark mode. This component is intended for showcasing work or products and includes images and avatar placeholders.