Repository navigation
Replies: 13 comments 18 replies
|
@laycookie , at this moment components are built with radix ui primitives. So will only have components made with them. Stay tuned in future for updates. |
@laycookie I made a color + gradient + image picker. Docs: https://gradient.page/picker |
|
😎😎😎 |
|
Example: https://shadcn-color-picker.vercel.app CleanShot.2024-05-22.at.16.08.17.mp4 |
|
@Illyism The link you shared is great. But it's not a color picker. It's more of a color selector. |
|
https://v0.dev/chat/color-picker-component-2sBBFCIJr4q?b=b_osv3Z2Pc2fg |
|
@shadcn I have created this Color Picker component with React Aria Components and Shadcn UI. Take a look https://kartic-colors.vercel.app |
|
you might wanna check out this discussion where I implemented a new resizable and dragable dashboard layout... this can be very helpfull to many developers in making analytic, sharable dashboard, the users can alter the dashboard based on their liking... The disscussion link: #10466 |
|
I have added a new compliant color picker that supports different modes, it's on the registry already and you can find a demo at https://amplo.ale.design/ - completely accessible and supporting oklch and p3 color spaces. |
|
Title: Proposal: first-party Color Picker for aria, base and radix A color picker has been requested for a long time (#573 has about 82 votes; also #6161 and #9659), and theme tokens are OKLCH, but there's no first-party picker yet. Before writing any code, I'd like to agree on an approach with you. Proposed anatomy <Field>
<FieldLabel htmlFor="brand">Brand color</FieldLabel>
<ColorPicker defaultValue="oklch(0.62 0.19 259)" format="oklch">
<ColorPickerArea />
<ColorPickerHue />
<ColorPickerAlpha />
<ColorPickerSwatch />
<ColorPickerInput id="brand" />
</ColorPicker>
</Field>
Two options
Base UI 1.6 and Radix 1.4 have no color primitives, and React Aria 1.20 doesn't support OKLCH (its I recommend A. It's written once, tested with Questions
What I'd ship
I'm happy to change any of this based on your feedback. |
|
For anyone who needs one now: ReUI has a shadcn color picker with a saturation area, hue, opacity and channel sliders, a hue wheel, HEX, RGB, HSL, HSB and OKLCH fields, swatches and an eye dropper. npx shadcn@latest add @reui/color-picker |



Uh oh!
There was an error while loading. Please reload this page.
Recently needed a color piker component in my project and I'm just wondering if it will make sense to have one here, Shadcn/ui does have a calendar so why not a color piker? I'm interested if this component is in plans or can I make one and open a pull request?
All reactions