NexusUI

Spectrum Picker

Component

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>
  );
}

Dependencies

More by NexusUI

View all
  • Circular Carousel

    Circular Carousel

    1.3K
  • Images Badge

    Images Badge

    1K
  • Chat Messages

    Chat Messages

    374
  • Infinite Moving Cards

    Infinite Moving Cards

    188
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    179
  • Aquarium Prompt

    Aquarium Prompt

    169
  • Shooting Stars Grid

    Shooting Stars Grid

    162
  • Pixel Atlas

    Pixel Atlas

    133