{"id":51627351,"url":"https://github.com/sospedra/reinput","last_synced_at":"2026-07-13T02:53:37.938Z","repository":{"id":25091456,"uuid":"103141680","full_name":"sospedra/reinput","owner":"sospedra","description":"A React Native TextInput with material style 😎","archived":false,"fork":false,"pushed_at":"2023-01-07T19:08:51.000Z","size":2733,"stargazers_count":56,"open_issues_count":30,"forks_count":28,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-07-13T02:53:36.446Z","etag":null,"topics":["icons","labels","material","placeholder","react-native","textinput"],"latest_commit_sha":null,"homepage":"https://reinput.sospedra.me","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sospedra.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}},"created_at":"2017-09-11T13:49:21.000Z","updated_at":"2024-11-26T18:38:55.000Z","dependencies_parsed_at":"2023-01-14T02:45:08.362Z","dependency_job_id":null,"html_url":"https://github.com/sospedra/reinput","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/sospedra/reinput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sospedra%2Freinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sospedra%2Freinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sospedra%2Freinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sospedra%2Freinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sospedra","download_url":"https://codeload.github.com/sospedra/reinput/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sospedra%2Freinput/sbom","scorecard":{"id":838765,"data":{"date":"2025-08-11","repo":{"name":"github.com/sospedra/reinput","commit":"77fa348c7ac28ee6a78a5829f914063d9793f022"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 8/25 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"63 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-f5x2-xv93-4p23","Warn: Project is vulnerable to: GHSA-gmpm-xp43-f7g6","Warn: Project is vulnerable to: GHSA-pf27-929j-9pmm","Warn: Project is vulnerable to: GHSA-327c-qx3v-h673","Warn: Project is vulnerable to: GHSA-x4cf-6jr3-3qvp","Warn: Project is vulnerable to: GHSA-mph8-6787-r8hw","Warn: Project is vulnerable to: GHSA-7mhc-prgv-r3q4","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-v8v8-6859-qxm4","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-7f53-fmmv-mfjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T19:53:42.421Z","repository_id":25091456,"created_at":"2025-08-23T19:53:42.421Z","updated_at":"2025-08-23T19:53:42.421Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35408466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"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":["icons","labels","material","placeholder","react-native","textinput"],"created_at":"2026-07-13T02:53:37.203Z","updated_at":"2026-07-13T02:53:37.914Z","avatar_url":"https://github.com/sospedra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reinput\n\n![npm type definitions](https://img.shields.io/npm/types/typescript)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![npm](https://img.shields.io/npm/dm/reinput.svg)](https://www.npmjs.org/package/awesome-badges)\n\nA React Native TextInput with material style 😎\n\n\u003cimg alt=\"reinput-gif\" width=\"500\" src=\"https://user-images.githubusercontent.com/3116899/35905643-224d97fc-0be8-11e8-8a93-9f5e676b487f.gif\" /\u003e\n\n### Installation\n\n`npm install --save reinput`\n\n`yarn add reinput`\n\n### Motivation\n\nStyling react-native inputs can be cumbersome. And most of them heavily relies\nonto the material design patterns. This style layer over the regular `TextInput`\npaves the way towards and easier and faster development.\n\nWe also expose a ReinputButton. Check the docs ;)\n\n### Demo\n\nWanna try before? Here's an [interactive Expo snack](https://snack.expo.io/@git/github.com/sospedra/reinput:example).\nOtherwise, you can clone the repo and run the `/example` folder. It's the same, tho.\n\n### Usage\n\n```js\nimport Reinput from \"reinput\"\n\nconst Input = () =\u003e (\n  \u003cView\u003e\n    \u003cReinput label=\"name\" /\u003e\n    \u003cReinput error=\"Handles error\" /\u003e\n    \u003cReinput label=\"name\" value=\"control value from outside\" /\u003e\n    \u003cReinput label=\"name\" defaultValue=\"initial value\" /\u003e\n    \u003cReinput label=\"name\" onChangeText={/* any TextInput prop */} /\u003e\n  \u003c/View\u003e\n)\n```\n\n### Props\n\n#### Input\n\n| Name                | Type             | Default   |\n| :------------------ | :--------------- | :-------- |\n| activeColor         | String           |\n| color               | String           | `#000000` |\n| fontFamily          | String           |\n| fontSize            | Number           | `15`      |\n| fontWeight          | String or Number | `normal`  |\n| height              | Number           | `64`      |\n| marginBottom        | Number           | `8`       |\n| marginLeft          | Number           |\n| marginRight         | Number           |\n| marginTop           | Number           |\n| maxHeight           | Number           |\n| minHeight           | Number           |\n| onBlur              | Function         |\n| onChangeText        | Function         |\n| onContentSizeChange | Function         |\n| onFocus             | Function         |\n| paddingBottom       | Number           | `8`       |\n| paddingLeft         | Number           | `0`       |\n| paddingRight        | Number           | `0`       |\n| paddingTop          | Number           | `20`      |\n| register            | Function         | `noop`    |\n| textAlign           | String           | `left`    |\n\n- Register exposes the `TextInput` ref component out\n\n#### Label\n\n| name             | type   | default   |\n| :--------------- | :----- | :-------- |\n| label            | String |\n| labelActiveColor | String | `#3f51b5` |\n| labelActiveScale | Number | `0.8`     |\n| labelActiveTop   | Number | `-18`     |\n| labelColor       | String | `#757575` |\n| labelDuration    | Number | `200`     |\n\n#### Icon\n\n| Name        | Type    | Default |\n| :---------- | :------ | :------ |\n| icon        | Element |\n| iconOverlay | Element |\n\n#### Placeholder\n\n| Name                  | Type    | Default   |\n| :-------------------- | :------ | :-------- |\n| placeholder           | String  |\n| placeholderColor      | String  | `#757575` |\n| placeholderVisibility | boolean | undefined | null |\n\nHow `placeholderVisibility` works?\n\n```\n{\n    Always: 1,\n    Never: null,\n    OnFocus: true,\n    OnBlur: false,\n}\n```\n\n#### Underline\n\n| Name                  | Type   | Default   |\n| :-------------------- | :----- | :-------- |\n| underlineActiveColor  | String | `#3f51b5` |\n| underlineActiveHeight | Number | `2`       |\n| underlineColor        | String | `#757575` |\n| underlineDuration     | Number | `200`     |\n| underlineHeight       | Number | `1`       |\n\n#### Error\n\n| Name                     | Type      | Default   |\n| :----------------------- | :-------- | :-------- |\n| error                    | String    |\n| errorColor               | String    | `#fc1f4a` |\n| errorStyle               | TextStyle |\n| errorStyle.fontSize      | Number    | `12`      |\n| errorStyle.paddingTop    | Number    | `4`       |\n| errorStyle.paddingBottom | Number    | `4`       |\n\nAnd **also** all the [TextInput](https://facebook.github.io/react-native/docs/textinput.html#props) properties will work.\n\n### ReinputButton\n\nWe also expose a component that looks like an Input but it's a button so accepts `onPress` prop.\nWe do following the [material design guidelines](https://material.io/design/components/text-fields.html).\n\nProps are the same as the Input but it also accepts an `onPress` and doesn't have hooks for focus/blur events.\n\n```js\nimport { ReinputButton } from \"reinput\"\n\nconst Input = () =\u003e (\n  \u003cReinputButton\n    label=\"This is not an Input\"\n    value=\"If there is no value it shows the label as placeholder\"\n    onPress={/* whatever callback */}\n  /\u003e\n)\n```\n\n### Credits\n\nStyle patterns are mainly based on [Material Design](https://material.io/guidelines/components/text-fields.html#); properly adapted for iOS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsospedra%2Freinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsospedra%2Freinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsospedra%2Freinput/lists"}