{"id":25696697,"url":"https://github.com/tizee/tz-scrollto","last_synced_at":"2026-02-13T02:01:57.031Z","repository":{"id":106361176,"uuid":"286181336","full_name":"tizee/tz-scrollto","owner":"tizee","description":"A simple scroll-to plugin for my blog.","archived":false,"fork":false,"pushed_at":"2020-08-09T08:11:27.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T06:48:34.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/tizee.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-08-09T06:35:26.000Z","updated_at":"2020-08-09T08:11:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f109287-fc63-49ff-ac53-6593a69f2299","html_url":"https://github.com/tizee/tz-scrollto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"tizee/ts-rollup-boilerplate","purl":"pkg:github/tizee/tz-scrollto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizee%2Ftz-scrollto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizee%2Ftz-scrollto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizee%2Ftz-scrollto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizee%2Ftz-scrollto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tizee","download_url":"https://codeload.github.com/tizee/tz-scrollto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizee%2Ftz-scrollto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29392792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"online","status_checked_at":"2026-02-13T02:00:10.076Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-25T01:55:01.279Z","updated_at":"2026-02-13T02:01:57.026Z","avatar_url":"https://github.com/tizee.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch3\u003etz-scrollto\u003c/h3\u003e\n\u003cp\u003ea scroll-to plugin for my blog\u003c/p\u003e\n\n\u003c/div\u003e\n\n## Motivation\n\nEnhance in-page navigation experience by scrolling to the element that the `\u003ca href=\"#hashtag\"\u003e` linked to so that it feels like taking an elevator.\n\n## Usage\n\nI used this plugin in my blog's React component.\n\n```jsx\nimport TzScrollTo from 'tz-scrollto'\n\n...\n\u003ca href=\"#test\" onClick={e=\u003e{\n    e.preventDefault();\n    tzScrollTo(e.target,{\n        // millisecond\n        duration: 600,\n        // timing function\n        // maybe it's overkill to use a spring animation library like `react-spring`\n        easing: 'linear'\n    })\n    }}\n/\u003e\n\n...\n\n```\n\n### spring animation\n\nFor those who want to use spring animations, I'd recommend `react-spring`, `react-motion`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizee%2Ftz-scrollto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftizee%2Ftz-scrollto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizee%2Ftz-scrollto/lists"}