组件 价格显示 价格显示组件

价格显示组件

用于仪表板的极简/扁平设计价格显示组件,具有响应式设计和深色模式支持。

预览

HTML 代码

<div class="bg-white dark:bg-gray-800 shadow-md rounded-lg p-6 max-w-xs mx-auto">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">Price Overview</h2>
    <div class="flex items-center justify-between mb-4">
        <span class="text-lg font-semibold text-gray-700 dark:text-gray-300">Current Price</span>
        <span class="text-2xl font-extrabold text-blue-500 dark:text-blue-300">$99.99</span>
    </div>
    <div class="flex items-center justify-between">
        <img src="https://picsum.photos/50/50?random=1" alt="Product Image" class="rounded-full">
        <div>
            <span class="text-sm text-gray-600 dark:text-gray-400">Last updated: 2 hours ago</span>
        </div>
    </div>
    <button class="mt-4 w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline dark:bg-blue-600 dark:hover:bg-blue-500">View Details</button>
</div>

相关组件

价格显示组件

仪表板的响应式价格显示组件,具有引人入胜的微交互和三元配色方案,并支持深色模式。

打开

价格显示组件

新拟态风格的价格显示组件,具有响应效果和黑暗主题支持。

打开

价格显示组件

一个响应式价格显示组件,采用新拟态风格和互补的配色方案,专为支持黑暗模式的博客内容设计。

打开