Vaibhav Kumar Singh

Pricing Trial Modal

Pricing

About

A sophisticated pricing trial modal component with a dark theme inspired by Riverside's interface. The component features a split layout with pricing plans on the left (including radio button selection, badges, and billing details) and a timeline showing the trial progression on the right. It's fully customizable through props and includes smooth animations and hover effects.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pricing Trial Modal to your project and fits it to your theme.

Code

How Pricing Trial Modal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useState } from "react"
import { PricingTrialModal } from "@/components/ui/pricing-trial-modal"
import { Button } from "@/components/ui/button"

export default function PricingTrialModalDemo() {
  const [isOpen, setIsOpen] = useState(false)

  return (
    <div className="flex min-h-screen items-center justify-center bg-zinc-950 p-8">
      <Button
        onClick={() => setIsOpen(true)}
        className="h-12 rounded-xl bg-lime-400 px-8 text-base font-semibold text-zinc-950 hover:bg-lime-500"
      >
        Open Pricing Modal
      </Button>

      <PricingTrialModal
        isOpen={isOpen}
        onClose={() => setIsOpen(false)}
        onStartTrial={(plan) => {
          console.log("Starting trial with plan:", plan)
          setIsOpen(false)
        }}
      />
    </div>
  )
}

Dependencies

More by Vaibhav Kumar Singh

View all
  • Stagger Testimonials

    Stagger Testimonials

    2.1K
  • Event Manager

    Event Manager

    1.6K
  • Expanding Cards

    Expanding Cards

    1.4K
  • FAQ tabs

    FAQ tabs

    1.2K
  • Shuffle Grid

    Shuffle Grid

    1.1K
  • Flip Links

    Flip Links

    1K
  • Category List

    Category List

    821
  • Color Change Card

    Color Change Card

    768

More in Pricing

View all
  • Pricing Section

    Pricing Section

    606
  • pricing section

    pricing section

    166
  • Pricing Section

    Pricing Section

    181
  • Pricing Card

    Pricing Card

    372
  • RuixenPricing05

    RuixenPricing05

    103
  • Pricing Cards

    Pricing Cards

    17
  • Boxly Pricing-1

    Boxly Pricing-1

    90
  • Colorful-Pricing

    Colorful-Pricing

    86