New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-ico-flags

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-ico-flags

Flags Icons for React Native

latest
Source
npmnpm
Version
7.0.1
Version published
Weekly downloads
530
-1.3%
Maintainers
1
Weekly downloads
 
Created
Source

Flags Icons for React Native

react-native-ico-flags

259 Vector Icons for React Native

senegal suriname australia

List of icons

  • List of Flags Icons

Usage

import Icon from 'react-native-ico-flags';


// Inside some view component
render() {
    return (
        <>
          <Icon name="senegal" />
          <Icon name="suriname" height="40" width="40" />
          <Icon name="australia" color="red" />
          <Icon name="australia" colors={{ "#000000": "#FFFFFF" }} />
          <Icon name="suriname" badge="10" />
          <Icon name="suriname" badge={{value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'}}/>
          <Icon name="senegal" background="circle" />
          <Icon name="senegal" background={{ type: "button", color: 'green' }} />
        </>
    );
}

Installation

yarn

yarn add react-native-ico-flags react-native-svg

npm

npm install --save react-native-ico-flags react-native-svg
react-native link react-native-svg

react-native-svg is a peer dependency. Install a current version in the app so the package uses the app-level native module instead of pulling in an older nested copy.

pod install (for iOS)

cd ios && pod install && cd ..

API

<Icon name [color width height background badge ...rest] />

Returns a SvgXml icon by name and group.

nameoptionaldefault valuedescriptionexamples
namenoname of icon"senegal"
coloryesline color, css style"#00ff00", "#0f0", "green"
colorsyesreplace colors{"#FFFFFF": "#000000", "#f00": "#00f"} // white to black, red to blue
widthyes20width of the icon40
heightyes20height of the icon40
backgroundyesbackground type"circle"
backgroundyesbackground object{type: "circle", color: 'yellow'}
badgeyesbadge string"10"
badgeyesbadge object{value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'}
...restyesother propsstyle={{backgroundColor: "#00f"}}

Icons Made by

Dave Gandy

Created by

Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua

Keywords

React

FAQs

Package last updated on 26 Mar 2026

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