sigilUI

Pricing Table

Compare plan prices and included features.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { PricingTable } from "@sigil-ui/components";

Usage

<PricingTable
    columns={[
      { name: "Free", price: "$0" },
      { name: "Pro", price: "$19", period: "mo", highlighted: true, badge: "Popular" },
      { name: "Enterprise", price: "Custom", period: "mo" },
    ]}
    features={[
      { name: "Users", values: { Free: "1", Pro: "10", Enterprise: "Unlimited" } },
      { name: "Storage", values: { Free: "1 GB", Pro: "100 GB", Enterprise: "Unlimited" } },
      { name: "API Access", values: { Free: false, Pro: true, Enterprise: true } },
      { name: "SSO", values: { Free: false, Pro: false, Enterprise: true } },
    ]}
  />

Props

PropTypeDefaultDescription
columnsPricingColumn[]——
featuresPricingFeature[]——
categories{ label: string; startIndex: number—Category headers group features visually.

Token integration

CSS VariablePurpose
--s-radius-cardRadius card
--s-border-styleBorder style
--s-borderBorder
--s-shadow-smShadow sm
--s-text-mutedText muted
--s-primary-mutedPrimary muted
--s-radius-fullRadius full
--s-primaryPrimary
--s-primary-contrastPrimary contrast
--s-textText
--s-font-monoFont mono
--s-surface-elevatedSurface elevated