Ruixen Pro is now live.50+ premium components, templates, blocks, and lifetime updates.

Command Palette

Search for a command to run...

Docs
Pricing Cards Tooltip

Pricing Cards Tooltip

A clean two-column pricing comparison with feature tooltips and corner decorations. Inspired by ZippyStarter design.

Installation

Usage

import PricingCardsTooltip from "@/components/ruixen/pricing-cards-tooltip";
 
export default function PricingPage() {
  return <PricingCardsTooltip />;
}

Props

PropTypeDefaultDescription
tiersPricingTier[]-Array of pricing tier configurations
showCornerMarksbooleantrueWhether to show decorative corner X marks
classNamestring-Additional CSS classes for the section container

PricingTier

PropertyTypeDescription
labelstringUppercase label displayed above the price
pricestringThe price to display (e.g., "Free" or "149")
priceSuffixstringOptional suffix after price (e.g., "USD")
ctastringCall-to-action button text
ctaHrefstringLink for the CTA button
descriptionstringDescription text below the CTA
featuresPricingFeature[]Array of features with optional tooltips
highlightedbooleanWhether to use highlighted (gradient) CTA button

PricingFeature

PropertyTypeDescription
textstringThe feature text
tooltipstringOptional tooltip content for the info icon

Examples

Custom Tiers

import PricingCardsTooltip from "@/components/ruixen/pricing-cards-tooltip";
 
const customTiers = [
  {
    label: "HOBBY",
    price: "Free",
    cta: "Get Started",
    description: "For personal projects",
    features: [
      { text: "5 projects", tooltip: "Create up to 5 projects" },
      { text: "Basic analytics" },
      { text: "Community support" },
    ],
  },
  {
    label: "PRO",
    price: "29",
    priceSuffix: "/mo",
    cta: "Upgrade to Pro",
    description: "For growing teams",
    highlighted: true,
    features: [
      { text: "Unlimited projects", tooltip: "No limits on projects" },
      { text: "Advanced analytics", tooltip: "Deep insights into your data" },
      { text: "Priority support", tooltip: "24/7 dedicated support" },
      { text: "Custom integrations" },
    ],
  },
];
 
export default function CustomPricing() {
  return <PricingCardsTooltip tiers={customTiers} />;
}

Without Corner Marks

<PricingCardsTooltip showCornerMarks={false} />