All Projects → mikbry → material-ui-color

mikbry / material-ui-color

Licence: MIT license
The lightest colorpicker, palette, colorinput, colorbutton ⚡ No dependencies. It uses React hooks, support Typescript theming and more !

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to material-ui-color

Pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
Stars: ✭ 3,759 (+2907.2%)
Mutual labels:  color-palette, colorpicker
Colorbrewer
🌈 Create color blind friendly color palettes in Java
Stars: ✭ 29 (-76.8%)
Mutual labels:  color-palette, colorpicker
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (+116.8%)
Mutual labels:  color-palette, colorpicker
Egorozh.ColorPicker
🎨🎨🎨 Best of the best ColorPicker on WPF and AvaloniaUI
Stars: ✭ 39 (-68.8%)
Mutual labels:  color-palette, colorpicker
react-movies-finder
React Movies finder is a React app to search movies and series using redux, redux-thunk, React Hooks, and Material UI
Stars: ✭ 27 (-78.4%)
Mutual labels:  hooks, material-ui
amplify-material-ui
A Material-UI based implementation of aws amplify
Stars: ✭ 32 (-74.4%)
Mutual labels:  hooks, material-ui
Kallewheel
A custom color wheel extension for Adobe Photoshop
Stars: ✭ 16 (-87.2%)
Mutual labels:  color-palette, colorpicker
Colora
Color converter, screen color picker and color palettes for Windows
Stars: ✭ 32 (-74.4%)
Mutual labels:  color-palette, colorpicker
react-daterange-picker
A react date range picker to using @material-ui. Live Demo: https://flippingbitss.github.io/react-daterange-picker/
Stars: ✭ 85 (-32%)
Mutual labels:  hooks, material-ui
max-todos
A basic Todo app developed in React.
Stars: ✭ 19 (-84.8%)
Mutual labels:  hooks, material-ui
Googlekeepclone
A clone of Google Keep with its original Material Design aesthetics
Stars: ✭ 281 (+124.8%)
Mutual labels:  hooks, material-ui
ColorPicker
Powerful screen ColorPicker/Chooser application for Linux Desktop
Stars: ✭ 55 (-56%)
Mutual labels:  color-palette, colorpicker
use-images-loaded
🖼️ Returns true once all the images inside a container are loaded
Stars: ✭ 82 (-34.4%)
Mutual labels:  hooks
laravel-react-spa
A Laravel-React SPA starter project template.
Stars: ✭ 94 (-24.8%)
Mutual labels:  hooks
pantone-colors
Hex values of all 2310 Pantone colors
Stars: ✭ 147 (+17.6%)
Mutual labels:  color-palette
use-smooth-scroll
React hook which gives a smooth scrolling function.
Stars: ✭ 41 (-67.2%)
Mutual labels:  hooks
ColorPicker
Color pickers for Xamarin Forms.
Stars: ✭ 38 (-69.6%)
Mutual labels:  colorpicker
react-breakpoints
Respond to changes in a DOM element's size. With React Breakpoints, element queries are no longer "web design's unicorn" 🦄
Stars: ✭ 74 (-40.8%)
Mutual labels:  hooks
crypto-watchdog
Crypto Watchdog is an open-source developer friendly project, periodically queries crypto market and notifies potential pumps & recently added tokens/coins via web-hooks.
Stars: ✭ 22 (-82.4%)
Mutual labels:  hooks
pyinstaller-hooks-contrib
Community maintained hooks for PyInstaller.
Stars: ✭ 66 (-47.2%)
Mutual labels:  hooks

material-ui-color picker and other components

Build Status codecov NPM version License minisize dependency status dev dependency status peer dependency status Downloads

Collections of color components for material-ui. No dependencies, small, highly customizable and theming support !

Video of ColorPicker

Contents

Why another ColorPicker ?

  • Fully compatible with Material-UI : theming and low level components
  • Highly customizable ColorPicker : gradient picker, palette, input format, deferred mode
  • Small in size (<30kb) without any direct dependencies
  • Use modern React hook and coding conventions
  • Documentation made with Storybook, using Component Story Format and MDX

Documentation

Full documentation is available here :

https://mikbry.github.io/material-ui-color/

Examples

You can find examples here and here.

Also in codesanbox

Requirements

  • Works on modern browsers supporting ES6+ (Not compatible with IE)
  • React and Material-UI frameworks

Install

yarn add material-ui-color

Or using npm

npm install material-ui-color

Usage

you need to have in your dependencies:

    "@mui/material": "^4.11.2",
    "material-ui-popup-state": "^1.7.1",
    "prop-types": "^15.7.2",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",

material-ui-color bring 5 components.

<ColorPicker/>

A popover component to display a color tool box. It uses ColorBox and material-ui-popup-state.

import { ColorPicker } from 'material-ui-color';

export const Container = () => (
  <div>
    <ColorPicker defaultValue="transparent"/>
  </div>
);

At first it display a button + an input

ColorPicker documentation

<ColorBox />

A component to display a color tool box

import { ColorBox } from 'material-ui-color';

export const Container = () => (
  <div>
    <ColorBox defaultValue="transparent"/>
  </div>
);

ColorBox documentation

<ColorInput />

An input component to display/edit color values in different format (plain, hex, rgb, hsl, hsv).

import { ColorInput } from 'material-ui-color';

export const Container = () => (
  <div>
    <ColorInput defaultValue="red"/>
  </div>
);

ColorInput documentation

<ColorPalette />

A component to display a grid of color buckets.

import { ColorPalette } from 'material-ui-color';

const palette = {
  red: '#ff0000',
  blue: '#0000ff',
  green: '#00ff00',
  yellow: 'yellow',
  cyan: 'cyan',
  lime: 'lime',
  gray: 'gray',
  orange: 'orange',
  purple: 'purple',
  black: 'black',
  white: 'white',
  pink: 'pink',
  darkblue: 'darkblue',
};

export const Container = () => (
  <div>
    <ColorPalette palette={palette} />
  </div>
);

ColorPalette documentation

<ColorButton />

Displays a button filled with a color

import { ColorButton } from 'material-ui-color';

export const Container = () => (
  <div>
    <ColorButton color="red"/>
  </div>
);

ColorButton documentation

Roadmap

v1.0.0 - Current version

  • remove styled-components to have less dependencies and reduce size
  • display wrong color using a red checked box
  • bugs fixes

Contribute

Contributions welcome! Read the contribution guidelines first.

License

Released under MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].