Components Columns Columns Component

Columns Component

A Material Design-styled Columns Component with responsive effects and dark theme support using Tailwind CSS.

Preview

HTML Code

<div class="container mx-auto px-4 py-8">
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
    <!-- Column 1 -->
    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-6">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-white mb-4">Column 1</h2>
      <p class="text-gray-600 dark:text-gray-300">This is the content for column 1. It uses Material Design principles for styling and responsiveness.</p>
    </div>

    <!-- Column 2 -->
    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-6">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-white mb-4">Column 2</h2>
      <p class="text-gray-600 dark:text-gray-300">This is the content for column 2. The columns are responsive, adapting to different screen sizes.</p>
    </div>

    <!-- Column 3 -->
    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-6">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-white mb-4">Column 3</h2>
      <p class="text-gray-600 dark:text-gray-300">This is the content for column 3. Dark mode is supported, changing the background and text colors.</p>
    </div>
  </div>
</div>

Related Components

Columns Component

A responsive Columns Component designed with a Retro/Vintage aesthetic, supporting both light and dark themes. Features placeholder images and avatars from picsum.photos and randomuser.me respectively.

Open

Columns Component

Responsive Columns Component with Dark Mode Support

Open

Columns Component

A responsive Columns Component designed with Glassmorphism, using a Triadic color scheme for a Business/Corporate website. It features frosted glass-like translucent elements, blur effects, and is suitable for dark mode.

Open