---
title: "CurrencySelect"
description: "Searchable, with recents."
canonical: "https://lopifi.com/components/currency-select"
---

# CurrencySelect

> Searchable, with recents.

Source: https://lopifi.com/components/currency-select
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** Payments — 
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/payments

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/currency-select
```

## Specification

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.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
