Skip to content

stevensalex299/ColorPickerWidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Picker Widget

This project was bootstrapped with Create React App.

Integration

The Color Picker Widget can be integrated into any app using the code under the color-picker component folder. Use the following scripts to build and test the widget locally.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

How To Use

To use the Color Picker Widget, select any color displayed under default colors (consists of primary and secondary colors of multiple shades).

When a color is selected, the hex value for that color will be copied to the clipboard. General information for the color will also be displayed in the selection area.

For accessability, the color grid can be manuevered using the arrow keys on the keyboard as well as the tab keys. To select a color with keyboard input, use the Enter key or Spacebar key. The Color Picker Widget is also responsive and adjusts its grid size for smaller screens (< 480px).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published