npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

universal-react-native-icons

v1.0.1

Published

Universal React Native Icons Library

Readme

universal-react-native-icons

npm version npm downloads License React Native TypeScript

React Native icon components inspired by the React Vant design language.

All icons are implemented using react-native-svg, making them fully compatible with:

  • React Native CLI
  • Expo
  • TypeScript projects

This library provides brand icons + multi-style icons with a simple and flexible API.


✨ Features

  • ⚡ Universal <Icon /> component
  • 🎨 Multiple style variants
  • 🏷 Brand icons included
  • 🌳 Tree-shakable imports
  • 📱 React Native + Expo compatible
  • 🧠 Full TypeScript support
  • 🚀 Lightweight and fast

📦 Installation

pnpm

pnpm add universal-react-native-icons react-native-svg

yarn

yarn add universal-react-native-icons react-native-svg

npm

npm install universal-react-native-icons react-native-svg

Note: react-native-svg is a peer dependency and must be installed.


🚀 Usage

1️⃣ Universal Icon Component

The easiest way to use icons.

import { Icon } from "universal-react-native-icons";

export default function App() {
  return (
    <>
      <Icon name="ArrowLeft" size={24} />

      <Icon name="ArrowLeft" variant="regular" size={28} color="black" />

      <Icon name="Github" size={28} />
    </>
  );
}

2️⃣ Direct Icon Import (Recommended)

Best for tree-shaking and smaller bundle size.

import { ArrowLeft } from "universal-react-native-icons";

export default function App() {
  return <ArrowLeft size={28} color="black" />;
}

3️⃣ Import Icons by Style

import { Solid, Regular, Light, Thin } from "universal-react-native-icons";

export default function App() {
  return (
    <>
      <Solid.ArrowLeft size={24} />

      <Regular.ArrowLeft size={24} />

      <Light.ArrowLeft size={24} />

      <Thin.ArrowLeft size={24} />
    </>
  );
}

4️⃣ Brand Icons

Brand icons are imported directly.

import { Github, Google, Twitter } from "universal-react-native-icons";

export default function App() {
  return (
    <>
      <Github size={28} />

      <Google size={28} />

      <Twitter size={28} />
    </>
  );
}

🎨 Icon Styles

| Style | Description | | ------- | ----------------------- | | solid | Filled icons | | regular | Standard icons | | light | Thin stroke icons | | thin | Ultra thin stroke icons |

Example:

<Icon name="ArrowLeft" variant="solid" />

<Icon name="ArrowLeft" variant="regular" />

<Icon name="ArrowLeft" variant="light" />

<Icon name="ArrowLeft" variant="thin" />

⚙️ Props

Universal Icon Props

| Prop | Type | Default | Description | | ------- | ------------------------------------------- | ------------ | ----------- | | name | string | required | Icon name | | variant | "solid" \| "regular" \| "light" \| "thin" | solid | Icon style | | size | number | 24 | Icon size | | color | string | currentColor | Icon color |

Example:

<Icon name="User" variant="regular" size={32} color="red" />

Example:

import { User } from "universal-react-native-icons";

<User size={32} color="black" />;

📱 Expo Example

import React from "react";
import { View } from "react-native";
import { Icon } from "universal-react-native-icons";

export default function App() {
  return (
    <View style={{ padding: 40 }}>
      <Icon name="Home" size={28} />
      <Icon name="User" size={28} color="blue" />
      <Icon name="Github" size={28} />
    </View>
  );
}

📂 Project Structure

src
 ├ assets
 │  ├ brands
 │  ├ solid
 │  ├ regular
 │  ├ light
 │  └ thin
 │
 ├ components
 │  └ Icon.tsx
 │
 └ index.ts

🤝 Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create a new branch
  3. Submit a pull request

📄 License

MIT License © code with sorabh