Components Grid Layout Grid Layout Component 7

Grid Layout Component 7

A responsive Grid Layout Component designed in Brutalism style with Tailwind CSS, featuring dark theme support and random placeholder images.

Preview

HTML Code

<div class="bg-gray-100 dark:bg-gray-800 p-8">
    <h1 class="text-4xl font-extrabold text-black dark:text-white mb-6">Brutalism Grid Layout</h1>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=1" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 1</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 1.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=2" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 2</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 2.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=3" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 3</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 3.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=4" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 4</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 4.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=5" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 5</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 5.</p>
        </div>
        <div class="bg-white dark:bg-gray-700 rounded-lg shadow-lg p-4 flex flex-col items-center justify-center">
            <img src="https://picsum.photos/200/300?random=6" alt="Random Image" class="rounded-lg mb-4">
            <h2 class="text-xl font-bold text-black dark:text-white">Item 6</h2>
            <p class="text-gray-600 dark:text-gray-300">This is a description of item 6.</p>
        </div>
    </div>
</div>

Related Components

Material Design Grid Layout

A responsive grid layout component with Material Design styling, including shadow effects and dark mode support.

Open

Grid Layout Component

A minimalist grid layout component featuring a simple and clean design with responsive effects and support for dark theme. Utilizes placeholder images and avatars from picsum.photos and randomuser.me.

Open

Grid Layout Component

A responsive grid layout component following Material Design principles, featuring shadow effects and dark mode support, using Tailwind CSS.

Open