Currency Input

Input component for currency values

usd

$

Was this example helpful?

Usage


import { CurrencyInput } from "@medusajs/ui"
<CurrencyInput symbol="$" code="usd" />

API Reference


This component is based on the input element and supports all props of this element.

PropTypeDefault
symbolstring-
codestring-
Was this section helpful?

Examples


Base

usd

$

Was this example helpful?

Small

usd

$

Was this example helpful?