New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-flag-kit

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flag-kit

FlagKit for React

  • 0.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38K
increased by1.08%
Maintainers
1
Weekly downloads
 
Created
Source

FlagKit for React

build status npm version npm downloads

Installation

With npm

npm i react-flag-kit --save --save-exact

With yarn

yarn add react-flag-kit -E

Usage

If you want to bundle your app with flag icons:

import FlagIcon from 'react-flag-kit/lib/FlagIcon';

export default () => <FlagIcon code="WW" size={48} />

If you want to use flag icons from CDN:

import FlagIcon from 'react-flag-kit/lib/CDNFlagIcon.js';

export default () => <FlagIcon code="WW" size={48} />

More advanced examples you can find in storybook.

Reference

The list of available flags you can find in FlagKit repo.

Thanks

FlagKit for awesome collection of flag icons.

UNPKG for free and fast CDN.

Licence

MIT

FAQs

Package last updated on 17 Apr 2017

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