Gathering detailed insights and metrics for @uiw/react-color-circle
Gathering detailed insights and metrics for @uiw/react-color-circle
Gathering detailed insights and metrics for @uiw/react-color-circle
Gathering detailed insights and metrics for @uiw/react-color-circle
🎨 Is a tiny color picker widget component for React apps.
npm install @uiw/react-color-circle
Typescript
Module System
Node Version
NPM Version
TypeScript (98.31%)
HTML (1%)
CSS (0.64%)
Less (0.04%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
421 Stars
497 Commits
117 Forks
4 Watchers
9 Branches
19 Contributors
Updated on Jul 11, 2025
Latest Version
2.7.1
Package Id
@uiw/react-color-circle@2.7.1
Unpacked Size
17.44 kB
Size
4.22 kB
File Count
12
NPM Version
10.8.2
Node Version
20.19.3
Published on
Jul 11, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
3
1
Circle Component is a subcomponent of @react-color
.
1npm i @uiw/react-color-circle
1import React, { useState } from 'react'; 2import Circle from '@uiw/react-color-circle'; 3 4export default function Demo() { 5 const [hex, setHex] = useState('#F44E3B'); 6 return ( 7 <Circle 8 colors={[ '#F44E3B', '#FE9200', '#FCDC00', '#DBDF00' ]} 9 color={hex} 10 onChange={(color) => { 11 setHex(color.hex); 12 }} 13 /> 14 ); 15}
Modify point style
1import React, { useState } from 'react'; 2import Circle from '@uiw/react-color-circle'; 3 4export default function Demo() { 5 const [hex, setHex] = useState('#F44E3B'); 6 return ( 7 <Circle 8 colors={[ 9 '#f44336', 10 '#e91e63', 11 '#9c27b0', 12 '#673ab7', 13 '#3f51b5', 14 '#2196f3', 15 ]} 16 color={hex} 17 pointProps={{ 18 style: { 19 marginRight: 20, 20 }, 21 }} 22 onChange={(color) => { 23 setHex(color.hex); 24 }} 25 /> 26 ); 27}
1import React from 'react'; 2import { HsvaColor, ColorResult } from '@uiw/color-convert'; 3import { SwatchProps } from '@uiw/react-color-swatch'; 4export interface CircleProps extends Omit<SwatchProps, 'color' | 'onChange'> { 5 color?: string | HsvaColor; 6 onChange?: (color: ColorResult) => void; 7 pointProps?: React.HTMLAttributes<HTMLDivElement>; 8} 9declare const Circle: React.ForwardRefExoticComponent<CircleProps & React.RefAttributes<HTMLDivElement>>; 10export default Circle;
As always, thanks to our amazing contributors!
Made with contributors.
Licensed under the MIT License.
No vulnerabilities found.
Reason
18 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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-06-30
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