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

@solar-icons/react-native

v1.0.1

Published

Solar Icons for React Native

Readme

@solar-icons/react-native

Solar Icons for React Native - A comprehensive icon library with 1246 icons in 6 styles.

Features

  • 🎨 1246 Icons across 37 categories
  • 🎭 6 Styles: Bold, BoldDuotone, Broken, LineDuotone, Linear, Outline
  • 📦 Tree-shakeable - Only bundle the icons you use
  • 🔧 TypeScript - Full type safety
  • ESM-only - Modern and optimized
  • 📱 React Native Native - iOS & Android support (no web)

Installation

npm install @solar-icons/react-native react-native-svg
# or
yarn add @solar-icons/react-native react-native-svg
# or
pnpm add @solar-icons/react-native react-native-svg

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

Usage

Import by Style

The recommended way to import icons for optimal tree-shaking:

import { Home, User, Settings } from '@solar-icons/react-native/Bold'
import { Heart, Star } from '@solar-icons/react-native/Linear'

function App() {
    return (
        <View>
            <Home size={24} color="#000" />
            <User size={32} color="#ff0000" />
            <Heart size={40} color="currentColor" />
        </View>
    )
}

Available Styles

import { IconName } from '@solar-icons/react-native/Bold'
import { IconName } from '@solar-icons/react-native/BoldDuotone'
import { IconName } from '@solar-icons/react-native/Broken'
import { IconName } from '@solar-icons/react-native/LineDuotone'
import { IconName } from '@solar-icons/react-native/Linear'
import { IconName } from '@solar-icons/react-native/Outline'

Props

All icons accept the following props:

| Prop | Type | Default | Description | | ---------- | --------- | ---------------- | ----------------------------------------- | | size | number | 24 | Icon size in pixels (width and height) | | color | string | 'currentColor' | Icon color (any valid React Native color) | | mirrored | boolean | false | Mirror the icon horizontally | | alt | string | undefined | Accessibility label |

Plus all props from react-native-svg's SvgProps (except width and height).

Examples

Basic Usage

import { Home } from '@solar-icons/react-native/Bold'

;<Home /> // 24x24, currentColor

Custom Size and Color

import { User } from '@solar-icons/react-native/Linear'

;<User size={48} color="#ff0000" />

Color Inheritance

import { Heart } from '@solar-icons/react-native/Bold'

;<View style={{ color: '#00ff00' }}>
    <Heart /> // Will be green
</View>

Mirrored Icon

import { ArrowRight } from '@solar-icons/react-native/Linear'

;<ArrowRight mirrored size={32} />

With Additional SVG Props

import { Star } from '@solar-icons/react-native/Bold'

;<Star size={40} color="#ffd700" opacity={0.8} style={{ marginTop: 10 }} />

Icon Categories

  • Arrows - Directional arrows and navigation
  • Arrows Action - Action-related arrows (undo, redo, forward, reply)
  • Astronomy - Space and celestial objects
  • Building - Architecture and structures
  • Business - Business and finance
  • Call - Phone and communication
  • Devices - Electronics and gadgets
  • Faces - Emotions and expressions
  • Files - Documents and file types
  • Folders - Folder management
  • Food - Food and beverages
  • Hands - Hand gestures
  • Home - Home and furniture
  • IT - Technology and programming
  • Like - Reactions and feedback
  • List - Lists and organization
  • Map - Location and navigation
  • Medicine - Healthcare and medical
  • Messages - Messaging and chat
  • Money - Currency and payments
  • Nature - Plants and environment
  • Notes - Note-taking and writing
  • Notifications - Alerts and notifications
  • Parts - Components and parts
  • School - Education and learning
  • Search - Search and discovery
  • Security - Security and privacy
  • Settings - Configuration and preferences
  • Shopping - E-commerce and retail
  • Sports - Sports and fitness
  • Text Formatting - Text editing tools
  • Time - Time and calendar
  • Tools - Utilities and tools
  • UI - User interface elements
  • Users - People and profiles
  • Video - Video and media
  • Weather - Weather conditions

TypeScript

Full TypeScript support with proper types:

import type { IconProps } from '@solar-icons/react-native'
import { Home } from '@solar-icons/react-native/Bold'

const MyIcon: React.FC<IconProps> = props => {
    return <Home {...props} />
}

Requirements

  • React Native >= 0.72.0
  • React >= 16.8
  • react-native-svg >= 13.0.0

License

MIT © Saoudi Hakim

Related Packages

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Support