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

react-native-gamify-ui

v1.0.1

Published

A beautiful gamification UI component library for React Native with animations, achievements, badges, streaks, and more

Readme

React Native Gamify UI

A beautiful gamification UI component library for React Native with animations, achievements, badges, streaks, leaderboards, and more.

Features

  • Components: Achievement Cards, Badges, Progress Bars, Points Counter, Streak Counter, Level Badge, Leaderboard Items
  • Animations: Pulse, Shake, Bounce, Flash, Heartbeat, FadeIn, SlideIn, ZoomIn, Spin, Flip
  • Presets: Pre-configured themes for Fitness, Learning, and E-commerce apps
  • TypeScript: Full TypeScript support with exported types

Installation

npm install react-native-gamify-ui

or

yarn add react-native-gamify-ui

Peer Dependencies

Make sure you have these installed:

npm install react-native-reanimated react-native-vector-icons

Usage

Components

import {
  AchievementCard,
  Badge,
  ProgressBar,
  PointsCounter,
  StreakCounter,
  LevelBadge,
  LeaderboardItem,
} from 'react-native-gamify-ui';

// Achievement Card
<AchievementCard
  title="First Steps"
  description="Complete your first task"
  icon="trophy"
  status="unlocked"
  progress={100}
/>

// Badge
<Badge
  name="Champion"
  icon="medal"
  variant="gold"
  size="medium"
/>

// Progress Bar
<ProgressBar
  progress={75}
  height={8}
  color="#4CAF50"
  animated
/>

// Points Counter
<PointsCounter
  points={1500}
  animated
/>

// Streak Counter
<StreakCounter
  currentStreak={7}
  longestStreak={14}
/>

// Level Badge
<LevelBadge
  level={25}
  variant="gold"
  size="large"
/>

// Leaderboard Item
<LeaderboardItem
  rank={1}
  name="Player One"
  score={10000}
  avatar="https://..."
/>

Animations

import {
  Pulse,
  Shake,
  Bounce,
  FadeIn,
  ZoomIn,
  Spin,
  usePulse,
  useShake,
} from 'react-native-gamify-ui';

// As wrapper components
<Pulse duration={500}>
  <View><Text>Pulsing content</Text></View>
</Pulse>

<FadeIn delay={200}>
  <View><Text>Fading in</Text></View>
</FadeIn>

// As hooks
const { style, start } = usePulse();

<View style={style}>
  <Text onPress={start}>Tap to pulse</Text>
</View>

Presets

import { fitnessPreset, learningPreset, ecommercePreset } from 'react-native-gamify-ui';

// Use preset configurations
const config = fitnessPreset;

Components Reference

| Component | Description | |-----------|-------------| | AchievementCard | Display achievement with progress and status | | Badge | Show earned badges with variants | | ProgressBar | Animated progress indicator | | PointsCounter | Display points with animation | | StreakCounter | Show current and longest streak | | LevelBadge | Display user level | | LeaderboardItem | Leaderboard entry component | | Icon / FontAwesome | Icon components |

Animations Reference

| Animation | Type | Description | |-----------|------|-------------| | Pulse | Effect | Scaling pulse effect | | Shake | Effect | Horizontal shake | | Bounce | Effect | Vertical bounce | | Flash | Effect | Opacity flash | | Heartbeat | Effect | Heartbeat rhythm | | FadeIn | Entrance | Fade in animation | | SlideIn | Entrance | Slide from direction | | ZoomIn | Entrance | Scale in animation | | Spin | Loading | Continuous rotation | | Flip | Transform | 3D flip effect |

License

MIT


Made with create-react-native-library