Kit MarketplaceSign in with GitHub

Money and progress

Reviewed

Adds Money (an amount and a currency) and Progress (0 to 1, with a bar) to the kinds of property.

by Kit · ships with KitVersion 1.0.0Runs inside Kit, in a sandbox
Add to Kit
  1. In Kit, open Plugins, then Add another way › A code plugin’s link or file.
  2. Paste this link. Kit shows what it may do before anything changes.
A Tasks table with a Budget column in dollars, euros and rupees, and a Done column with progress bars.
A Tasks table with a Budget column in dollars, euros and rupees, and a Done column with progress bars.

Two new kinds of column, for numbers that mean something.

What you get

  • Money: an amount with its currency, like 1200.00 USD. It sorts by what it's worth in dollars, so 20 EUR sits above 20 INR.
  • Progress: a number from 0 to 1, shown as a percentage with a bar that fills.

How to use it

  1. Add the plugin, then press Add to … under Use it, or pick Money or Progress when you make a new column.
  2. Type a progress as a number: 0.6 shows as 60% with a bar.
  3. Money is written by apps and other plugins, as { "amount": 120000, "currency": "USD" } (the amount in cents). Payments in, for one.

Good to know

  • Values are kept as plain data on each row. Remove the plugin and the column still shows what it holds.
  • The drawing runs in each reader's browser, in a sandbox: it sees only the value it draws.
Its code16 lines, exactly as Kit runs it · fingerprint 31a350a18d03
// Values like { "amount": 4900, "currency": "EUR" } (cents), written by another plugin or an app.
const RATES = { EUR: 1.08, GBP: 1.27, USD: 1, INR: 0.012 };
plugin.cells = {
  money: {
    show: (v) => {
      if (!v || typeof v.amount !== 'number') return { text: String(v ?? '') };
      return { text: (v.amount / 100).toFixed(2) + ' ' + String(v.currency || '') };
    },
    // Sorted by what it is worth in dollars, so 20 EUR sits above 20 INR.
    sort: (v) => (v && typeof v.amount === 'number' ? (v.amount / 100) * (RATES[v.currency] || 1) : null),
  },
  progress: {
    show: (v) => ({ text: Math.round(Number(v) * 100) + '%', bar: Number(v) }),
  },
};

Versions

  1. 1.0.0Listed nowNov 19, 2026