组件 信息图表 信息图组件

信息图组件

一个采用拟物化设计的信息图表组件,具备响应式效果和深色主题支持,使用 Tailwind CSS。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 max-w-xl mx-auto">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-4">Infographics Component</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
        <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 shadow-md"> 
            <img src="https://picsum.photos/200/100" alt="Placeholder Image" class="w-full h-auto rounded-md mb-2">
            <h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Section Title</h3>
            <p class="text-gray-600 dark:text-gray-300">This is a description of this section. It mimics a real-world interface.</p>
        </div>
        <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 shadow-md"> 
            <img src="https://picsum.photos/200/101" alt="Placeholder Image" class="w-full h-auto rounded-md mb-2">
            <h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Another Section</h3>
            <p class="text-gray-600 dark:text-gray-300">Details about this section are displayed here, using a real-world inspired design.</p>
        </div>
    </div>
    <div class="flex items-center justify-between mt-6">
        <div class="flex items-center">
            <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User Avatar" class="w-10 h-10 rounded-full">
            <span class="ml-2 text-gray-800 dark:text-gray-200 font-medium">User Name</span>
        </div>
        <span class="text-gray-600 dark:text-gray-300">3 hours ago</span>
    </div>
</div>

相关组件

复古信息图

一个简单的、响应式的复古信息图组件,适用于支持深色模式的作品集。使用互补色方案和最少的元素。

打开

信息图组件

一个简单、响应式的信息图组件,具有3D设计元素和类似的配色方案,适用于博客/内容使用。它支持使用Tailwind CSS的黑暗主题。

打开

复古复古信息图表组件

一个响应式、柔和的色彩、复古/复古风格的社交媒体信息图表组件,使用 Tailwind CSS 构建,具有用户资料统计信息、趋势井号标签条形图和说明性图像。包括通过 Tailwind 的 dark: 前缀和交互式悬停动画(无需 JavaScript)的深色模式支持。

打开