Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProSwitch a KPI between currencies or units and see the converted value and rate.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Money or measures shown in several units.
Do not use it when: Conversion needs live exchange rates.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | - | Metric name. |
base | number | - | Value in the first option's unit. |
options | {code,factor,currency?}[] | - | Units with conversion factors. |
Converted value is in a polite live region; the rate is stated as text.
The pattern ships with a test (kpi-unit-switch.test.tsx). Tests drive the real interactions and the pure helper functions.