内容展示组件

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

预览

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>

相关组件

内容展示组件

一个简单的响应式内容显示组件,采用粗犷主义风格和互补色设计。适合商业/企业网站,支持黑暗模式。

打开

内容显示组件组件

一个简单而生动的内容显示组件,具有微交互、响应式设计和深色主题支持,适用于博客和内容消费。将 picsum.photos 用于图像,将 randomuser.me 用于头像。

打开

内容展示组件

一个响应式社交媒体内容显示组件,采用拟物化风格设计,色彩柔和,具有多个交互元素和深色模式支持。

打开