Gathering detailed insights and metrics for @uiw/react-color-hue
Gathering detailed insights and metrics for @uiw/react-color-hue
npm install @uiw/react-color-hue
Typescript
Module System
Node Version
NPM Version
92.6
Supply Chain
85.8
Quality
86.4
Maintenance
100
Vulnerability
100
License
TypeScript (98.29%)
HTML (1.02%)
CSS (0.65%)
Less (0.04%)
Total Downloads
2,140,138
Last Day
10,734
Last Week
44,671
Last Month
190,918
Last Year
1,666,300
344 Stars
460 Commits
109 Forks
4 Watching
9 Branches
15 Contributors
Minified
Minified + Gzipped
Latest Version
2.3.4
Package Id
@uiw/react-color-hue@2.3.4
Unpacked Size
8.43 kB
Size
2.66 kB
File Count
7
NPM Version
10.8.2
Node Version
20.18.1
Publised On
11 Dec 2024
Cumulative downloads
Total Downloads
Last day
-4.3%
10,734
Compared to previous day
Last week
-18.2%
44,671
Compared to previous week
Last month
21.7%
190,918
Compared to previous month
Last year
377.1%
1,666,300
Compared to previous year
2
3
1
Hue Component is a subcomponent of @react-color
.
1npm i @uiw/react-color-hue
1import React, { useState } from 'react'; 2import Hue from '@uiw/react-color-hue'; 3 4export default function Demo() { 5 const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 }); 6 return ( 7 <Hue 8 hue={hsva.h} 9 onChange={(newHue) => { 10 setHsva({ ...hsva, ...newHue }); 11 }} 12 /> 13 ); 14}
1import React, { useState } from 'react'; 2import Hue from '@uiw/react-color-hue'; 3 4export default function Demo() { 5 return ( 6 <Hue hue={undefined} /> 7 ); 8}
1import React from 'react'; 2import { AlphaProps } from '@uiw/react-color-alpha'; 3export interface HueProps extends Omit<AlphaProps, 'hsva' | 'onChange'> { 4 onChange?: (newHue: { 5 h: number; 6 }) => void; 7 hue: number; 8} 9declare const Hue: React.ForwardRefExoticComponent<HueProps & React.RefAttributes<HTMLDivElement>>; 10export default Hue;
As always, thanks to our amazing contributors!
Made with contributors.
Licensed under the MIT License.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
packaging workflow detected
Details
Reason
8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
Reason
Found 6/28 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More