Components Price Display Price Display Component

Price Display Component

Neumorphism styled Price Display Component featuring responsive effects and dark theme support.

Preview

HTML Code

<div class="flex items-center justify-center min-h-screen bg-gray-200 dark:bg-gray-800">
  <div class="w-full max-w-sm p-6 bg-gray-200 dark:bg-gray-800 rounded-xl shadow-xl dark:shadow-xl-dark">
    <div class="flex justify-between items-center">
      <h3 class="text-2xl font-bold text-gray-700 dark:text-gray-200">Pro Plan</h3>
      <span class="text-xl font-bold text-gray-600 dark:text-gray-300">$29</span>
    </div>
    <p class="text-gray-600 dark:text-gray-400 mt-2 text-sm">billed monthly</p>
    <ul class="mt-4 space-y-2 text-gray-600 dark:text-gray-400">
      <li class="flex items-center">
        <svg class="h-5 w-5 mr-2 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
        <span>Unlimited projects</span>
      </li>
      <li class="flex items-center">
        <svg class="h-5 w-5 mr-2 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
        <span>10GB storage</span>
      </li>
      <li class="flex items-center">
        <svg class="h-5 w-5 mr-2 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
        <span>Priority support</span>
      </li>
    </ul>
    <button class="mt-6 w-full py-3 bg-blue-500 text-white rounded-md font-bold shadow-md hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600 transition duration-300">
      Choose Plan
    </button>
  </div>
</div>

<style>
.shadow-xl {
  box-shadow: 10px 10px 20px #babecc, -10px -10px 20px #ffffff;
}
.dark .shadow-xl-dark {
  box-shadow: 10px 10px 20px #718096, -10px -10px 20px #4a5568;
}
</style>

Related Components

Price Display Component

A minimalist/flat design price display component for dashboard use, featuring responsive design and dark mode support.

Open

Price Display Component

A complex, responsive Price Display Component for a dashboard, with dark theme support, using Tailwind CSS in a grayscale, minimalist flat design.

Open

Price Display Component

A Neumorphism-styled price display component with a complementary color scheme (soft orange and light blue), moderate complexity for e-commerce. It features a responsive design with dark theme support. The component displays a product image, title, and price with an 'Add to Cart' button. Dark mode uses desaturated complementary colors.

Open