{"id":19818834,"url":"https://github.com/ceamkrier/react-peeps","last_synced_at":"2026-02-17T10:31:30.089Z","repository":{"id":41987843,"uuid":"245227985","full_name":"CeamKrier/react-peeps","owner":"CeamKrier","description":"React implementation of the Open Peeps","archived":false,"fork":false,"pushed_at":"2023-10-05T00:40:18.000Z","size":3637,"stargazers_count":58,"open_issues_count":8,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-30T01:34:47.495Z","etag":null,"topics":["avatar-generator","open-peeps","react"],"latest_commit_sha":null,"homepage":"https://www.opeeps.fun","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CeamKrier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-05T17:35:48.000Z","updated_at":"2024-08-17T07:45:50.000Z","dependencies_parsed_at":"2024-06-19T06:14:40.386Z","dependency_job_id":"dd29f24b-ef3d-490d-8684-5c2796e28cf9","html_url":"https://github.com/CeamKrier/react-peeps","commit_stats":{"total_commits":59,"total_committers":3,"mean_commits":"19.666666666666668","dds":0.4067796610169492,"last_synced_commit":"a9e7c990d04afa73943068b425d1329042be3bc4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CeamKrier%2Freact-peeps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CeamKrier%2Freact-peeps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CeamKrier%2Freact-peeps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CeamKrier%2Freact-peeps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CeamKrier","download_url":"https://codeload.github.com/CeamKrier/react-peeps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224253290,"owners_count":17280936,"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":["avatar-generator","open-peeps","react"],"created_at":"2024-11-12T10:17:02.663Z","updated_at":"2025-10-08T16:58:10.080Z","avatar_url":"https://github.com/CeamKrier.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/ceamkrier","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"# react-peeps\n\nReact implementation of the hand drawn illustration library called [Open Peeps](https://www.openpeeps.com/)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"example.png\" alt=\"peeps example\" width=\"200\"/\u003e\u003c/p\u003e\n\n## Installation\n\n```\nnpm install react-peeps\n```\n\n\u003c/br\u003e\n\n[![Edit react-peeps-playground](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-peeps-playground-mbtlj?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\n\n\u003ca href=\"https://www.buymeacoffee.com/ceamkrier\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=ceamkrier\u0026button_colour=f9d366\u0026font_colour=000000\u0026font_family=Comic\u0026outline_colour=000000\u0026coffee_colour=FFDD00\"\u003e\u003c/a\u003e\n\nWeb generator available at https://www.opeeps.fun \n\n## Usage\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport Peep from 'react-peeps';\n\nconst styles = {\n\tpeepStyle: {\n\t\twidth: 300,\n\t\theight: 300,\n\t\tjustifyContent: 'center',\n\t\talignSelf: 'center'\n\t},\n\tcircleStyle: {\n\t\tbackgroundColor: '#F3D34A',\n\t\twidth: 270,\n\t\theight: 270,\n\t\talignSelf: 'center',\n\t\tborderRadius: 135,\n\t\toverflow: 'hidden',\n\t\tborderWidth: 3,\n\t\tborderColor: 'black',\n\t\tborderStyle: 'solid'\n\t},\n\tshowcaseWrapper: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t\theight: '-webkit-fill-available'\n\t}\n};\n\nconst Showcase: React.FC = () =\u003e {\n  return (\n    \u003cdiv style={styles.showcaseWrapper}\u003e\n      \u003cPeep\n        style={styles.peepStyle}\n        accessory='GlassRoundThick'\n        body='Shirt'\n        face='Cute'\n        hair='ShortVolumed'\n        facialHair='Dali'\n        strokeColor='#e6e6e6'\n        backgroundColor='red'\n      /\u003e\n\n      \u003cPeep\n        style={styles.peepStyle}\n        circleStyle={styles.circleStyle}\n        accessory='GlassRoundThick'\n        body='Shirt'\n        face='Cute'\n        hair='ShortVolumed'\n        facialHair='Dali'\n        strokeColor='#e6e6e6'\n        viewBox={{ x: '0', y: '0', width: '1050', height: '1200' }}\n      /\u003e\n\n      \u003cPeep\n        style={{...styles.peepStyle, transform: 'scale(-1, 1)'}}\n        accessory='GlassRoundThick'\n        body='Shirt'\n        face='Cute'\n        hair='ShortVolumed'\n        facialHair='Dali'\n        strokeColor={{degree: 300, firstColor: '#2E8A57', secondColor: '#81087F'}}\n      /\u003e\n    \u003c/div\u003e\n  );\n};\n\nReactDOM.render(\u003cShowcase /\u003e, document.getElementById('main'));\n```\n\n## Props\n\n|         Attribute | Type                                                             | Description                                                   | Required |\n|------------------:|------------------------------------------------------------------|---------------------------------------------------------------|----------|\n|         accessory | string                                                           | Defines the picked accessory piece name                       | No       |\n|              body | string                                                           | Defines the picked body type                                  | No       |\n|              face | string                                                           | Defines the picked face expression name                       | No       |\n|        facialHair | string                                                           | Defines the picked facial hair type                           | No       |\n|              hair | string                                                           | Defines the picked hair type                                  | No       |\n|             style | CSSProperties                                                    | Style of the SVG element                                      | No       |\n|       circleStyle | CSSProperties                                                    | Wraps the SVG into a div element and passes style to that div | No       |\n|       strokeColor | string \\| GradientType                                           | Defines the stroke color of lines                             | No       |\n|   backgroundColor | string \\| GradientType                                           | Defines the background color of the peep's pieces             | No       |\n| wrapperBackground | string \\| GradientType                                           | Defines the background of SVG                                 | No       |\n|           viewBox | {   x: string;   y: string;   width: string;   height: string; } | Defines the viewable dimensions of the SVG                    | No       |\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nThanks :raised_hands:\n\n## License\n\n[MIT](\u003c[https://choosealicense.com/licenses/mit/](https://choosealicense.com/licenses/mit/)\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceamkrier%2Freact-peeps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceamkrier%2Freact-peeps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceamkrier%2Freact-peeps/lists"}