py_ets

Color Area

Component

About

A draggable 2D gradient surface for picking two channels of a color (like saturation and lightness) at once, built on React Aria and styled with Tailwind.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Color Area to your project and fits it to your theme.

Code

How Color Area is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ColorArea } from "@/components/ui/tailwind-colorarea";

export default function ColorAreaDemo() {
  return (
    <div className="flex items-center justify-center w-full h-screen">
      <ColorArea defaultValue="hsl(0, 100%, 50%)" />
    </div>
  );
}

Dependencies

More by py_ets

View all
  • Alert Dialog

    Alert Dialog

    12
  • React Aria CheckboxGroup

    React Aria CheckboxGroup

    9
  • Command Palette

    Command Palette

    7
  • React Aria DatePicker

    React Aria DatePicker

    6
  • Progress Bar

    Progress Bar

    6
  • React Aria Tree

    React Aria Tree

    4
  • React Aria Switch

    React Aria Switch

    4
  • React Aria ColorArea

    React Aria ColorArea

    4