Pricing Card

A card component to show pricing information.

Most Popular

PREMIUM

$29/mo

Best for professionals

  • All Basic features
  • Priority support
  • 10GB storage space
  • 5 user accounts
  • Advanced analytics
  • Usage

    import {  PricingCard,  PricingCardDescription,  PricingCardFeature,  PricingCardFeatures,  PricingCardFooter,  PricingCardHeader,  PricingCardHighlight,  PricingCardPrice,  PricingCardPriceAmount,  PricingCardPricePeriod,  PricingCardTitle,} from "@/app/_components/ui/pricing-card";
    <PricingCard isHighlighted={true}>  <PricingCardHighlight>Most Popular</PricingCardHighlight>  <PricingCardHeader>    <PricingCardTitle>PREMIUM</PricingCardTitle>    <PricingCardPrice>      <span className="text-3xl">$</span>      <PricingCardPriceAmount>29</PricingCardPriceAmount>      <PricingCardPricePeriod>/mo</PricingCardPricePeriod>    </PricingCardPrice>    <PricingCardDescription>Best for professionals</PricingCardDescription>  </PricingCardHeader>  <PricingCardFeatures>    <PricingCardFeature>All Basic features</PricingCardFeature>    <PricingCardFeature>Priority support</PricingCardFeature>    <PricingCardFeature>10GB storage space</PricingCardFeature>    <PricingCardFeature>5 user accounts</PricingCardFeature>    <PricingCardFeature>Advanced analytics</PricingCardFeature>  </PricingCardFeatures>  <PricingCardFooter>    <Button className="w-full">Get Premium</Button>  </PricingCardFooter></PricingCard>

    Props

    PricingCard

    NameTypeDefaultDescription
    isHighlightedbooleanfalseWhether the card is highlighted or not.

    PricingCardDescription

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardFeature

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardFeatures

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardFooter

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardHeader

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardHighlight

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardPrice

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardPriceAmount

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardPricePeriod

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.

    PricingCardTitle

    NameTypeDefaultDescription
    classNamestring-Adds a custom class to the component.