Skip to content

Ledger

Facts listed with rules, not cards: what is included, what it costs, where it runs.

import { Ledger } from '@sypnia/ui/react'

On this page
  1. A plan
  2. When to use it
  3. For everyone
  4. Props

A plan

Price
FreeOpen source, MIT
Projects
As many as you want
Data kept
30 daysLonger on Cloud
Where it runs
Your servers
Code
import { Ledger } from '@sypnia/ui/react';

export default function Plan() {
  return (
    <Ledger label="What is included" items={[
      { label: 'Price', value: 'Free', note: 'Open source, MIT' },
      { label: 'Projects', value: 'As many as you want' },
      { label: 'Data kept', value: '30 days', note: 'Longer on Cloud' },
      { label: 'Where it runs', value: 'Your servers' },
    ]} />
  );
}

When to use it

Use it when

  • Pricing, the facts of a plan or of a product.

Do not use it when

  • Data of an app: that is KeyValue.

For everyone

  • A description list: each fact with its name.

Props

LedgerTypeDefault
itemsrequired { label: string; value: ReactNode; note?: ReactNode; }[]
columns 1 | 2 | 3 2
label string
  1. A plan
  2. When to use it
  3. For everyone
  4. Props

    Search pages, sections and terms