Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighter and faster color picker component #24

Open
omgovich opened this issue Dec 16, 2020 · 0 comments
Open

Lighter and faster color picker component #24

omgovich opened this issue Dec 16, 2020 · 0 comments

Comments

@omgovich
Copy link

Hi! 👋 My name is Vlad and I love to make packages/projects lighter and faster.

I noticed that you're using react-color which is 143 KB (far larger than the entirety of react-dom), is not tree-shakeable, is not accessible, does not support keyboard navigation, pulls in 12 dependencies, and is not as fast as it could be.

Ryan Christian, Alex Taktarov, and I had been working hard since July and several months ago we released react-colorful — a tiny fast alternative to react-color that aligned with modern requirements.

I would be glad if you consider using our component in your project to make the web faster.
If you like the idea I can create PR and do all work myself.

Features

  • Small: Just 1,9 KB gzipped (17 times lighter than react-color).
  • Tree-shakeable: Only the parts you use will be imported into your app's bundle.
  • Fast: Built with hooks and functional components only.
  • Bulletproof: Written in strict TypeScript and covered by 40+ tests.
  • Simple: The interface is straight forward and easy to use.
  • Mobile-friendly: Works well on mobile devices and touch screens.
  • Accessible: Follows the WAI-ARIA guidelines to support users of assistive technologies.
  • No dependencies

Repo/docs:
https://github.com/omgovich/react-colorful

Demo:
https://omgovich.github.io/react-colorful

Article about react-color and react-colorful:
https://dev.to/omgovich/react-colorful-1-8-kb-color-picker-for-react-fast-dependency-free-customizable-and-accessible-8le

Top projects and companies using react-colorful:
https://github.com/omgovich/react-colorful#projects-using-react-colorful

Hope to hear from you soon.

Regards,
Vlad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant