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

价格显示组件

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

预览

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>

相关组件

价格显示组件

一种具有复古/古典美学的价格显示组件,具有响应设计和深色模式支持。

打开

Price Display 组件

价格显示组件,具有响应式设计、深色模式支持和鲜艳的配色方案。

打开

价格显示组件

一个响应式价格显示组件,采用复古/复古美学和鲜艳的颜色,适用于社交媒体界面,并支持深色模式。

打开