{"id":46324452,"url":"https://github.com/runkids/vue-scroll-up","last_synced_at":"2026-03-04T16:07:28.690Z","repository":{"id":32800734,"uuid":"143036334","full_name":"runkids/vue-scroll-up","owner":"runkids","description":":cyclone: A scroll to top component for Vue 3","archived":false,"fork":false,"pushed_at":"2023-01-08T01:26:31.000Z","size":2583,"stargazers_count":10,"open_issues_count":14,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T09:31:14.132Z","etag":null,"topics":["button-animation","component","scroll","scroll-to-top","vue","vue3"],"latest_commit_sha":null,"homepage":"https://github.com/runkids/vue-scroll-up","language":"JavaScript","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/runkids.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-07-31T15:56:08.000Z","updated_at":"2023-10-15T22:01:38.000Z","dependencies_parsed_at":"2023-01-14T22:30:28.585Z","dependency_job_id":null,"html_url":"https://github.com/runkids/vue-scroll-up","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/runkids/vue-scroll-up","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runkids%2Fvue-scroll-up","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runkids%2Fvue-scroll-up/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runkids%2Fvue-scroll-up/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runkids%2Fvue-scroll-up/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runkids","download_url":"https://codeload.github.com/runkids/vue-scroll-up/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runkids%2Fvue-scroll-up/sbom","scorecard":{"id":789802,"data":{"date":"2022-08-15","repo":{"name":"github.com/runkids/vue-scroll-up","commit":"3e51499c7aa16c7ad678d81a9c5d02b3274eab51"},"scorecard":{"version":"v4.5.0-26-g10b6052","commit":"10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93"},"score":6.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) out of 30 and 0 issue activity out of 3 found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#maintained"}},{"name":"Code-Review","score":8,"reason":"GitHub code reviews found for 25 commits out of the last 30 -- score normalized to 8","details":["Warn: no reviews found for commit: 96c937e3636ce0c0875c28b5b7cc90c7fd284901","Warn: no reviews found for commit: eac4441898aa59103ded203f72221596514ca8e8","Warn: no reviews found for commit: d5c76c65285297c7a40369be3f825789ad901780","Warn: no reviews found for commit: 0401093bd911467c4fd28220f2a6c1fb86b2aa20","Warn: no reviews found for commit: 89a2fca02f4d76b9bb51a7dc2baaae62b7fb0843"],"documentation":{"short":"Determines if the project requires code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no badge detected","details":null,"documentation":{"short":"Determines if the project has a CII Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"no vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":-1,"reason":"no published package detected","details":["Warn: no GitHub publishing workflow detected"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":10,"reason":"tokens are read-only in GitHub workflows","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: : LICENSE:1"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#license"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info: GitHub-owned GitHubActions are pinned","Info: Third-party GitHubActions are pinned","Info: Dockerfile dependencies are pinned","Info: no insecure (not pinned by hash) dependency downloads found in Dockerfiles","Info: no insecure (not pinned by hash) dependency downloads found in shell scripts"],"documentation":{"short":"Determines if the project has declared and pinned its dependencies.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":["Warn: no GitHub releases found"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":null,"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#security-policy"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: Dependabot detected"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":null,"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/10b6052acfb4f0b8136bc4876cb6f5b6f26bfe93/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-23T07:11:17.601Z","repository_id":32800734,"created_at":"2025-08-23T07:11:17.602Z","updated_at":"2025-08-23T07:11:17.602Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30085993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["button-animation","component","scroll","scroll-to-top","vue","vue3"],"created_at":"2026-03-04T16:07:27.984Z","updated_at":"2026-03-04T16:07:28.676Z","avatar_url":"https://github.com/runkids.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-scroll-up \n[![vue3](https://img.shields.io/badge/vue-3.x-brightgreen.svg)](https://vuejs.org/) [![npm](https://img.shields.io/npm/v/vue-scroll-up.svg)](https://www.npmjs.com/package/vue-scroll-up)  [![Version](https://img.shields.io/npm/v/vue-scroll-up/next.svg)](https://www.npmjs.com/package/vue-scroll-up) [![npm](https://img.shields.io/npm/dt/vue-scroll-up.svg)](https://www.npmjs.com/package/vue-scroll-up) [![npm](https://img.shields.io/npm/l/vue-scroll-up.svg)](https://github.com/runkids/Vue-Scroll-Up/blob/master/LICENSE)\n\n\u003e Scroll up component for Vue 3.\n\n\u003cimg src=\"https://i.imgur.com/OOlKiny.gif\"/\u003e\n\n## Installation \nGet from npm / yarn:\n```js\nnpm i vue-scroll-up@next\n```\n```js\nyarn add vue-scroll-up@next\n```\n[👉  Vue 2 version check here](https://github.com/runkids/vue-scroll-up/tree/master/VUE2_README.md)\n\n## Usage\nUse inside your app:\n``` js\nimport VueScrollUp from 'vue-scroll-up'\n\nexport default {\n  components: {\n    VueScrollUp,\n  }\n}\n```\nOr\n\n``` js\nimport VueScrollUp from 'vue-scroll-up'\n\nconst app = createApp({});\n\napp.component(VueScrollUp.name, VueScrollUp);\n```\n##### HTML\n```html\n\u003cvue-scroll-up \n  tag=\"div\"\n  custom-class=\"vue-scroll-up\"\n  :scroll-duration=\"1000\"\n  :scroll-y=\"250\"\n  :always-show=\"false\"\n/\u003e\n```\n\n##### Use Slot\n```html\n\u003cvue-scroll-up\n  v-slot=\"{ isTop }\"\n  :always-show=\"true\"\n\u003e\n  {{ isTop ? '👇' : '👆' }}\n\u003c/vue-scroll-up\u003e\n\n\u003cvue-scroll-up\n  v-slot=\"{ pointer }\"\n  :always-show=\"true\"\n\u003e\n  {{ pointer }}\n\u003c/vue-scroll-up\u003e\n```\n##### Design your scroll button [👉  See example here](https://github.com/runkids/vue-scroll-up/tree/master/example/app.vue)\n\u003cimg src=\"https://imgur.com/K0eFAYX.gif\"/\u003e\n\n1. Add your custom class name\n  ```html\n  \u003cvue-scroll-up custom-class=\"my-scroll-up\" /\u003e\n  ```\n2. Add CSS\n```css\n.my-scroll-up {\n  align-items: center;\n  background-color: rgba(0, 0, 0, 0.658);\n  border: rgba(0, 0, 0, 0.658);\n  border-radius: 100px;\n  bottom: 100px;\n  color: white;\n  cursor: pointer;\n  display: flex;\n  height: 55px;\n  justify-content: center;\n  position: fixed;\n  right: 10px;\n  width: 55px;\n  z-index: 99;\n}\n\n.my-scroll-up::after {\n  border: 2px solid white;\n  border-radius: 10px;\n  content: '';\n  display: block;\n  height: 25px;\n  margin: 0 auto;\n  width: 10px;\n}\n\n.my-scroll-up::before {\n  animation: 2s top infinite;\n  border: 1px solid white;\n  border-radius: 10px;\n  content: '';\n  display: block;\n  height: 10px;\n  left: 49%;\n  position: absolute;\n  width: 0;\n}\n\n@keyframes top {\n  0% {\n    opacity: 0;\n    transform: translateY(10px);\n  }\n\n  100% {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n\n@media screen and (max-width: 450px) {\n  .vue-scroll-up {\n    bottom: 10px;\n    transform: translateX(5px) scale(0.7);\n  }\n}\n```\n## Attributes\n\n| Parameter  |  Type | Defaults |  Description |\n| ------------ | ------------ | ------------ | ------------ |\n| tag  |  `string`  |  `span`  | Default render element.|\n| custom-class  |  `string`  |  `vue-scroll-up`    | Custom your class name.|\n|scroll-duration  |  `number`  |  `200`  | Page to top speed.|\n| scroll-y  |  `number`  |  `250`    | Show button when scrollY equals a number.|\n| always-show  |  `boolean`  |  `false`    | Always show button even scroll to top.|\n\n## Slot\n\n| Name  |  Description |\n| ------------ | ------------ |\n| isTop  |  Scroll button is top.|\n| pointer | Value of scroll y.|","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunkids%2Fvue-scroll-up","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunkids%2Fvue-scroll-up","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunkids%2Fvue-scroll-up/lists"}