CurrencySelect
Searchable, with recents.
npx shadcn add @lopifi/currency-selectExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Searchable by code, name, and symbol. Recents pinned at the top. Flag optional, code always. Virtualized (180+ currencies) — fixed-height rows windowed by hooks/use-option-keys, with the combobox + listbox pattern. Keyboard typeahead: typing eu selects EUR.
More in Payments
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section CurrencySelect renders in, the calculators behind its figures, and the ledger payloads that feed it.
- CurrencySelect, runningThe payments showcase — live, with theme, density, grayscale and reduced-motion switches.
- PaymentsPayments — specs for 14 React components: AmountInput, CurrencySelect, PayeeSelect, PaymentForm and 10 more.
- Currency decimal placesHow many decimals each ISO 4217 code is stored at, and where Intl disagrees.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Payments changes
Your copy doesn’t update itself when we fix something here.
- One email when a Payments component needs a migration
- Nothing when nothing changes
Or install it now