{"id":23135614,"url":"https://github.com/viewstools/animations","last_synced_at":"2025-07-07T02:07:02.420Z","repository":{"id":84373997,"uuid":"140006742","full_name":"viewstools/animations","owner":"viewstools","description":"Views animations wrapper around react-spring","archived":false,"fork":false,"pushed_at":"2018-10-24T19:12:52.000Z","size":30,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T04:45:27.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/viewstools.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":"2018-07-06T16:19:29.000Z","updated_at":"2018-10-24T19:12:53.000Z","dependencies_parsed_at":"2023-07-11T08:32:56.754Z","dependency_job_id":null,"html_url":"https://github.com/viewstools/animations","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/viewstools/animations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fanimations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fanimations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fanimations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fanimations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viewstools","download_url":"https://codeload.github.com/viewstools/animations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fanimations/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264000627,"owners_count":23542112,"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":[],"created_at":"2024-12-17T12:16:11.911Z","updated_at":"2025-07-07T02:07:02.396Z","avatar_url":"https://github.com/viewstools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @viewstools/animations\n\nAnimations wrapper around [react-spring](https://github.com/drcmda/react-spring)\nwith an API closer to what Views would use internally.\n\nFor React DOM we only expose a `Spring` component as in Views we do timing animations through CSS.\nUse it like:\n\n```\nimport { Spring } from '@viewstools/animations/dom'\n\n\u003cSpring bounciness={10} speed={20} delay={0} to={{paddingTop: props.isActive? 10 : 0 }}\u003e\n  {\n    styles =\u003e (\n      //... do something with the styles object  it will have the updated\n      // paddingTop value\n    )\n  }\n\u003c/Spring\u003e\n```\n\nFor React Native we expose a `Spring` and `Timing` instead. Spring is the same\ninterface that DOM has -just import it from `@viewstools/animations/native`.\nUse `Timing` like:\n\n```\nimport { Timing } from '@viewstools/animations/native'\n\n\u003cTiming duration={200} delay={0} to={{paddingTop: props.isActive? 10 : 0 }}\u003e\n  {\n    styles =\u003e (\n      //... do something with the styles object  it will have the updated\n      // paddingTop value\n    )\n  }\n\u003c/Timing\u003e\n```\n\nLicense MIT.\n(c) 2018 UXtemple Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fanimations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviewstools%2Fanimations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fanimations/lists"}