Skip to content
tellerline

React components for back-office apps

The parts of a banking screen that are easy to get wrong.

Tellerline is a small set of accessible components for money, audit trails, approvals and history. Amounts stay exact decimal strings from keystroke to API. Install them with the shadcn CLI and the code is yours to change.

Components

Groups digits as you type, keeps the caret where it was, follows the currency's decimals and returns a string.

Try 2.5k, paste ($1,234.50) or type a third decimal.

value
"1234.5"
minor units
123450n
formatted
$1,234.50
npx shadcn@latest add https://tellerline-ui.vercel.app/r/money-input.json

Audit Timeline

server or client

Who changed what and when, grouped by day in the reader's time zone, with every edit shown as before and after.

Tuesday, March 3, 2026

  1. Daniel Okafor (Approver) Approved and released

    Status
    from Pending approvalto Released
  2. Mina Rahimi (Payments clerk) Updated the payment

    Reference
    from March suppliesto INV-4471
    Status
    from Changes requestedto Pending approval
    Show 4 more changes
    Value date
    from 2026-03-04to 2026-03-05
    Charges
    from OURto SHA
    Purpose code
    to SUPP
    Priority
    from Normalto Urgent

Monday, March 2, 2026

  1. Daniel Okafor (Approver) Sent back for changes

    The reference should match the invoice number.
    Status
    from Pending approvalto Changes requested
  2. Mina Rahimi (Payments clerk) Edited the amount

    Invoice 4471 had a credit note attached.
    Amount
    from €18,250.00to €17,890.40
  3. Mina Rahimi (Payments clerk) Created the payment

    Beneficiary
    to Northwind Supplies GmbH
    Amount
    to €18,250.00
npx shadcn@latest add https://tellerline-ui.vercel.app/r/audit-timeline.json

One person makes a change and someone else approves it. Each viewer gets only the actions the policy allows, and a plain reason when they get none. The rules are plain functions you run again on the server.

npx shadcn@latest add https://tellerline-ui.vercel.app/r/maker-checker.json

Payment to Northwind Supplies GmbH

€17,890.40 · Invoice INV-4471 · value date 5 March

Requested by Mina Rahimi ·

Pending approval

0 of 2 approvals

Amount
from €18,250.00to €17,890.40
Reference
from March suppliesto INV-4471

Payments of €10,000.00 or more need two approvers. Approve as Daniel, then switch to Mina or Omid to see why they can't, and to Sara to finish it.

As-of table

server or client

What did this account look like last Tuesday? Records as they stood at any point in time, with every value that has changed since marked in place and the current one beside it.

npx shadcn@latest add https://tellerline-ui.vercel.app/r/as-of-table.json

Showing 2 Mar 2026, 23:59. Since then: 3 values changed, 1 row added, 1 row removed.

Corporate accountsAs of
AccountDaily limitSignatoriesStatus
Northwind Supplies GmbH€50,000.00, now €75,000.002Active
Harbor & Finch LLP€20,000.002, now 3Active, now Frozen
Meridian Health Trust€120,000.003Active
Orchard Foods LtdRemoved since€12,500.001Active

Step through the week. Each day shows the accounts as they stood at midnight in London, with the latest value under anything that has changed since.

How they're built

  • No floating point

    Amounts are decimal strings and minor units are BigInt, so 0.1 + 0.2 never shows up on a statement.

  • Locale from Intl

    Separators, symbols, digits and decimal places come from the browser's own data, not a hand-kept table.

  • Tested with axe

    Every component has keyboard and screen reader tests, and an axe check runs on each one in CI.

Next up

Planned, not built yet.

  • Reconciliation workbench

    Two ledgers side by side, matched by rule or by hand, with the difference always on screen.

  • Permission-aware forms

    Fields that explain why they are read-only, instead of quietly disabling themselves.