{"id":18221139,"url":"https://github.com/willi-dev/color-palette-box","last_synced_at":"2025-10-08T21:12:54.517Z","repository":{"id":39896543,"uuid":"495026159","full_name":"willi-dev/color-palette-box","owner":"willi-dev","description":"color-palette-box","archived":false,"fork":false,"pushed_at":"2022-09-08T15:15:16.000Z","size":408,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-19T06:19:02.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/willi-dev.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}},"created_at":"2022-05-22T10:24:00.000Z","updated_at":"2024-10-15T02:36:16.000Z","dependencies_parsed_at":"2022-09-19T08:40:49.162Z","dependency_job_id":null,"html_url":"https://github.com/willi-dev/color-palette-box","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/willi-dev/color-palette-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willi-dev%2Fcolor-palette-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willi-dev%2Fcolor-palette-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willi-dev%2Fcolor-palette-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willi-dev%2Fcolor-palette-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willi-dev","download_url":"https://codeload.github.com/willi-dev/color-palette-box/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willi-dev%2Fcolor-palette-box/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000711,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-03T21:05:15.358Z","updated_at":"2025-10-08T21:12:54.480Z","avatar_url":"https://github.com/willi-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Color Palette Box\n\n![Screenshot](static/color-palette-box-preview.png)\n\nReact Components for display color palette name.\nIt can use in React App or can use in MDX storybook docs.\n\n### Documentation\n\n**npm**\n```\nnpm install color-palette-box\n```\n\n**yarn**\n```\nyarn add color-palette-box\n```\n\n**example**\n```\n//import\nimport { ColorPaletteGroup, ColorPaletteGroupItem } from 'color-palette-box'\n\n# create a list of your colors\nconst list = [\n  {\n    name: 'color #1',\n    bgColor: '#000000',\n    desc: 'description here' // optional\n  },\n  {\n    name: 'color #2',\n    bgColor: '#DFDFDF',\n    desc: 'description here' // optional\n  }\n]\n\n// in your component render\n\u003cColorPaletteGroup title=\"title is optional\"\u003e\n  {\n    list.map(( color, index ) =\u003e {\n      return (\n        \u003cColorPaletteGroupItem name={color.name} bgColor={color.bgColor} key={index} /\u003e\n      )\n    })\n  }\n\u003c/ColorPaletteGroup\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilli-dev%2Fcolor-palette-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilli-dev%2Fcolor-palette-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilli-dev%2Fcolor-palette-box/lists"}