'use client'; import * as React from 'react'; import * as Tabs from '@radix-ui/react-tabs'; import { Plus, Trash2 } from 'lucide-react'; import { Input as AriaInput, Color, parseColor } from 'react-aria-components'; import * as Button from '@/components/ui/button'; import * as ColorPicker from '@/components/ui/color-picker'; import * as Divider from '@/components/ui/divider'; import * as Input from '@/components/ui/input'; export default function TabbedColorPicker() { const [color, setColor] = React.useState(parseColor('#EE2121')); const [activeTab, setActiveTab] = React.useState('image'); return (
Image
Solid
Gradient
); } function ColorPickerContent({ color, setColor, }: { color: Color; setColor: (color: Color) => void; }) { return ( {/* Primary color selection area */}
{/* Color spectrum slider */}
{/* Lower control area */}
{/* Trash can button */}
{/* Hex color input field */}
{/* Opacity input field */}
{/* Add new color button */} ); }