Skip to content

PricingTable

Every plan side by side with what each includes, row by row: a table on wide screens, and on phones one plan at a time, each a card with its own list.

import { PricingTable, PricingTableSkeleton } from '@sypnia/ui/react'

On this page
  1. Plans compared
  2. In Astro
  3. Skeleton
  4. When to use it
  5. For everyone
  6. Props

Plans compared

Sypnia plans compared

Hobby

Free

To try it.

Pro

Recommended

$29per month

For a product in production.

Team

$99per month

For several teams.

Projects110Unlimited
Events a monthErrors, logs and page views50,0002 million10 million
History7 days90 days1 year
Fixes by the agentNot includedIncludedIncluded
Single sign-onNot includedNot includedIncluded

Hobby

Free

To try it.

Projects
1
Events a month
50,000
History
7 days
Fixes by the agent
Not included
Single sign-on
Not included

Pro

Recommended

$29per month

For a product in production.

Projects
10
Events a month
2 million
History
90 days
Fixes by the agent
Included
Single sign-on
Not included

Team

$99per month

For several teams.

Projects
Unlimited
Events a month
10 million
History
1 year
Fixes by the agent
Included
Single sign-on
Included
Code
import { Button, PricingTable } from '@sypnia/ui/react';

// Every plan side by side; on phones one plan at a time, each with its own list.
export default function Plans() {
  return (
    <PricingTable caption="Sypnia plans compared" plans={[
      { id: 'free', name: 'Hobby', price: 0, free: 'Free', blurb: 'To try it.', action: <Button size="sm">Start free</Button> },
      { id: 'pro', name: 'Pro', price: 29, currency: 'USD', period: 'per month', lit: true, blurb: 'For a product in production.', action: <Button size="sm" variant="primary">Start with Pro</Button> },
      { id: 'team', name: 'Team', price: 99, currency: 'USD', period: 'per month', blurb: 'For several teams.', action: <Button size="sm">Start with Team</Button> },
    ]} rows={[
      { id: 'projects', label: 'Projects', values: { free: '1', pro: '10', team: 'Unlimited' } },
      { id: 'events', label: 'Events a month', hint: 'Errors, logs and page views', values: { free: '50,000', pro: '2 million', team: '10 million' } },
      { id: 'history', label: 'History', values: { free: '7 days', pro: '90 days', team: '1 year' } },
      { id: 'fixes', label: 'Fixes by the agent', values: { free: false, pro: true, team: true } },
      { id: 'sso', label: 'Single sign-on', values: { free: false, pro: false, team: true } },
    ]} />
  );
}

In Astro

Plans compared

Pro

Recommended

$29per month

For a product in production.

Projects 110
Fixes by the agent Not includedIncluded
Projects
1
Fixes by the agent
Not included

Pro

Recommended

$29per month

For a product in production.

Projects
10
Fixes by the agent
Included
Code
---
// The Astro twin, for landing pages: each plan's button is `action: { label, href }`.
import PricingTable from '@sypnia/ui/astro/PricingTable.astro';
---
<PricingTable caption="Plans compared" plans={[
  { id: 'free', name: 'Hobby', price: 0, free: 'Free', blurb: 'To try it.', action: { label: 'Start free', href: '#free' } },
  { id: 'pro', name: 'Pro', price: 29, currency: 'USD', period: 'per month', lit: true, blurb: 'For a product in production.', action: { label: 'Start with Pro', href: '#pro' } },
]} rows={[
  { id: 'projects', label: 'Projects', values: { free: '1', pro: '10' } },
  { id: 'fixes', label: 'Fixes by the agent', values: { free: false, pro: true } },
]} />

Skeleton

Code
import { PricingTableSkeleton } from '@sypnia/ui/react';

// The plans while their prices and limits load.
export default function Skeleton() {
  return <PricingTableSkeleton plans={3} rows={4} />;
}

When to use it

Use it when

  • The pricing section of a landing page.

Do not use it when

  • Two or three plans with short lists: PlanCards in a CardGrid read faster.

For everyone

  • It is a real table with a caption, plans as column headers and limits as row headers.
  • Checks and dashes are said as «Included» and «Not included».

Props

PricingTableTypeDefault
captionrequired string
plansrequired PricingPlan[]
rowsrequired CompareRow[]
PricingTableSkeletonTypeDefault
plans number 3
rows number 5
  1. Plans compared
  2. In Astro
  3. Skeleton
  4. When to use it
  5. For everyone
  6. Props

    Search pages, sections and terms