Components Container Container Component

Container Component

A responsive dark mode container for blog content with a simple grayscale design.

Preview

HTML Code

<div class="container mx-auto p-4 dark:bg-gray-900 bg-white text-gray-800 dark:text-gray-200 rounded-lg shadow-lg">
  <h1 class="text-2xl font-bold mb-4 text-center">Blog Post Title</h1>
  <img src="https://picsum.photos/seed/unsplash/800/400" alt="Blog Post Image" class="w-full h-auto rounded-md mb-4">
  <div class="prose dark:prose-invert max-w-none">
    <p>This is an example of a blog post content paragraph within the container. It demonstrates a simple layout for reading and content consumption in dark mode.</p>
    <p>The container is designed to be responsive and uses Tailwind CSS classes for styling, including dark mode support with the <code class="language-text">dark:</code> prefix.</p>
    <p>Grayscale colors are used for a clean and minimalist look.</p>
  </div>
</div>

Related Components

Container Component

A 3D styled container component suitable for business/corporate websites, featuring vibrant colors and interactive elements, and responsive design with dark theme support.

Open

Container Component

A Container Component designed in a Brutalist style for e-commerce, featuring a responsive layout with dark theme support, using Tailwind CSS.

Open

Playful_Blog_Container

A playful and cheerful blog content container with rounded elements and candy-like colors, designed for reading and content consumption. It is fully responsive and supports dark mode.

Open