Skip to content
R

react-currency-flags

React styled-component for currency flags

by joechangFree

#1150in UI Libraries
0In stores

Description

react-currency-flags is a React library of currency flag components, built with styled-components. It uses flag images from the transferwise…

Highlights

  • Currency flags as React components
  • Lookup by ISO 4217 currency code
  • Predefined sizes or custom width and height
  • Built with styled-components
  • Install with Yarn or npm

Ratings & Reviews

No ratings yet

Be the first to rate react-currency-flags.

People also visit

R

react-flags

Flags of the world

UI Libraries
Launch
R

react-flagpack

Gorgeous flag components for your React project

UI Libraries
Launch
R

react-circle-flags

A React component with a collection of 300+ minimal circular SVG country flags

UI Libraries
Launch
R

react-currency-format

React component to format currency in an input or as a text

UI Libraries
Launch
R

react-flag-kit

FlagKit for React

UI Libraries
Launch
R

react-flags-select

react-flags-select React component

UI Libraries
Launch

react-currency-flags FAQ

What is react-currency-flags?

A React library of currency flag components, built with styled-components, that you select by currency code.

How do I pick a flag?

Pass the currency prop as a three-letter ISO 4217 code.

What sizes can I use?

Use one of the size values sm, md, lg or xl, or set width or height. Size takes precedence if you set several.

Why images instead of SVG?

The README says some flags, such as Mexico's, are very complicated, so SVG files would be very large.

Does it make my bundle large?

The README says the images are base64, so bundle size can grow. It suggests hosting the images on your own CDN.

What are the best react-currency-flags alternatives?

Popular alternatives to react-currency-flags include react-flags, react-flagpack and react-circle-flags. See all react-currency-flags alternatives

Developer Stuff

Badges