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 🙏

© 2024 – Pkg Stats / Ryan Hefner

progressbar-react-native

v1.0.8

Published

Progress Bar component for React Native.

Downloads

43

Readme

React Native Progress Bar

A beautifully designed and responsive progress bar made with React Native for iOS and Android mobile and Tablet components.

Demo

Try it out here: https://codesandbox.io/s/snowy-wood-yjzovs?file=/src/App.js

Use Cases

You can use this component for multi-step forms, authentication steps, or as a simple loading component.

Getting Started

  • Install the component in your react native app:
npm install progressbar-react-native --save
  • Import:
import ProgressBar from 'progressbar-react-native';
  • Use:
<ProgressBar stepCount={3} currStep={2} colorScheme="dark" />

Properties (Props)

  • stepCount (Integer): This property indicates the total number of steps in the progress bar.

  • currStep (Integer): This property specifies the current step of the progress bar that will be filled with color.

  • colorScheme ('light' | 'dark'): This property sets the color scheme of the progressbar to either light or dark. To get the device's default color scheme, you can use the useColorScheme hook (https://reactnative.dev/docs/usecolorscheme).

Example usage:

import { StatusBar } from 'expo-status-bar';
import { SafeAreaView, StyleSheet, View, Text } from 'react-native';
import ProgressBar from 'progressbar-react-native';

export default function App() {
  return (
    <SafeAreaView style={{ backgroundColor: '#000', flex: 1, alignItems: 'center' }}>
      <View style={{ padding: 10 }}>
        <ProgressBar stepCount={3} currStep={2} colorScheme="dark" />
      </View>
      <View style={styles.container}>
        <Text style={{ fontSize: 20, color: '#fff' }}>
          Step 2
        </Text>
      </View>

      <View style={[styles.container, { backgroundColor: '#28282B', padding: 10 }]}>
        <Text style={{ fontSize: 25, color: '#fff' }}>
          progressbar-react-native
        </Text>
      </View>
      <View style={[styles.container, { backgroundColor: '#28282B', padding: 10 }]}>
        <Text style={{ fontSize: 18, color: '#fff' }}>
          Dark Theme
        </Text>
      </View>
      <StatusBar style="light" />
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  container: {
    marginVertical: 25,
    alignItems: 'center',
    borderRadius: 10
  },
});

Contributor Details

Welcome to the Open Source project created by the Continuity Browser Team.

Continuity Browser is designed to provide you with a seamless, secure, and productive browsing experience.

You can download the app here: https://continuitybrowser.com/#download

With our app, you can easily sync all your tabs across all your devices in real-time.

Continuity Browser also prioritizes your privacy and security by providing better privacy reports and prevention measures than mainstream browsers like Google Chrome and Apple Safari.

Furthermore, our app features a built-in ChatGPT in the browser that allows you to get results with the click of a button from Google Search, making your browsing experience even more productive.

You can join our Discord Community at https://discord.gg/TwJ863WJsQ to connect with our open source community, users, developers, and provide feedback to the Continuity Browser Team.

Thank you 🎉