A professional, lightweight, and fully typed color wheel component for React. Inspired by tools like Adobe Color, this library allows color selection based on **Chromatic Harmonies** (Triad, Complementary, Analogous, etc.) with geometric precision.
npm install react-color-palette-wheelA professional, lightweight, and fully typed color wheel component for React. Inspired by tools like Adobe Color, this library allows color selection based on Chromatic Harmonies (Triad, Complementary, Analogous, etc.) with geometric precision.
!npm bundle size
!npm version
!license
* Ultra Lightweight: Only ~16.4kB (packed).
* Mathematical Harmonies: Precise algorithms for complex color schemes.
* TypeScript: Native type definitions (.d.ts) included.
* Performance: Optimized Canvas rendering.
* Zero Config: Works out of the box with sensible defaults.
``bash
npm install react-color-palette-wheelor
yarn add react-color-palette-wheel
`
`ts
import { useState } from 'react';
import { ColorWheel, HarmonyType, CursorData } from 'react-color-palette-wheel';
function App() {
const [colors, setColors] = useState
return (
https://codesandbox.io/p/sandbox/eloquent-franklin-rh3357