{"id":19730282,"url":"https://github.com/lnardon/animatedtext","last_synced_at":"2026-01-04T07:37:44.940Z","repository":{"id":204786929,"uuid":"712661492","full_name":"lnardon/AnimatedText","owner":"lnardon","description":"A React.js component to add animation to your text letters. Available as a npm package.","archived":false,"fork":false,"pushed_at":"2024-09-17T23:34:38.000Z","size":9260,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T09:24:34.782Z","etag":null,"topics":["animation","css","javascript","keyframes-animation","letters","npm","package","reactjs","text-animation","typescript"],"latest_commit_sha":null,"homepage":"https://lnardon.github.io/AnimatedText/","language":"CSS","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/lnardon.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":"2023-10-31T23:31:01.000Z","updated_at":"2024-09-17T23:34:42.000Z","dependencies_parsed_at":"2023-11-15T05:31:38.326Z","dependency_job_id":"402f8962-58f5-49c0-be0f-e921e731389f","html_url":"https://github.com/lnardon/AnimatedText","commit_stats":null,"previous_names":["lnardon/animatedtext"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FAnimatedText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FAnimatedText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FAnimatedText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnardon%2FAnimatedText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnardon","download_url":"https://codeload.github.com/lnardon/AnimatedText/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251611685,"owners_count":21617444,"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","css","javascript","keyframes-animation","letters","npm","package","reactjs","text-animation","typescript"],"created_at":"2024-11-12T00:15:45.905Z","updated_at":"2026-01-04T07:37:44.518Z","avatar_url":"https://github.com/lnardon.png","language":"CSS","readme":"# **Animated Text Letters**\n\nAnimate each letter in your text with a simple 0 dependencies React.js component.\n\n\u003cimg src=\"./docs/demo.gif\" /\u003e\n\n**Access the live demo here https://lnardon.github.io/AnimatedText and try different configurations.**\n\n## **Install**\n\n```bash\nnpm install animated-text-letters\n```\n\nThe package comes with 13 animations:\n\n- fade-in\n- pop-up\n- slide-up\n- slide-down\n- slide-left\n- slide-right\n- rotate-clockwise\n- rotate-counter-clockwise\n- reveal-up\n- reveal-down\n- reveal-left\n- reveal-right\n- random\n\n## **Usage**\n\n```tsx\nimport AnimatedText from \"animated-text-letters\";\nimport \"animated-text-letters/index.css\";\n\n\u003cAnimatedText\n  text=\"Animated Text Demo\"\n  animation=\"slide-down\"\n  delay={32}\n  easing=\"ease\"\n  transitionOnlyDifferentLetters={true}\n  animationDuration={1000}\n/\u003e;\n```\n\n| Prop                             | Type                                                                                                                                                                   | Default Value | Description                                                                                                |\n| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------- |\n| `text`                           | `string`                                                                                                                                                               | _Required_    | The text string to be animated. This prop is required and does not have a default value.                   |\n| `animation`                      | `\"fade-in\"`\u003cbr\u003e`\"pop-up\"`\u003cbr\u003e`\"slide-up\"`\u003cbr\u003e`\"slide-down\"`\u003cbr\u003e`\"slide-left\"`\u003cbr\u003e`\"slide-right\"`\u003cbr\u003e`\"rotate-clockwise\"`\u003cbr\u003e`\"rotate-counter-clockwise\"`\u003cbr\u003e`\"random\"` | `\"fade-in\"`   | Specifies the animation type. Choose from fade-in, pop-up, slide directions, rotate directions, or random. |\n| `delay`                          | `number`                                                                                                                                                               | `32`          | The delay between each letter animation, in milliseconds.                                                  |\n| `easing`                         | `\"linear\"`\u003cbr\u003e`\"ease\"`\u003cbr\u003e`\"ease-in\"`\u003cbr\u003e`\"ease-out\"`\u003cbr\u003e`\"ease-in-out\"`\u003cbr\u003eor custom CSS values                                                                       | `\"ease\"`      | Defines the acceleration curve for the animation, for natural or dynamic movements.                        |\n| `transitionOnlyDifferentLetters` | `boolean`                                                                                                                                                              | `false`       | If true, animation applies only to letters that change when the `text` prop updates.                       |\n| `animationDuration`              | `number`                                                                                                                                                               | `1000`        | The duration of the entire text animation, in milliseconds.                                                |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnardon%2Fanimatedtext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnardon%2Fanimatedtext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnardon%2Fanimatedtext/lists"}