{"id":21851817,"url":"https://github.com/synapsium/ngx-scrollbar","last_synced_at":"2026-01-30T01:36:35.981Z","repository":{"id":35030012,"uuid":"159390619","full_name":"Synapsium/ngx-scrollbar","owner":"Synapsium","description":"Customizable and lightweight scrollbar Angular library based on native browser scrollbar","archived":false,"fork":false,"pushed_at":"2023-08-12T08:13:03.000Z","size":764,"stargazers_count":2,"open_issues_count":27,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T10:05:01.703Z","etag":null,"topics":["angular","chrome","firefox","ie","lightweight","ngx-scrollbar","opera","scrollbar"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Synapsium.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-11-27T19:50:08.000Z","updated_at":"2023-08-09T19:26:30.000Z","dependencies_parsed_at":"2023-01-15T12:21:58.219Z","dependency_job_id":null,"html_url":"https://github.com/Synapsium/ngx-scrollbar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synapsium%2Fngx-scrollbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synapsium%2Fngx-scrollbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synapsium%2Fngx-scrollbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synapsium%2Fngx-scrollbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synapsium","download_url":"https://codeload.github.com/Synapsium/ngx-scrollbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290583,"owners_count":20753724,"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":["angular","chrome","firefox","ie","lightweight","ngx-scrollbar","opera","scrollbar"],"created_at":"2024-11-28T01:11:25.724Z","updated_at":"2026-01-30T01:36:35.902Z","avatar_url":"https://github.com/Synapsium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg height=\"200px\" width=\"200px\"  src=\"https://raw.githubusercontent.com/Synapsium/ngx-scrollbar/master/assets/images/ngx-scrollbar-logo.png\"\u003e\n  \u003ca href=\"https://synapsium.com\"\u003e\n    \u003ch1 align=\"center\"\u003engx-scrollbar\u003c/h1\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nNgx-scrollbar is a customizable and lightweight scrollbar based on native browser scrollbar for Angular.\n\u003c/p\u003e\n\n## Setup\n\n### Installation\n\nInstall `ngx-scrollbar` library from `npm`\n\n```bash\nnpm install @synapsium/ngx-scrollbar --save\n```\n\n### Style\n\nImport ngx-scrollbar style into your project `styles.css`\n\n```javascript\n@import '../node_modules/@synapsium/ngx-scrollbar/styles/styles.scss';\n```\n\n### Module usage\n\nAdd `ScrollbarModule` to module\n\n```javascript\nimport { ScrollbarModule, ScrollbarConfig, SCROLLBAR_CONFIG } from '@synapsium/ngx-scrollbar';\n\nconst DEFAULT_SCROLLBAR_CONFIG: ScrollbarConfig = {\n  autoHide: true,\n  trackbarMinThickness: 17,\n  trackbarMaxThickness: 20,\n  barMinSize: 20\n};\n\n@NgModule({\n  ...\n  imports: [\n    ...\n    ScrollbarModule\n  ],\n  providers: [\n    {\n      provide: SCROLLBAR_CONFIG,\n      useValue: DEFAULT_SCROLLBAR_CONFIG\n    }\n  ]\n})\n```\n\n## How to use\n\nAdd `scrollbar` directive to the container\n\n```html\n\u003cdiv scrollbar \n    [auto-hide]=\"false\"\u003e\n    \u003c!-- Your content here... --\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynapsium%2Fngx-scrollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynapsium%2Fngx-scrollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynapsium%2Fngx-scrollbar/lists"}