一种简单的信息图组件,采用3D美学设计,使用柔和的颜色用于社交媒体界面,支持暗黑模式。
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 max-w-md mx-auto"> <h2 class="text-3xl font-semibold text-center text-gray-800 dark:text-gray-200">Infographics</h2> <div class="mt-4 flex flex-col items-center"> <div class="bg-blue-200 dark:bg-blue-700 rounded-full w-24 h-24 flex items-center justify-center shadow-inner"> <img src="https://picsum.photos/100/100" alt="Random Image" class="rounded-full object-cover"> </div> <p class="mt-2 text-lg text-gray-700 dark:text-gray-300">Engaging 3D Design</p> </div> <div class="mt-4 flex justify-between"> <div class="bg-green-200 dark:bg-green-700 rounded-lg p-4 shadow-md w-1/4"> <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Stat 1</h3> <p class="text-sm text-gray-600 dark:text-gray-400">Details about Stat 1</p> </div> <div class="bg-yellow-200 dark:bg-yellow-700 rounded-lg p-4 shadow-md w-1/4"> <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Stat 2</h3> <p class="text-sm text-gray-600 dark:text-gray-400">Details about Stat 2</p> </div> <div class="bg-pink-200 dark:bg-pink-700 rounded-lg p-4 shadow-md w-1/4"> <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Stat 3</h3> <p class="text-sm text-gray-600 dark:text-gray-400">Details about Stat 3</p> </div> </div> <div class="mt-4"> <h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">User Info</h3> <div class="flex items-center mt-2"> <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full"> <p class="ml-2 text-gray-700 dark:text-gray-300">John Doe</p> </div> </div> </div>
信息图表组件 - 具有灰度和复杂设计的深色模式 UI。响应式,支持深色主题。
一个响应式的3D信息图组件,专为社交媒体界面设计,具有生动的色彩和暗主题支持,融入三维元素以增强深度和互动性。
一个复杂的信息图表组件,具有拟物化设计风格和充满活力的配色方案,适用于电子商务平台。它是响应式的,并支持使用 Tailwind CSS 的深色模式。它通过交互式元素显示各种产品统计信息。