{"id":28089262,"url":"https://github.com/suchox/react-native-typewriter","last_synced_at":"2025-05-13T12:55:42.231Z","repository":{"id":153612224,"uuid":"630021079","full_name":"suchoX/react-native-typewriter","owner":"suchoX","description":"React Native text component with animated typewriter effect","archived":false,"fork":false,"pushed_at":"2023-06-14T10:14:10.000Z","size":600,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T16:37:53.691Z","etag":null,"topics":["android","animation","ios","javascript","react-native","typescript"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/suchoX.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":"2023-04-19T13:58:04.000Z","updated_at":"2025-03-26T07:54:07.000Z","dependencies_parsed_at":"2024-09-25T11:41:26.183Z","dependency_job_id":"86f9cdc3-12f4-4573-9c25-778d36b71afe","html_url":"https://github.com/suchoX/react-native-typewriter","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/suchoX%2Freact-native-typewriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchoX%2Freact-native-typewriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchoX%2Freact-native-typewriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchoX%2Freact-native-typewriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suchoX","download_url":"https://codeload.github.com/suchoX/react-native-typewriter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948333,"owners_count":21988953,"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":["android","animation","ios","javascript","react-native","typescript"],"created_at":"2025-05-13T12:55:41.513Z","updated_at":"2025-05-13T12:55:42.223Z","avatar_url":"https://github.com/suchoX.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Typewriter\n\nReact Native text component with animated typewriter effect.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/suchoX/react-native-typewriter/blob/main/assets/demo.gif\"\u003e\u003c/p\u003e\n\n# Installation\n\n```bash\nyarn add @sucho/react-native-typewriter\n```\n\nOR\n\n```bash\nnpm install --save @sucho/react-native-typewriter\n```\n\n# Usage\n\nAdd the `Typewriter` component to your app\n\n```javascript\nimport React from 'react'\nimport { StyleSheet, View } from 'react-native'\nimport TypeWriter from '@sucho/react-native-typewriter'\n\nconst BACKGROUND = '#263238'\nconst WHITE = '#ffffff'\nconst PINK = '#c2185b'\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    padding: 24,\n    backgroundColor: BACKGROUND,\n    justifyContent: 'center',\n  },\n  typeWriterText: {\n    color: WHITE,\n    fontSize: 24,\n  },\n  typeWriterCursorText: {\n    color: PINK,\n    fontSize: 24,\n  },\n})\n\nconst App = () =\u003e {\n  return (\n    \u003cView style={styles.container}\u003e\n      \u003cTypeWriter\n        textArray={['Hello', 'How', 'Are', 'You', 'Doing?']}\n        loop\n        speed={200}\n        delay={500}\n        textStyle={styles.typeWriterText}\n        cursorStyle={styles.typeWriterCursorText}\n      /\u003e\n    \u003c/View\u003e\n  )\n}\n```\n\n# Documentation\n\nThe Typewriter has the following props\n\n## text (Mandatory)\n\ntype: `Array of Strings`\n\nThe Typerwriter component will animate each string one by one. If there's only one string, just pass a single string as a single item of the array\n\n## loop\n\ntype: `boolean` default: `false`\n\nAfter all the strings have been types out, the Text will start looping from the beginning if loop=true. Else, the string will be left visible\n\n## speed\n\ntype: `number` default: `300`\n\nThe speed of the typing animation. Lower value is higher speed\n\n## delay\n\ntype: `number` default: `40`\n\nDelay between two strings in the text array\n\n## textStyle\n\ntype: `TextStyle`\n\nStyle of the Text being typed\n\n## cursorStyle\n\ntype: `TextStyle`\n\nStyle of the blinking cursor\n\n## License\n\nReleased under the MIT license. See [LICENSE](https://github.com/suchoX/react-native-type-writer/blob/main/LICENSE) for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchox%2Freact-native-typewriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuchox%2Freact-native-typewriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchox%2Freact-native-typewriter/lists"}