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 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-turbo-meter

v0.2.1

Published

A customizable and lightweight speedometer (gauge) component for React Native, built with TypeScript and SVG. Perfect for fintech apps, dashboards, and performance tracking

Readme

React Native Turbo Meter

npm version npm downloads

A highly customizable and easy-to-use speedometer component for React Native. Perfect for integrating stylish speedometers or gauges into your app.

Features

  • Simple, customizable speedometer display.
  • Supports dynamic value changes.
  • Customizable ring color, needle color, size, and more.
  • Easy integration with your React Native projects.

Installation

To install this package, run:

npm install react-native-turbo-meter --save

or if you're using yarn:

yarn add react-native-turbo-meter

Usage

Basic Usage

You can easily add the Turbo Meter component to your project like this:

import React from 'react';
import { View, Text } from 'react-native';
import TurboMeter from 'react-native-turbo-meter';

const App = () => {
  return (
    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
      <Text>Turbo Meter Demo</Text>
      <TurboMeter value={75} />
    </View>
  );
};

export default App;

Customization

The TurboMeter component is highly customizable to match the needs of your design. You can adjust the following props to control its appearance:

Props

| Prop | Type | Default | Description | |------------------|---------------------|-------------|----------------------------------------------| | value | number | 0 | The current value of the speedometer (0 to 100). | | max | number | 100 | Maximum value for the speedometer. | | size | number | 200 | The size of the speedometer. | | width | number | 15 | Width of the speedometer ring. | | ringColor | string | #00ff00 | Color of the speedometer ring. | | needleColor | string | #ff0000 | Color of the needle. | | backgroundColor| string | #ffffff | Background color of the speedometer. | | fontSize | number | 30 | Font size for the label in the center. |

Example of Customization

<TurboMeter
  value={60}
  max={120}
  size={250}
  width={20}
  ringColor="#3498db"
  needleColor="#e74c3c"
  backgroundColor="#ecf0f1"
  fontSize={40}
/>

API

value

  • Type: number
  • Default: 0
  • Description: Sets the current value of the speedometer (range 0 to max).

max

  • Type: number
  • Default: 100
  • Description: The maximum value of the speedometer, used to scale the needle.

size

  • Type: number
  • Default: 200
  • Description: Controls the overall size of the speedometer (in pixels).

width

  • Type: number
  • Default: 15
  • Description: The width of the speedometer ring.

ringColor

  • Type: string
  • Default: #00ff00
  • Description: The color of the outer ring (use any valid CSS color).

needleColor

  • Type: string
  • Default: #ff0000
  • Description: The color of the needle.

backgroundColor

  • Type: string
  • Default: #ffffff
  • Description: The background color of the speedometer area.

fontSize

  • Type: number
  • Default: 30
  • Description: The font size of the center value displayed.

Contributing

We welcome contributions to react-native-turbo-meter! If you'd like to help improve this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a Pull Request with a detailed description of your changes.

License

MIT License. See the LICENSE file for more details.

Acknowledgments

  • Special thanks to the creators and contributors of react-native-turbo-meter for making this project possible.
  • Inspired by other great React Native UI components.