Components Functional Components Functional Components Component

Functional Components Component

A web component mimicking real-world counterparts in a business-corporate style with a complementary color scheme, simple layout, and responsive design with dark mode support.

Preview

HTML Code

<div class="p-6 max-w-sm mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-md">
  <div class="flex items-center space-x-4">
    <img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">
    <div>
      <h2 class="text-xl font-bold text-gray-800 dark:text-white">John Doe</h2>
      <p class="text-gray-600 dark:text-gray-400">Business Analyst</p>
    </div>
  </div>
  <div class="mt-4">
    <p class="text-gray-700 dark:text-gray-300">
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.
    </p>
  </div>
  <div class="mt-4">
    <img class="w-full h-32 rounded-lg" src="https://picsum.photos/400/200" alt="Business Image">
  </div>
  <div class="mt-4">
    <a href="#" class="inline-block px-6 py-2 text-white bg-blue-500 rounded-lg hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600">Contact</a>
  </div>
</div>

Related Components

Functional Components Component

A functional component with 3D design, responsive effects, and dark mode support, implemented using Tailwind CSS.

Open

E-commerce Functional Component

Minimalist Flat Design E-commerce component with triadic color scheme and responsive dark mode support.

Open

Paper/Print-inspired Booking Card

A simple, responsive booking/reservation card component with a paper/print-inspired design and earth-tone color scheme, featuring dark mode support. Suitable for displaying appointment slots or reservation details.

Open