Plan cards/table with pricing and features.
Perfect for getting started
For professionals
For teams and organizations
1234567891011121314151617181920212223242526272829303132For personal projects
For professionals
import { PricingTable } from "@fragment_ui/blocks";
<PricingTable
tiers={[
{
name: "Pro",
description: "For professionals",
price: "$29",
pricePeriod: "month",
popular: true,
features: [
{ name: "Unlimited projects", included: true },
{ name: "100GB storage", included: true },
{ name: "Priority support", included: true },
],
ctaText: "Get Started",
ctaOnClick: () => handleSignup("pro"),
},
]}
/>tiers - Array of pricing tiers (required)className - Additional CSS classes (optional)name - Tier name (required)description - Tier description (optional)price - Price display (required, e.g., "$29" or "Custom")pricePeriod - Price period (optional, e.g., "month", "year")priceDescription - Additional price description (optional)features - Array of features (required)ctaText - CTA button text (required)ctaOnClick - CTA click handler (optional)ctaHref - CTA link URL (optional)popular - Mark tier as popular (optional)disabled - Disable tier (optional)name - Feature name (required)included - Whether feature is included (optional, default: true)description - Feature description (optional)1Pricing table uses semantic HTML with proper headings and structure. Cards are keyboard accessible, and CTA buttons follow button/link accessibility patterns. Compliant with WCAG 2.1.