Container Component
A responsive dark mode container for blog content with a simple grayscale design.
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 Container Component designed in a Brutalist style for e-commerce, featuring a responsive layout with dark theme support, using Tailwind CSS.
Container Component
A responsive Material Design container for e-commerce, with pastel colors, dark mode support, and complex interactive elements using Tailwind CSS.
Social Media Container
A responsive container component with vibrant colors, engaging microinteractions, and dark theme support, suitable for social media interfaces. Features include subtle hover effects, and a clean layout.