{"id":25244723,"url":"https://github.com/react-melon/melon-svg-icon","last_synced_at":"2026-04-13T23:32:17.064Z","repository":{"id":145468653,"uuid":"103279141","full_name":"react-melon/melon-svg-icon","owner":"react-melon","description":"Material Design SVG icon components for React","archived":false,"fork":false,"pushed_at":"2017-09-12T14:52:54.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T21:15:24.515Z","etag":null,"topics":["component-library","material-design","react","svg-icons"],"latest_commit_sha":null,"homepage":"https://melon-svg-icon.surge.sh/","language":"CSS","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/react-melon.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":"2017-09-12T14:11:10.000Z","updated_at":"2017-09-12T14:30:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e563808a-6843-4487-ba8e-881dd470ba93","html_url":"https://github.com/react-melon/melon-svg-icon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/react-melon/melon-svg-icon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-svg-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-svg-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-svg-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-svg-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-melon","download_url":"https://codeload.github.com/react-melon/melon-svg-icon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-svg-icon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["component-library","material-design","react","svg-icons"],"created_at":"2025-02-12T01:35:21.945Z","updated_at":"2026-04-13T23:32:17.044Z","avatar_url":"https://github.com/react-melon.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Melon SVG Icon\n\nThis package provides the [Google Material Icons](https://material.io/icons/) packaged as a set of React Components.\n\n### Demo\n\nplease check out the [demo](https://melon-svg-icon.surge.sh/#All_Icons)\n\n### Installation\n\nInstall the pacakge in ypur project directory with:\n\n```sh\nnpm i -S melon-svg-icon\n```\n\n### Usage\n\nThe import path for each icon component includes the icon name in PascalCase.\n\nFor example to use `access alarm` icon component, you should write like this:\n\n```js\nimport AccessAlarm from 'melon-svg-icon/AccessAlarm';\n```\n\nWe provide the whole `svg` as a React PureComponent, so you can set all the available props for a `svg` element.\n\n\u003e Note:\n\u003e\n\u003e if you want to change the icon color, you should set `fill` prop;\n\u003e\n\u003e if you want to change the icon size, you should set `width` / `height` props;\n\n```js\nimport AccessAlarm from 'melon-svg-icon/AccessAlarm';\nexport default () =\u003e {\n    return (\n        \u003cAccessAlarm fill=\"#000\" width={48} height={48} /\u003e\n    );\n}\n```\n\n\u003e Note: One Exception is `3d rotation` which is rename to `ThreeDRatation`.\n\n### Examples\n\nAll the icons size are very large, so you had better only import those icons you needed. We have two ways to use:\n\n1. We recommend to import icons by this way if your tool chain does not support `tree shaking`:\n\n    ```js\n    import AccessAlarm from 'melon-svg-icon/AccessAlarm';\n    import ThreeDRatation from 'melon-svg-icon/ThreeDRatation';\n    ```\n\n2. You can also import icons from main module if your tool chain is `tree shaking`-supported:\n\n    ```js\n    import {AccessAlarm, ThreeDRatation} from 'melon-svg-icon';\n    ```\n\n### Meta\n\nWe provide a `icons.json` which lists all the icon names.\n\n### Develop\n\n1. We use this [repo](https://github.com/google/material-design-icons) as svg resource which will installed as a devDependence.\n2. Then we use `gulp` find all these svg files and transform them into jsx using [svg-to-jsx](https://github.com/janjakubnanista/svg-to-jsx).\n3. Next, wrap the jsx in a `PureComponent`\n4. Finally, tranlate all the components generated into es5\n\n\n### All Icons\n\n---\n\nSee all the icon, please check out the [demo](https://melon-svg-icon.surge.sh/#All_Icons)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-svg-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-melon%2Fmelon-svg-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-svg-icon/lists"}