Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

country-flag-icons

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-flag-icons

Vector (*.svg) country flag icons in 3x2 aspect ratio.

  • 1.5.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
818K
increased by12.72%
Maintainers
1
Weekly downloads
 
Created

What is country-flag-icons?

The country-flag-icons npm package provides a collection of SVG country flags that can be easily integrated into web applications. It allows developers to display country flags by using simple class names.

What are country-flag-icons's main functionalities?

Display a country flag

This feature allows you to display the flag of a specific country by using a class name. In this example, the flag of the United States is displayed.

<i class='flag-icon flag-icon-us'></i>

Change flag size

This feature allows you to change the size and shape of the flag. In this example, the flag of the United States is displayed in a squared format.

<i class='flag-icon flag-icon-us flag-icon-squared'></i>

Use with different frameworks

The package can be used with various front-end frameworks like React, Angular, and Vue. The code sample shows how to use it in a plain HTML setup, but it can be easily adapted for other frameworks.

<i class='flag-icon flag-icon-us'></i>

Other packages similar to country-flag-icons

Keywords

FAQs

Package last updated on 09 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc