{"id":21229762,"url":"https://github.com/pansyjs/custom-scrollbar","last_synced_at":"2026-05-20T02:50:59.116Z","repository":{"id":200931693,"uuid":"703085519","full_name":"pansyjs/custom-scrollbar","owner":"pansyjs","description":"自定义您的滚动条样式","archived":false,"fork":false,"pushed_at":"2024-05-23T04:12:08.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-23T04:31:51.557Z","etag":null,"topics":["component","custom-scrollbar","react","scrollbar"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pansyjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-10T15:09:12.000Z","updated_at":"2024-05-23T04:12:11.000Z","dependencies_parsed_at":"2024-01-24T11:31:49.933Z","dependency_job_id":"119f27d9-c81c-4046-a3f2-c7fe9f93ab46","html_url":"https://github.com/pansyjs/custom-scrollbar","commit_stats":null,"previous_names":["pansyjs/scrollbars-custom"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Fcustom-scrollbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Fcustom-scrollbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Fcustom-scrollbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Fcustom-scrollbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pansyjs","download_url":"https://codeload.github.com/pansyjs/custom-scrollbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672487,"owners_count":20328768,"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":["component","custom-scrollbar","react","scrollbar"],"created_at":"2024-11-20T23:29:26.336Z","updated_at":"2026-05-20T02:50:59.016Z","avatar_url":"https://github.com/pansyjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  @pansy/custom-scrollbar-react\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  自定义您的滚动条样式。\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/pansyjs/custom-scrollbar/network\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/pansyjs/custom-scrollbar.svg\" alt=\"Forks\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/pansyjs/custom-scrollbar/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/pansyjs/custom-scrollbar.svg\" alt=\"Stars\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@pansy/custom-scrollbar-react\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@pansy/custom-scrollbar-react.svg\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/umijs/father\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/build%20with-father-028fe4.svg\" alt=\"Build With father\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://d.umijs.org/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/docs%20by-dumi-blue\" alt=\"docs by dumi\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## 🏗 安装\n\n```sh\n# npm install\n$ npm install @pansy/custom-scrollbar-react --save\n\n# yarn install\n$ yarn add @pansy/custom-scrollbar-react\n\n# pnpm install\n$ pnpm i @pansy/custom-scrollbar-react\n```\n\n## 🔨 使用\n\n```tsx\nimport CustomScrollbar from '@pansy/custom-scrollbar-react';\nimport '@pansy/custom-scrollbar-react/scrollbar.less';\n\nexport default () =\u003e {\n  return (\n    \u003cCustomScrollbar\n      style={{\n        maxHeight: 300,\n      }}\n    \u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n      \u003cp\u003e123\u003c/p\u003e\n      \u003cp\u003e124\u003c/p\u003e\n    \u003c/CustomScrollbar\u003e\n  )\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpansyjs%2Fcustom-scrollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpansyjs%2Fcustom-scrollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpansyjs%2Fcustom-scrollbar/lists"}