# react-country-flag > React component for emoji/svg country flags. [](https://www.npmjs.com/package/react-country-flag) [](https://standardjs.com) ## Install ```bash npm install --save react-country-flag ``` ## BREAKING CHANGES v3.x NONE only Typescript Types were introduced, enjoy! v2.x has breaking changes - `code` is now `countryCode` - `title` and `aria-label` are not defined any more, it is up to the developer to pass these in - `styleProps` is now `style` ## Usage All props are passed onto the element, everything can be overwritten. ```jsx import React from "react" import ReactCountryFlag from "react-country-flag" function ExampleComponent { return (