{"id":25690682,"url":"https://github.com/csath/react-native-reanimated-text-input","last_synced_at":"2025-04-24T04:38:36.736Z","repository":{"id":41699200,"uuid":"245617249","full_name":"csath/react-native-reanimated-text-input","owner":"csath","description":"React Native text input component with a floating label - using  react-native-reanimated","archived":false,"fork":false,"pushed_at":"2023-01-05T09:20:00.000Z","size":3099,"stargazers_count":8,"open_issues_count":16,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T05:06:25.228Z","etag":null,"topics":["animated-text-input","react-native","react-native-reanimated-text-input","react-native-text-input","text-input"],"latest_commit_sha":null,"homepage":"","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/csath.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":"2020-03-07T11:05:20.000Z","updated_at":"2024-03-30T22:59:47.000Z","dependencies_parsed_at":"2023-02-03T22:31:43.690Z","dependency_job_id":null,"html_url":"https://github.com/csath/react-native-reanimated-text-input","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csath%2Freact-native-reanimated-text-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csath%2Freact-native-reanimated-text-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csath%2Freact-native-reanimated-text-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csath%2Freact-native-reanimated-text-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csath","download_url":"https://codeload.github.com/csath/react-native-reanimated-text-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240571032,"owners_count":19822413,"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":["animated-text-input","react-native","react-native-reanimated-text-input","react-native-text-input","text-input"],"created_at":"2025-02-24T22:50:48.406Z","updated_at":"2025-02-24T22:50:48.967Z","avatar_url":"https://github.com/csath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-reanimated-text-input [![npm](https://img.shields.io/npm/v/react-native-reanimated-text-input.svg)](https://npmjs.com/package/react-native-reanimated-text-input)  [![npm](https://img.shields.io/npm/dm/react-native-reanimated-text-input.svg)](https://npmjs.com/package/react-native-reanimated-text-input)\nReact Native text input component with a floating label - using  react-native-reanimated.\n\n## Peer Dependancies\n\n``` \nreact-native-reanimated \n```\n\n# Demo\n\n![Alt text](/demo.gif?raw=true \"AnimatedTextInput\")\n\n# Installation\n```\nyarn add react-native-reanimated-text-input\n```\n or \n```\nnpm install --save react-native-reanimated-text-input\n```\n\n# Usage\n```js\nimport Input from 'react-native-reanimated-text-input';\n\n \u003cInput\n          label={\"User name\"}\n          value={userName}\n          onChangeText={(t) =\u003e setUserName(t)}\n          activeColor={'green'}\n          activeLabelColor={'green'}\n          containerStyle={{ marginVertical: 20 }}\n          onBlur={() =\u003e !userName ? setUsernameError('User name is mandotory') : null}\n          error={usernameError}\n /\u003e\n ```\n # Prop-types\n \n | Prop name  |Type |\n| ------------- | ------------- |\n| error  | string - error text to display if any error available  |\n| errorColor  | color - color to decorate text input border and error text |\n| errorTextStyle  | Text style - styles to override error text styles  |\n| textInputStyle  | Input style - style obj to oveerride text input styles  |\n| containerStyle  | View style - style to override textinput container (EG: padding , margins)  |\n| labelTextStyle  | Text style -  styles to override label(placeholder) text style  |\n| isKeyboardInput  | boolean -  default true, if false this will not open keboard, instead give a callback via onPress if this is false  |\n| onPress  | function -  function to execute onPress in `isKeyboardInput = true` |\n| labelTextColor  | color -  default label(placeholder) color if labelTextStyle is not set  |\n| activeLabelColor  | color -  default label(placeholder) color if labelTextStyle is not set and label is floaing on top(text input is active) |\n| activeColor  | color -  border color when the text input is active |\n| {...props} | TextInput props - All react native text input props |\n\n# Example\n\ncheckout example/test directory and findout a react-native app.\n``` \nyarn android\n```\n or \n```\nyarn ios\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsath%2Freact-native-reanimated-text-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsath%2Freact-native-reanimated-text-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsath%2Freact-native-reanimated-text-input/lists"}