croma-app / croma-color-picker Goto Github PK
View Code? Open in Web Editor NEWSimple and intuitive color picker for react native
Home Page: https://croma.app
License: MIT License
Simple and intuitive color picker for react native
Home Page: https://croma.app
License: MIT License
Similar to this with supporting both HSV and RGB color options on the slider.
https://codesandbox.io/s/slider-color-picker-react-256yc
It is hard to know which color you just selected now. Some outline or selection will be good.
I'm getting a Warning: Each child in a list should have a unique "key" prop
error when running in my simulator.
This is probably because of the 4 occurrences of .map
in lines 38-49 that render components without a key
prop.
Adding the index of the map as a key would probably fix this.
Thanks for a good component, it works well.
However, I think there's a slight limitation in that the user can't pick white or black as their color.
Of course it's possible to just write #ffffff
for white and #000000
for black in the text area but it would be nice to be able to pick those colors among the squares.
Perhaps the lightest and darkest square of each palette could be white/black?
E.g. with the default palette (for color #db0a5b
), the darkest color available is #330014
and the lightest color available is #ece4e7
, but perhaps they could be #ffffff
and #000000
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.