{"id":17700725,"url":"https://github.com/wrathchaos/react-native-rounded-checkbox-group","last_synced_at":"2025-03-13T03:30:45.519Z","repository":{"id":57339648,"uuid":"413823261","full_name":"WrathChaos/react-native-rounded-checkbox-group","owner":"WrathChaos","description":"Fully customizable react native checkbox group for React Native","archived":false,"fork":false,"pushed_at":"2021-10-06T20:28:45.000Z","size":1846,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T23:32:52.638Z","etag":null,"topics":["app","app-development","checkbox","development","group","javascript","mobile","react","react-native","react-native-checkbox","reactjs","typescript"],"latest_commit_sha":null,"homepage":"https://freakycoder.com/","language":"Java","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/WrathChaos.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":"2021-10-05T13:10:51.000Z","updated_at":"2021-11-06T12:27:09.000Z","dependencies_parsed_at":"2022-09-04T14:23:14.994Z","dependency_job_id":null,"html_url":"https://github.com/WrathChaos/react-native-rounded-checkbox-group","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"WrathChaos/react-native-typescript-library-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-rounded-checkbox-group","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-rounded-checkbox-group/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-rounded-checkbox-group/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-rounded-checkbox-group/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-rounded-checkbox-group/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243335088,"owners_count":20274896,"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":["app","app-development","checkbox","development","group","javascript","mobile","react","react-native","react-native-checkbox","reactjs","typescript"],"created_at":"2024-10-24T17:42:55.285Z","updated_at":"2025-03-13T03:30:45.038Z","avatar_url":"https://github.com/WrathChaos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Rounded Checkbox Group\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![React Native Rounded Checkbox Group](https://img.shields.io/badge/-Fully%20customizable%20react%20native%20checkbox%20group%20for%20React%20Native-orange?style=for-the-badge)](https://github.com/WrathChaos/react-native-rounded-checkbox-group)\n\n[![npm version](https://img.shields.io/npm/v/react-native-rounded-checkbox-group.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-rounded-checkbox-group)\n[![npm](https://img.shields.io/npm/dt/react-native-rounded-checkbox-group.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-rounded-checkbox-group)\n![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"React Native Rounded Checkbox Group\"\n        src=\"assets/Screenshots/react-native-rounded-checkbox-group.gif\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```bash\nnpm i react-native-rounded-checkbox-group\n```\n\n## Peer Dependencies\n\n\u003ch5\u003e\u003ci\u003eIMPORTANT! You need install them\u003c/i\u003e\u003c/h5\u003e\n\n```js\n\"react-native-rounded-checkbox\": \"\u003e= 0.3.3\",\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport RoundedCheckboxGroup, {\n  ICheckboxButton,\n} from \"react-native-rounded-checkbox-group\";\n```\n\n## Fundamental Usage\n\n```jsx\n\u003cRoundedCheckboxGroup\n  data={staticData}\n  initial={0}\n  onChange={(selectedItem: ICheckboxButton) =\u003e {\n    setSelectedItem(selectedItem);\n  }}\n/\u003e\n```\n\n## Advanced Usage\n\n```jsx\n\u003cRoundedCheckboxGroup\n  data={staticData}\n  initial={2}\n  onChange={(selectedItem: ICheckboxButton) =\u003e {\n    setSelectedItem(selectedItem);\n  }}\n  component={(isActive: boolean) =\u003e\n    isActive \u0026\u0026 \u003cIcon name=\"check\" type=\"Entypo\" color=\"#fff\" /\u003e\n  }\n/\u003e\n```\n\n## Data format\n\nYou MUST follow this data format as `ICheckboxButton`\n\n```json\n[\n  {\n    id: 0,\n  },\n  {\n    id: 1,\n  },\n  {\n    id: 2,\n  },\n  {\n    id: 3,\n  },\n];\n```\n\n## Advanced and Customization Data Format Example\n\nYou can find the working/running example on the `example` project\n\n```jsx\nconst staticData: ICheckboxButton[] = [\n  {\n    id: 0,\n    text: \"\",\n    checkedColor: \"#ff7473\",\n    uncheckedColor: \"#fbbfbb\",\n    outerStyle: _outerStyle(\"#fbbfbb\"),\n    innerStyle: styles.innerStyle,\n  },\n  {\n    id: 1,\n    text: \"\",\n    checkedColor: \"#5567e9\",\n    uncheckedColor: \"#afb5f5\",\n    outerStyle: _outerStyle(\"#afb5f5\"),\n    innerStyle: styles.innerStyle,\n  },\n  {\n    id: 2,\n    text: \"\",\n    checkedColor: \"#a98ae7\",\n    uncheckedColor: \"#cab6f4\",\n    outerStyle: _outerStyle(\"#cab6f4\"),\n    innerStyle: styles.innerStyle,\n  },\n  {\n    id: 3,\n    text: \"\",\n    checkedColor: \"#fcb779\",\n    uncheckedColor: \"#ffd1a7\",\n    outerStyle: _outerStyle(\"#ffd1a7\"),\n    innerStyle: styles.innerStyle,\n  },\n];\n```\n\n## Example Project 😍\n\nYou can checkout the example project 🥰\n\nSimply run\n\n- `npm i`\n- `react-native run-ios/android`\n\nshould work of the example project.\n\n# Configuration - Props\n\nYou can use any customization on the `react-native-rounded-checkbox` component.\n\n[Configuration Options](https://github.com/WrathChaos/react-native-rounded-checkbox#readme)\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n- [ ] Write an article about the lib on Medium\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Rounded Checkbox Group is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-rounded-checkbox-group","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-rounded-checkbox-group","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-rounded-checkbox-group/lists"}