EXAMPLE SCREENS
Billing
Plan recap, quota meters with one deliberately over its allowance, a pricing table with current and featured plans, and receipts.
PREVIEW
SOURCE
import {
StatCard, Meter, PricingTable, PlanCard, FilterTabs, DataTable, FormGrid,
} from '@objectifthunes/whiteboard'
<FormGrid cols={3}>
<StatCard title="Plan" pill="active" pillTone="success" value="Team" sub="Renews 1 September" />
<StatCard title="Next payment" value="€29" sub="Visa ending 4242" />
</FormGrid>
{/* Over its allowance on purpose: a Meter past 100% fills and turns danger. */}
<Meter
label="API calls"
value={112_400}
max={100_000}
format={(v, m) => `${v.toLocaleString()} of ${m.toLocaleString()}`}
footnote="Over the allowance. Billed at €0.20 per 1,000."
/>
<PricingTable columns={3} toggle={<FilterTabs value={period} onChange={setPeriod} options={PERIODS} />}>
<PlanCard name="Team" price="€29" period="/ month" current action={…} features={…} />
<PlanCard name="Scale" price="€79" period="/ month" featured badge="Best for you" … />
</PricingTable>NOTES
StatCard for the recap, Meter for the quotas, and PricingTable with PlanCard for the plans.
The API calls meter is deliberately over its allowance so you can see a Meter past 100%: it fills and turns danger rather than clipping, because overage is exactly when the number matters. Scale is marked featured and Team current — note that current wins the emphasis.