{"id":15007930,"url":"https://github.com/parthmodi23/react-native-ui-lib","last_synced_at":"2026-01-30T14:18:41.095Z","repository":{"id":246670293,"uuid":"821813437","full_name":"parthmodi23/react-native-ui-lib","owner":"parthmodi23","description":"react-native-ui-lib is the npm library that provides you Check-box and Radio-button for the react native, this is just a beginning of the library and i will add more UI component to this package.","archived":false,"fork":false,"pushed_at":"2024-07-07T05:06:44.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"update","last_synced_at":"2025-09-15T08:41:42.738Z","etag":null,"topics":["android","checkbox","ios","npm-package","radio-buttons","reactnative","ui","uikit"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-newui-lib","language":"JavaScript","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/parthmodi23.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":"2024-06-29T14:04:30.000Z","updated_at":"2024-07-11T10:50:20.000Z","dependencies_parsed_at":"2024-06-29T15:01:43.457Z","dependency_job_id":"9b225c07-ce74-455e-b4a2-05c755632ff3","html_url":"https://github.com/parthmodi23/react-native-ui-lib","commit_stats":null,"previous_names":["parthmodi23/react-native-ui-lib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parthmodi23/react-native-ui-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthmodi23%2Freact-native-ui-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthmodi23%2Freact-native-ui-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthmodi23%2Freact-native-ui-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthmodi23%2Freact-native-ui-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parthmodi23","download_url":"https://codeload.github.com/parthmodi23/react-native-ui-lib/tar.gz/refs/heads/update","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthmodi23%2Freact-native-ui-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"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":["android","checkbox","ios","npm-package","radio-buttons","reactnative","ui","uikit"],"created_at":"2024-09-24T19:14:30.069Z","updated_at":"2026-01-30T14:18:41.064Z","avatar_url":"https://github.com/parthmodi23.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-newui-lib\n\nA React Native UI library providing Checkbox and RadioButton components.\n\n## Installation\n\nYou can install this package via npm. Make sure you have `react` and `react-native` installed in your project as peer dependencies.\n\n```sh\nnpm install react-native-newui-lib;\n\n```\n\n## Checkbox\n```sh\nimport React from 'react';\nimport { View } from 'react-native';\nimport { Checkbox } from 'react-native-newui-lib';\n\nconst App = () =\u003e {\n  const [checked, setChecked] = React.useState(false);\n\n  const handleCheckboxChange = (newValue) =\u003e {\n    setChecked(newValue);\n    // Handle checkbox state change\n  };\n\n  return (\n    \u003cView\u003e\n      \u003cCheckbox label=\"Checkbox Label\" value={checked} onValueChange={handleCheckboxChange} /\u003e\n    \u003c/View\u003e\n  );\n};\n\nexport default App;\n```\n\n## RadioButton\n```sh\nimport React from 'react';\nimport { View } from 'react-native';\nimport { RadioButton } from 'react-native-newui-lib';\n\nconst App = () =\u003e {\n  const [selectedOption, setSelectedOption] = React.useState(null);\n\n  const handleRadioButtonChange = (option) =\u003e {\n    setSelectedOption(option);\n    // Handle radio button selection\n  };\n\n  return (\n    \u003cView\u003e\n      \u003cRadioButton label=\"Option 1\" selected={selectedOption === 'Option 1'} onValueChange={handleRadioButtonChange} /\u003e\n      \u003cRadioButton label=\"Option 2\" selected={selectedOption === 'Option 2'} onValueChange={handleRadioButtonChange} /\u003e\n    \u003c/View\u003e\n  );\n};\n\nexport default App;\n```\n\n## Props\n\n#### Checkbox Componenet Props\n    * `label` (string): Label text for the checkbox.\n    * `value`(boolean): Current state of the checkbox (true for checked, false for unchecked).\n    * `onValueChange` (function): Callback function to handle state change of the checkbox.\n    * `containerStyle` (object, optional): Custom styles for the container TouchableOpacity.\n    * `checkboxStyle` (object, optional): Custom styles for the checkbox View.\n    * `labelStyle` (object, optional): Custom styles for the label Text.\n\n#### RadioButton Component Props\n    * `label` (string): Label text for the radio button.\n    * `selected` (boolean): Whether the radio button is selected.\n    * `onValueChange` (function): Callback function invoked when radio button selection changes.\n    * `containerStyle` (object, optional): Custom styles for the container TouchableOpacity.\n    * `checkboxStyle` (object, optional): Custom styles for the radio button View.\n    * `labelStyle` (object, optional): Custom styles for the label Text.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthmodi23%2Freact-native-ui-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthmodi23%2Freact-native-ui-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthmodi23%2Freact-native-ui-lib/lists"}