组件 列组件

列组件

列组件采用 Glassmorphism 风格、鲜艳的色彩和简单的布局设计,适用于仪表板。

预览

HTML 代码

<div class="flex flex-col md:flex-row md:space-x-4 p-6 bg-gray-900 dark:bg-gray-800 rounded-lg backdrop-blur-lg border border-transparent border-gray-600">
    <div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
        <h2 class="text-xl font-bold text-white mb-2">Column 1</h2>
        <img src="https://picsum.photos/200/100" alt="Image 1" class="w-full rounded-lg mb-2" />
        <p class="text-white">This is a description for the first column. Use this space to display key metrics or important information.</p>
    </div>
    <div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
        <h2 class="text-xl font-bold text-white mb-2">Column 2</h2>
        <img src="https://picsum.photos/200/100" alt="Image 2" class="w-full rounded-lg mb-2" />
        <p class="text-white">This is a description for the second column. Provide insights, visualizations, or controls related to the data here.</p>
    </div>
    <div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
        <h2 class="text-xl font-bold text-white mb-2">Column 3</h2>
        <img src="https://picsum.photos/200/100" alt="Image 3" class="w-full rounded-lg mb-2" />
        <p class="text-white">This is a description for the third column. Summary or additional data visuals can fit nicely in this space.</p>
    </div>
</div>

相关组件

列组件

一个为社交网络接口设计的灰度色彩方案的极简列组件。它具有支持黑暗主题的响应式布局。

打开

列组件

一个为深色模式设计的响应式列组件,使用 Tailwind CSS,具有头像和图片占位符。

打开

列组件

支持深色模式的响应式列组件

打开