# react-svg-gauge-fork-custom

> Original author Tim de Koning. Justgage inspired .svg gauge for React. This is customized version of react-svg-gauge. I added gradient color fill and value label adjustment.

Latest version **1.0.3** (published 2017-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-svg-gauge-fork-custom
pnpm add react-svg-gauge-fork-custom
yarn add react-svg-gauge-fork-custom
bun add react-svg-gauge-fork-custom
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-03-17 |
| First published | 2016-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Haider Mahmood |
| Maintainers | haidermahmood |
| Keywords | react-component, react, svg, gauge |

## Links

- npm: https://www.npmjs.com/package/react-svg-gauge-fork-custom
- Repository: https://github.com/haidermahmood/react-svg-gauge
- Homepage: https://github.com/haidermahmood/react-svg-gauge#readme
- Issues: https://github.com/haidermahmood/react-svg-gauge/issues
- npm.io page: https://npm.io/package/react-svg-gauge-fork-custom

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-03-17
- 1.0.2 — 2016-09-06
- 1.0.1 — 2016-08-25
- 1.0.0 — 2016-08-25

## README

FORK of original React SVG Gauge(https://reggino.github.io/react-svg-gauge) by Tim de Koning https://github.com/Reggino
=====

Simple SVG Gauge component, inspired by [JustGage](http://JustGage.com)

Demo
----

![Sample Gauge](https://reggino.github.io/react-svg-gauge/example.png)

 
Sample implementation
-----

```

import React, { Component } from 'react';
import Gauge from 'react-svg-gauge';

export default class App extends Component {
	render() {
		return (
			<div>
				<Gauge value={this.state.value} width={400} height={320} label="This is my Gauge" />
			</div>
		);
	}
}


```

Options
----

- label (default: "React SVG Gauge")
- min (default: 0)
- max (default: 100)
- value (default: 40)
- width (default: : 400)
- height (default: 320)
- color (default: '#fe0400')
- backgroundColor (default: '#edebeb')
- topLabelStyle (style object)
- valueLabelStyle (style object)
- minMaxLabelStyle(style object)

Styling can be done via `Style`-properties, or by applying CSS to SVG Text elements.

---
_Source: https://npm.io/package/react-svg-gauge-fork-custom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
