{"id":20755947,"url":"https://github.com/henryquan/react-native-shifting-text","last_synced_at":"2026-05-15T22:04:42.084Z","repository":{"id":41722907,"uuid":"236922825","full_name":"HenryQuan/react-native-shifting-text","owner":"HenryQuan","description":"My first animated component that updates the text component with some animations","archived":false,"fork":false,"pushed_at":"2023-01-05T06:19:45.000Z","size":2983,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T15:52:22.584Z","etag":null,"topics":["animation","react-native"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/HenryQuan.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":"2020-01-29T07:01:15.000Z","updated_at":"2021-01-03T03:56:43.000Z","dependencies_parsed_at":"2023-02-03T15:15:59.313Z","dependency_job_id":null,"html_url":"https://github.com/HenryQuan/react-native-shifting-text","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/HenryQuan%2Freact-native-shifting-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryQuan%2Freact-native-shifting-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryQuan%2Freact-native-shifting-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryQuan%2Freact-native-shifting-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HenryQuan","download_url":"https://codeload.github.com/HenryQuan/react-native-shifting-text/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenryQuan%2Freact-native-shifting-text/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259080921,"owners_count":22802393,"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":["animation","react-native"],"created_at":"2024-11-17T09:28:04.119Z","updated_at":"2025-10-10T12:34:13.536Z","avatar_url":"https://github.com/HenryQuan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003ereact-native-shifting-text\u003c/h1\u003e\n\n![GIF sample for react-native-shifting-text](https://raw.githubusercontent.com/HenryQuan/react-native-shifting-text/master/sample.gif)\n\u003c/div\u003e\n\n## Why?\nThis was created because of my app, [WoWs Info](https://github.com/HenryQuan/WoWs-Info-Re). Basically, I change her name every major or minor update. That's why I wanted something that can change the name text every 2 or 3 seconds. I am not experience with `Animated` but somehow, it managed to work quite well.\n\n## The implementation\nThere is one label to the left which is `WoWs Info` in this case. To the right, there are two labels and `label 1` is on top of `label 2`. `label1` has absolute positioning but `label2` is relative. Since users could only see `label2` at the end, it is important to position `label2` properly. The animation is rather simple. Move label 1 up while fading out and move label 2 up while fading it. Reset, repeat and ???.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryquan%2Freact-native-shifting-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenryquan%2Freact-native-shifting-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryquan%2Freact-native-shifting-text/lists"}