
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
@uiw/react-color-hue
Advanced tools
Hue Component is a subcomponent of @react-color
.
npm i @uiw/react-color-hue
import React, { useState } from 'react';
import Hue from '@uiw/react-color-hue';
export default function Demo() {
const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 });
return (
<Hue
hue={hsva.h}
onChange={(newHue) => {
setHsva({ ...hsva, ...newHue });
}}
/>
);
}
import React, { useState } from 'react';
import Hue from '@uiw/react-color-hue';
export default function Demo() {
return (
<Hue hue={undefined} />
);
}
import React from 'react';
import { AlphaProps } from '@uiw/react-color-alpha';
export interface HueProps extends Omit<AlphaProps, 'hsva' | 'onChange'> {
onChange?: (newHue: {
h: number;
}) => void;
hue: number;
}
declare const Hue: React.ForwardRefExoticComponent<HueProps & React.RefAttributes<HTMLDivElement>>;
export default Hue;
As always, thanks to our amazing contributors!
Made with contributors.
Licensed under the MIT License.
FAQs
Color hue
The npm package @uiw/react-color-hue receives a total of 89,107 weekly downloads. As such, @uiw/react-color-hue popularity was classified as popular.
We found that @uiw/react-color-hue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.