
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
react-native-ico-pixel
Advanced tools
351 Vector Icons for React Native
![]()
import Icon from 'react-native-ico-pixel';
// Inside some view component
render() {
return (
<>
<Icon name="comment" />
<Icon name="border-right" height="40" width="40" />
<Icon name="checkbox-marked" color="red" />
<Icon name="checkbox-marked" colors={{ "#000000": "#FFFFFF" }} />
<Icon name="border-right" badge="10" />
<Icon name="border-right" badge={{value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'}}/>
<Icon name="comment" background="circle" />
<Icon name="comment" background={{ type: "button", color: 'green' }} />
</>
);
}
yarn add react-native-ico-pixel react-native-svg
npm install --save react-native-ico-pixel 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.
cd ios && pod install && cd ..
Returns a SvgXml icon by name and group.
| name | optional | default value | description | examples |
|---|---|---|---|---|
| name | no | name of icon | "comment" | |
| color | yes | line color, css style | "#00ff00", "#0f0", "green" | |
| colors | yes | replace colors | {"#FFFFFF": "#000000", "#f00": "#00f"} // white to black, red to blue | |
| width | yes | 20 | width of the icon | 40 |
| height | yes | 20 | height of the icon | 40 |
| background | yes | background type | "circle" | |
| background | yes | background object | {type: "circle", color: 'yellow'} | |
| badge | yes | badge string | "10" | |
| badge | yes | badge object | {value: 'A', fontSize: 25, radius: 22, position:'top_left', color:'orange', backgroundColor:'blue'} | |
| ...rest | yes | other props | style={{backgroundColor: "#00f"}} |
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua
FAQs
Pixel Icons for React Native
The npm package react-native-ico-pixel receives a total of 42 weekly downloads. As such, react-native-ico-pixel popularity was classified as not popular.
We found that react-native-ico-pixel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.