Skip to main content

Flag component

Flag component uses ISO 3166 two-letter code to render corresponding country symbol. Component also supports size prop which allows accepts number in pixels.

Demo

Result
Loading...
Live Editor
//import {Flag} from 'koval-ui';

function Example(props) {
  return <Flag countryCode="DE" size={66} />;
}