Ir al contenido

PricingTable

Todos los planes lado a lado con lo que incluye cada uno, fila por fila: una tabla en pantallas anchas y, en celulares, un plan a la vez, cada uno una tarjeta con su lista.

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

En esta página
  1. Planes comparados
  2. En Astro
  3. Skeleton
  4. Cuándo usarlo
  5. Para todos
  6. Props

Planes comparados

Sypnia plans compared

Hobby

Free

To try it.

Pro

Recomendado

29 US$per month

For a product in production.

Team

99 US$per month

For several teams.

Projects110Unlimited
Events a monthErrors, logs and page views50,0002 million10 million
History7 days90 days1 year
Fixes by the agentNo incluidoIncluidoIncluido
Single sign-onNo incluidoNo incluidoIncluido

Hobby

Free

To try it.

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

Pro

Recomendado

29 US$per month

For a product in production.

Projects
10
Events a month
2 million
History
90 days
Fixes by the agent
Incluido
Single sign-on
No incluido

Team

99 US$per month

For several teams.

Projects
Unlimited
Events a month
10 million
History
1 year
Fixes by the agent
Incluido
Single sign-on
Incluido
Código
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 } },
    ]} />
  );
}

En Astro

Plans compared

Pro

Recomendado

29 US$per month

For a product in production.

Projects 110
Fixes by the agent No incluidoIncluido
Projects
1
Fixes by the agent
No incluido

Pro

Recomendado

29 US$per month

For a product in production.

Projects
10
Fixes by the agent
Incluido
Código
---
// 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

Código
import { PricingTableSkeleton } from '@sypnia/ui/react';

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

Cuándo usarlo

Úsalo cuando

  • La sección de precios de una landing.

No lo uses cuando

  • Dos o tres planes con listas cortas: PlanCards en una CardGrid se leen más rápido.

Para todos

  • Es una tabla de verdad con título, los planes como encabezados de columna y los límites como encabezados de fila.
  • Los chulos y las rayas se dicen como «Incluido» y «No incluido».

Props

PricingTableTipoPor defecto
captionobligatorio string
plansobligatorio PricingPlan[]
rowsobligatorio CompareRow[]
PricingTableSkeletonTipoPor defecto
plans number 3
rows number 5
  1. Planes comparados
  2. En Astro
  3. Skeleton
  4. Cuándo usarlo
  5. Para todos
  6. Props

    Busca páginas, secciones y términos