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

@flexnative/icons

v0.1.4

Published

An extensible React Native icon library that allows projects to add custom icons.

Readme

@flexnative/icons

npm version npm downloads GitHub source code Contributions welcome npm unpacked size language npm last update npm license

A flexible and animated icon component library for React Native, built with react-native-reanimated and integrated with @flexnative/icons.

Installation

npm install @flexnative/icons
# or
yarn add @flexnative/icons

This package depends on react-native-reanimated. Make sure it is installed and configured in your project.

Setup

Wrap your application (or the component tree where you intend to use icons) with the IconProvider. This allows you to map icon names to your actual icon assets (SVGs, font characters, or images).

import React from 'react';
import { IconProvider } from '@flexnative/icons';
import { View } from 'react-native';

// Define your icon mapping
const myIcons = {
  home: '🏠', // Can be strings, SVG components, etc.
  settings: '⚙️',
  heart: '❤️',
  loading: '⏳',
  alert: '⚠️',
};

export default function App() {
  return (
    <IconProvider icons={myIcons}>
      <View style={{ flex: 1 }}>
        {/* Your app content */}
      </View>
    </IconProvider>
  );
}

Usage

Basic Icon

Use the Icon component to display a static icon. It resolves styles (color, size) from the @flexnative/icons.

import { Icon } from '@flexnative/icons';

<Icon name="home" size="md" color="primary" />

Animated Icon

Use the AnimatedIcon component to display icons with built-in animations. You can switch animations using the animation prop.

import { AnimatedIcon } from '@flexnative/icons';

<AnimatedIcon 
  name="heart" 
  animation="heartbeat" 
  size="xl" 
  color="error" 
  duration={1200} 
/>

Specific Animated Components

You can also import specific animated components directly for better type safety or specific props.

import { 
  BounceIcon, 
  FadeIcon, 
  GlitchIcon, 
  HeartbeatIcon, 
  PulseIcon, 
  ShakeIcon, 
  Spinner, 
  WiggleIcon 
} from '@flexnative/icons';

<Spinner name="loading" />
<HeartbeatIcon name="heart" pulseColor="#ff0000" />
<GlitchIcon name="alert" amplitude={6} />

Available Animations

| Animation | Component | Description | |---|---|---| | bounce | BounceIcon | Scales the icon up and down continuously. | | fade | FadeIcon | Pulses the opacity of the icon. | | glitch | GlitchIcon | Randomly shifts the icon position and opacity to simulate a glitch effect. | | heartbeat | HeartbeatIcon | Mimics a cardiac rhythm (lub-dub) using scale. | | pulse | PulseIcon | Animates the backgroundColor opacity (breathing effect). | | shake | ShakeIcon | Rotates the icon back and forth quickly. | | spin | Spinner | Rotates the icon 360 degrees infinitely. | | wiggle | WiggleIcon | Rotates the icon back and forth gently. |

Props

Common props for animated icons:

  • duration (number): The duration of one animation cycle in milliseconds.
  • delay (number): Delay before the animation starts in milliseconds.
  • pulseColor (string): (HeartbeatIcon only) The color to interpolate to during the beat.
  • amplitude (number): (GlitchIcon only) The intensity of the glitch displacement.