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

raster-react-native

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raster-react-native

Retro pixel perfect icons with a charming aesthetic for your needs.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Retro pixel perfect icons with a charming aesthetic for your needs.

Each icon can be imported as a React component, which renders an inline SVG element. This way, only the icons that are imported into your project are included in the final bundle. The rest of the icons are tree-shaken away.

Example

Additional props can be passed to adjust the icon:

import { HeartIcon } from 'raster-react-native';

const MyComponent = () => {
	return (
		<HeartIcon
			fill='#f54'
			size={83}
			radius={4}
			strokeWidth={1}
			stroke='#ffffff'
			{...props} // svg props (x, y, strokeDasharray ...)
		/>
	);
};

export default MyComponent;

Props

nametypedefault
sizenumber24
fillstringcurrentColor
strokeWidthnumber2
radiusnumber1

Keywords

Pixel

FAQs

Package last updated on 22 Nov 2025

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