価格表示コンポーネント
ポートフォリオ用のレトロビンテージスタイルの複雑な価格表示コンポーネントで、トライアドカラースキーム、応答性、Tailwind CSSを使用したダークモードのサポートが特徴です。JavaScriptは含まれていません。
HTMLコード
<div class="bg-gray-200 dark:bg-gray-800 min-h-screen flex items-center justify-center p-8">
<div class="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-200 rounded-lg shadow-lg p-8 max-w-sm w-full transform transition-all duration-500 hover:scale-105">
<div class="text-center mb-8">
<h2 class="text-3xl font-bold font-mono mb-2 text-teal-600 dark:text-teal-400">Pro Plan</h2>
<p class="text-gray-600 dark:text-gray-400">Level up your portfolio</p>
</div>
<div class="text-center mb-8">
<p class="text-5xl font-extrabold mb-2 text-purple-600 dark:text-purple-400">$29<span class="text-xl font-medium text-gray-500 dark:text-gray-300">/month</span></p>
<p class="text-sm text-gray-500 dark:text-gray-300">Billed Annually</p>
</div>
<ul class="mb-8 space-y-4">
<li class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-orange-600 dark:text-orange-400 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
Unlimited Projects
</li>
<li class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-orange-600 dark:text-orange-400 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
10GB Storage
</li>
<li class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-orange-600 dark:text-orange-400 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
Custom Domain
</li>
<li class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-orange-600 dark:text-orange-400 mr-3" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
24/7 Support
</li>
</ul>
<button class="w-full bg-orange-600 hover:bg-orange-700 text-white font-bold py-3 px-6 rounded-lg transition-colors duration-300 transform hover:scale-105">
Get Started
</button>
</div>
</div>
関連コンポーネント
サイバーパンクの価格表示コンポーネント
サイバーパンクで未来的なネオンの美学を備えたコンサルティング/サービス向けのレスポンシブ価格表示コンポーネント。暗い背景、明るい類似のアクセントカラーが特徴で、ダークモードをサポートします。
価格表示コンポーネント
補色(ソフトオレンジとライトブルー)を備えたNeumorphismスタイルの価格表示コンポーネントで、eコマースには適度な複雑さがあります。ダークテーマをサポートするレスポンシブデザインが特徴です。このコンポーネントには、商品画像、タイトル、価格が表示され、[カートに追加] ボタンが表示されます。ダークモードでは、彩度の低い補色が使用されます。