内容展示组件

一个响应式内容展示组件,具有极简和扁平的设计风格,适合博客和内容消费。它具有灰度配色方案,并配备互动元素,同时支持暗模式。

预览

HTML 代码

<div class="max-w-xl mx-auto p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg">
    <div class="flex items-center mb-4">
        <img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/10.jpg" alt="Avatar">
        <div class="ml-4">
            <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">John Doe</h2>
            <p class="text-gray-600 dark:text-gray-400">January 1, 2023</p>
        </div>
    </div>
    <h3 class="text-lg font-bold text-gray-800 dark:text-gray-200">Understanding Minimalism in Design</h3>
    <img class="w-full h-48 object-cover rounded-md my-4" src="https://picsum.photos/640/360?random=1" alt="Content Image">
    <p class="text-gray-700 dark:text-gray-300 mb-4">Minimalism in design is all about simplicity and the use of space. By focusing on fewer elements, designers can create engaging experiences that are not only functional but also aesthetically pleasing. In this blog post, we will explore the principles of minimalism and how they can be applied.</p>
    <a href="#" class="inline-block bg-gray-800 text-white rounded-md px-4 py-2 hover:bg-gray-700 dark:bg-gray-300 dark:text-gray-800 dark:hover:bg-gray-400">Read More</a>
</div>

相关组件

内容展示组件

具有大地色调的玻璃拟态内容展示组件

打开

复古电商产品卡展示

一个复杂的响应式电子商务产品展示组件,具有 80 年代/90 年代的复古/复古美感,具有紫色/紫色配色方案、交互式元素和深色模式支持。

打开

Swiss_International_Typography_Content_Display_Component

一个干净、极简的内容显示组件,用于仪表板,强调排版和网格系统,具有凉爽的中性色和完整的响应能力。

打开