Skip to content
Currency switch, light
Light
Currency switch, dark
Dark

Every state

  • Currency switch, default, light
    Currency switch, default, dark

    default

  • Currency switch, focus, light
    Currency switch, focus, dark

    focus

  • Currency switch, chf, light
    Currency switch, chf, dark

    chf

  • Currency switch, sek, light
    Currency switch, sek, dark

    sek

  • Currency switch, cents, light
    Currency switch, cents, dark

    cents

Props

PropTypeDefaultWhat it does
amountsRecord<string, number>{ EUR: 49, GBP: 42, USD: 54, CHF: 47, SEK: 549 }The price in each currency, keyed by ISO code
currencystringEURThe currency that shows first
localestringen-GBLocale for Intl.NumberFormat
localesRecord<string, string>–Optional locale per currency
periodstringmonthWhat the price pays for, read after per
notestring–One line under the price
onCurrencyChange(currency: string) => void–Called when the buyer picks another currency
classNamestring–Extra classes on the wrapper

More prices

All 14
price-03 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans