About
A colour picker that works like a real prism. White light splits into its colours and a thin slit lets one through. Drag around the prism to turn it, and the colour that gets through, with its hex, wavelength and hue, changes with it. Part of Nexus UI.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spectrum Picker to your project and fits it to your theme.
Code
How Spectrum Picker is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SpectrumPicker from "@/components/ui/spectrum-picker";
export default function Demo() {
return (
<div className="flex min-h-[640px] w-full items-center justify-center bg-[#f5f5f7] p-6">
<div className="w-full max-w-[560px]">
<SpectrumPicker />
</div>
</div>
);
}







