felipemenezes098

The Dialog

Pricing 1

About

Here is Dialog components

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

Code

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

Usage.tsx

import { Button } from '@/components/ui/button'
import {
  Dialog,
  DialogClose,
  DialogContent,
  DialogDescription,
  DialogFooter,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from '@/components/ui/dialog'

export default function Dialog18() {
  return (
    <Dialog>
      <DialogTrigger asChild>
        <Button variant="outline">Upgrade plan</Button>
      </DialogTrigger>
      <DialogContent className="sm:max-w-sm">
        <DialogHeader>
          <DialogTitle>Upgrade to Pro</DialogTitle>
          <DialogDescription>
            Unlock unlimited projects, priority support, and advanced analytics.
          </DialogDescription>
        </DialogHeader>
        <div className="bg-muted/40 flex flex-col gap-1 rounded-lg border px-4 py-3">
          <div className="flex items-baseline gap-1">
            <span className="text-2xl font-semibold">$24</span>
            <span className="text-muted-foreground text-sm">/ month</span>
          </div>
          <p className="text-muted-foreground text-xs">
            Billed annually. Cancel anytime.
          </p>
        </div>
        <DialogFooter className="flex-col gap-2 sm:flex-col">
          <Button className="w-full">Upgrade now</Button>
          <DialogClose asChild>
            <Button variant="outline" className="w-full">
              Maybe later
            </Button>
          </DialogClose>
        </DialogFooter>
      </DialogContent>
    </Dialog>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    976
  • Editorial Collage Hero

    Editorial Collage Hero

    460
  • Split Hero With Image Cards

    Split Hero With Image Cards

    417
  • Editorial Image Hero

    Editorial Image Hero

    394
  • Scroll 01

    Scroll 01

    367
  • Real Estate Search Hero

    Real Estate Search Hero

    198
  • Editorial Hero

    Editorial Hero

    180
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    128

More in Pricing

View all
  • Pricing Section

    Pricing Section

    610
  • Pricing Card

    Pricing Card

    542
  • Pricing Section

    Pricing Section

    183
  • RuixenPricing05

    RuixenPricing05

    103
  • Single Pricing Card

    Single Pricing Card

    799
  • Pricing Card With Features

    Pricing Card With Features

    176
  • Pricing Cards

    Pricing Cards

    17
  • Boxly Pricing-1

    Boxly Pricing-1

    91