{"id":22181176,"url":"https://github.com/viclafouch/mui-color-input","last_synced_at":"2025-05-16T12:07:52.849Z","repository":{"id":57941146,"uuid":"527176845","full_name":"viclafouch/mui-color-input","owner":"viclafouch","description":"📌 A color input designed for MUI (Material ui) built with TinyColor","archived":false,"fork":false,"pushed_at":"2025-03-07T10:19:01.000Z","size":10745,"stargazers_count":69,"open_issues_count":5,"forks_count":28,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T06:17:42.622Z","etag":null,"topics":["color-picker","javascript","material-ui","mui","mui6","reactjs","typescript"],"latest_commit_sha":null,"homepage":"https://viclafouch.github.io/mui-color-input/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viclafouch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-21T10:45:39.000Z","updated_at":"2025-03-23T16:07:36.000Z","dependencies_parsed_at":"2024-06-18T15:28:07.189Z","dependency_job_id":"d968bf00-8aa4-47f7-82f7-4e791439e515","html_url":"https://github.com/viclafouch/mui-color-input","commit_stats":{"total_commits":73,"total_committers":6,"mean_commits":"12.166666666666666","dds":0.1643835616438356,"last_synced_commit":"2515e1a98a1dce4c6b52e30f7ed09e573ff7d14b"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-color-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-color-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-color-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-color-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viclafouch","download_url":"https://codeload.github.com/viclafouch/mui-color-input/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525141,"owners_count":21118620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-picker","javascript","material-ui","mui","mui6","reactjs","typescript"],"created_at":"2024-12-02T09:26:53.739Z","updated_at":"2025-04-12T06:17:51.637Z","avatar_url":"https://github.com/viclafouch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://viclafouch.github.io/mui-color-input/img/logo.jpg\" width=\"70\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eMaterial UI color input\u003c/h1\u003e\n  \u003cp\u003eA color input designed for the React library \u003ca href=\"https://material-ui.com/\"\u003eMaterial UI\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/viclafouch/mui-color-input/blob/master/LICENSE)\n![ts](https://badgen.net/badge/Built%20With/TypeScript/blue)\n[![npm](https://img.shields.io/npm/v/mui-color-input)](https://www.npmjs.com/package/mui-color-input)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/viclafouch/mui-color-input/blob/main/mui-color-input.gif\" width=\"100%\" /\u003e\n\u003c/div\u003e\n\n## Installation\n\n```\n// with npm\nnpm install mui-color-input\n\n// with yarn\nyarn add mui-color-input\n```\n\nThe component uses [@ctrl/tinycolor](https://www.npmjs.com/package/@ctrl/tinycolor) for color parsing and formatting.\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport { MuiColorInput } from 'mui-color-input'\n\nconst MyComponent = () =\u003e {\n  const [value, setValue] = React.useState('#ffffff')\n\n  const handleChange = (newValue) =\u003e {\n    setValue(newValue)\n  }\n\n  return \u003cMuiColorInput format=\"hex\" value={value} onChange={handleChange} /\u003e\n}\n```\n\n## Next.js integration\n\nLearn how to use MUI color input with Next.js\n\nOnce you have installed `MUI Color Input` in your next.js project, it is important to transpile it as it is an ESM package first.\n\n```js\n/** @type {import('next').NextConfig} */\nconst nextConfig = {\n transpilePackages: ['mui-color-input'],\n // your config\n}\n\nmodule.exports = nextConfig\n```\n\n## [Documentation](https://viclafouch.github.io/mui-color-input/)\n\n## Changelog\n\nGo to [GitHub Releases](https://github.com/viclafouch/mui-color-input/releases)\n\n## TypeScript\n\nThis library comes with TypeScript \"typings\". If you happen to find any bugs in those, create an issue.\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding\na 👍. This helps maintainers prioritize what to work on.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviclafouch%2Fmui-color-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviclafouch%2Fmui-color-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviclafouch%2Fmui-color-input/lists"}