polypar-flag-icon

Web component for SVG icons of country flags based on LitElement

Usage no npm install needed!

<script type="module">
  import polyparFlagIcon from 'https://cdn.skypack.dev/polypar-flag-icon';
</script>

README

polypar-flag-icon

Web component for SVG icons of country flags based on LitElement

<polypar-flag-icon flag="kingdom"></polypar-flag-icon>

Flags available

The flag property accepts the countries listed bellow:

  • france
  • italy
  • kingdom

Styling

The following custom properties and mixins are available for styling:

Custom property Description Default
--polypar-flag-icon-size icon size (width = height) 24px