Comparison, table
betaYour product beside the usual way of doing things, row by row: ticks, crosses or short values, your column tinted.
Why studios switch from spreadsheets
The way most of us started invoicing, and what changes with Senbon.
| Feature | Senbon | Spreadsheets and email |
|---|---|---|
| Time to write an invoice | 1 minute | 15 minutes |
| Clients pay by card or mobile money | Yes | No |
| Reminders go out on their own | Yes | No |
| See who is late at a glance | Yes | No |
| Exports your accountant can read | Yes | With some work |
| Costs nothing to start | Yes | Yes |
Import your clients and open invoices from a spreadsheet in one step.
- Use it
- A product replacing a habit (spreadsheets, email, paper) with a few clear, honest differences.
- Avoid it
- Comparing your own plans: pricing-comparison. Naming a competitor: check the law where you sell.
Installation
It installs into components/blocks/comparison-table/, with what it uses (Button, Table) and lib/blocks.ts.
Usage
Without content, the block shows its example. Pass your own, typed by the block's schema, from a content file (here, the example with one field changed):
Compare with the way things are usually done (spreadsheets, email, paper), not with a named competitor. Each row has a value for your product and one for the other way: true (a tick), false (a cross) or a short text. Rows where you are not better are allowed, and read as honest.
Content
| Field | Type | Limits | Guidance |
|---|---|---|---|
title | string | 8–70 chars | 'Why teams switch from spreadsheets'. |
sublineoptional | string | ≤ 180 chars | |
columns | object | The two columns' headings. | |
columns.ours | string | 1–24 chars | Your product: 'Senbon'. |
columns.theirs | string | 1–32 chars | The usual way, not a competitor's brand: 'Spreadsheets and email'. |
rows | object[] | 3–12 items | What matters to the reader, honestly: rows where you lose are allowed. |
rows[].label | string | 1–60 chars | What is compared: 'Set up in a day'. |
rows[].ours | unknown | Yes, no, or a short value ('2 min'). | |
rows[].theirs | unknown | ||
labels | object | Words read by screen readers where the table shows signs. | |
labels.feature | string | 1–24 chars | Heads the first column, for screen readers: 'Feature'. |
labels.yes | string | 1–16 chars | Read for a tick: 'Yes'. |
labels.no | string | 1–16 chars | Read for a cross: 'No'. |
ctaoptional | object | ||
cta.label | string | 1–32 chars | A verb first, two to four words: 'Start free', 'Book a table'. |
cta.href | string | A path ('/pricing'), an anchor ('#menu'), or a full URL. | |
noteoptional | string | ≤ 140 chars |
Props
| Prop | Notes |
|---|---|
content | ComparisonTableContent; the example when left out |
id | the section's id, for anchor links; "comparison" by default |
headingLevel | 1, 2 or 3: the heading's tag; 2 by default |
className | on the <section>, for spacing |
Accessibility
- A real table: the two columns are column headers, each row's label a row header.
- Ticks and crosses are read as
labels.yesandlabels.no.