New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

quick-gauge

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-gauge

quick gauge is a very simple gauge without the fuss. An immediate solution for immediate needs.

  • 0.1.18
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

quick-gauge

A very simple gauge without the fuss. An immediate solution for immediate needs.

Install

npm install quick-gauge

Demo

https://codesandbox.io/s/guage-q7bghr?file=/src/App.js

Available Parameters

ParamDescriptionuseage
meterColorDefine a colour for the active part of the gauge.meterColor ="#0113B3"
backgroundColorDefine a colour for the non-active background of the gauge.backgroundColor ="#6B7AFF"
innerColorThis is the colour on the inner mask area of the gauge. You can change default white to another colour.innerColor ="red"
value ** Required. This sets the meter value set as a percentage (ideally a number between 1 - 100)value="23"
sizeCustom size override for gauge. A higher number decreases the gauge size whilst lower number increase size.size="12"
suffixOptional addition for value, sits to the left of the output value.suffix="%"

Getting Started

import Index from "./guage";

export default function App() {
    return (
        <>
            <Guage
                value="33"
                size=6
            />
        </>
    );
}

Basic

<Guage
    value="33"
/>

Advanced

<Guage
    meterColor="#0113B3"
    backgroundColor="#6B7AFF"
    innerColor="#fff"
    value="46"
    size=12
    suffix="%"
/>

Keywords

FAQs

Package last updated on 13 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc