{"id":13808216,"url":"https://github.com/angular-slider/ngx-slider","last_synced_at":"2025-05-14T07:08:21.325Z","repository":{"id":38810639,"uuid":"131143780","full_name":"angular-slider/ngx-slider","owner":"angular-slider","description":"Self-contained, mobile friendly slider component for Angular based on angularjs-slider","archived":false,"fork":false,"pushed_at":"2025-04-30T18:28:01.000Z","size":7415,"stargazers_count":400,"open_issues_count":89,"forks_count":180,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-03T10:42:18.702Z","etag":null,"topics":["angular","component","slider","ui"],"latest_commit_sha":null,"homepage":"https://angular-slider.github.io/ngx-slider/","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/angular-slider.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-26T11:09:10.000Z","updated_at":"2025-04-23T08:33:37.000Z","dependencies_parsed_at":"2024-01-14T15:26:17.802Z","dependency_job_id":"795a04b7-d6b4-4302-8afa-5b415002ce52","html_url":"https://github.com/angular-slider/ngx-slider","commit_stats":{"total_commits":412,"total_committers":22,"mean_commits":"18.727272727272727","dds":0.09466019417475724,"last_synced_commit":"14291a9e45670372aa6fe4f8799fc8fc630e8355"},"previous_names":["angular-slider/ng5-slider"],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-slider%2Fngx-slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-slider%2Fngx-slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-slider%2Fngx-slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-slider%2Fngx-slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-slider","download_url":"https://codeload.github.com/angular-slider/ngx-slider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092659,"owners_count":22013290,"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","component","slider","ui"],"created_at":"2024-08-04T01:01:37.623Z","updated_at":"2025-05-14T07:08:21.304Z","avatar_url":"https://github.com/angular-slider.png","language":"TypeScript","readme":"# ngx-slider\n[![npm version](https://badge.fury.io/js/%40angular-slider%2Fngx-slider.svg)](https://badge.fury.io/js/%40angular-slider%2Fngx-slider)\n\nWebsite: https://angular-slider.github.io/ngx-slider/\n\nDiscord: https://discord.gg/DHsDghZRwZ\n\n\nSelf-contained, mobile friendly slider component for Angular based on [angularjs-slider](https://github.com/angular-slider/angularjs-slider).\n\n**NOTE:** As of v19.0.0, this project is not being actively maintained. If you wish to become a maintainer, get in touch on [the dedicated Discord server](https://discord.gg/DHsDghZRwZ).\n\n## Dependencies\n\n| ngx-slider    | Angular     | RxJS        | Actively supported |\n| ------------- | ----------- | ----------- | ------------------ |\n| 2.0.x         | 6.x - 12.x  | 6.x         | No                 |\n| 13.x          | 13.x        | 6.x         | No                 |\n| 14.x          | 14.x        | 6.x         | No                 |\n| 15.x          | 15.x        | 7.x         | No                 |\n| 16.x          | 16.x        | 7.x         | No                 |\n| 17.x          | 17.x        | 7.x         | Yes                |\n| 18.x          | 18.x        | 7.x         | Yes                |\n| 19.x          | 19.x        | 7.x         | Yes                |\n\n*Note:* Like with Angular only the latest 3 versions are actively supported.\n\n## Demos\n\n * Single slider - [StackBlitz](https://stackblitz.com/edit/ngx-slider-simple-slider-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![simple slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/simple-slider.png)\n\n * Range slider - [StackBlitz](https://stackblitz.com/edit/ngx-slider-range-slider-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![range slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/range-slider.png)\n\n * Slider with ticks - [StackBlitz](https://stackblitz.com/edit/ngx-slider-ticks-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![ticks slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/ticks-slider.png)\n\n * Customised slider - [StackBlitz](https://stackblitz.com/edit/ngx-slider-customised-range-slider-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![customised slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/customised-slider.png)\n\n * Slider with custom style - [StackBlitz](https://stackblitz.com/edit/ngx-slider-styled-slider-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![styled slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/styled-slider.png)\n\n * Vertical slider - [StackBlitz](https://stackblitz.com/edit/ngx-slider-vertical-slider-example?file=src%2Fapp%2Fapp.component.ts)\n\n   ![vertical slider image](https://raw.githubusercontent.com/angular-slider/ngx-slider/master/assets/vertical-slider.png)\n\n * [More examples on official website](https://angular-slider.github.io/ngx-slider/demos)\n\n## Installation\n\nTo add the slider to your Angular project:\n\n```\nnpm install --save @angular-slider/ngx-slider\n```\n\nOnce installed, add the slider to your `app.module.ts`:\n\n```typescript\nimport { NgxSliderModule } from '@angular-slider/ngx-slider';\n\n...\n\n@NgModule({\n   ...\n   imports: [\n     ...\n     NgxSliderModule,\n    ...\n   ],\n   ...\n})\nexport class AppModule {}\n```\n\n## Sample usage\n\nNow you can use the slider component in your app components, for example in `app.component.ts`:\n\n```typescript\nimport { Options } from '@angular-slider/ngx-slider';\n...\n\n@Component({...})\nexport class AppComponent {\n  value: number = 100;\n  options: Options = {\n    floor: 0,\n    ceil: 200\n  };\n}\n```\n\nAnd in template file `app.component.html`:\n```html\n\u003cngx-slider [(value)]=\"value\" [options]=\"options\"\u003e\u003c/ngx-slider\u003e\n```\n\n## Documentation\n\nFull API documentation is available on [official website](https://angular-slider.github.io/ngx-slider/docs).\n\n## Styling\n\nAn overview of how to apply your own style to the slider is described in [STYLING.md](STYLING.md).\n\n## Animations\n\nAs of v1.2.0 the slider features CSS animations of slider movement. If you prefer the previous behaviour, without animations, you can set the flag `animate: false` in your slider options.\n\n## Keyboard Shortcuts\n\nIn addition to mouse/touch events, the slider can also be controlled through keyboard. The available shortcuts are:\n\n - right/up arrow - increase by single step,\n - left/down arrow - decrease by single step,\n - page up - increase by 10% of slider range,\n - page down - decrease by 10% of slider range,\n - home - move to minimum value,\n - end - move to maximum value.\n\n## Tooltips\n\nThe slider allows for customising how to implement tooltips. See [TOOLTIPS.md](TOOLTIPS.md) for more information.\n\n## Known Issues\n\nBefore reporting a new bug, please look at [KNOWN_ISSUES.md](KNOWN_ISSUES.md) for a list of known problems and their workarounds. New bugs reports for these problems will not be accepted.\n\n## Bugs\n\nYou can report any bugs as [Github issues](https://github.com/angular-slider/ngx-slider/issues).\n\nPlease describe the issue in detail pasting any relevant code, or preferrably a StackBlitz with reproduction of the problem by [forking and editing this sample StackBlitz](https://stackblitz.com/edit/ngx-slider-simple-slider-example?file=src/app/app.component.ts). Please also provide the version of NPM package you are using.\n\n## Changelog\n\nFor list of changes and bugfixes, see [CHANGELOG.md](CHANGELOG.md).\n\n## Developer information\n\nIf you would like to contribute to the project, see [DEVELOPERS.md](DEVELOPERS.md).\n\n## License\n\nThe project is licensed under the MIT license.\n\n## Upgrading\n\nFor instructions on upgrading from previous (1.x) versions of the library, see [UPGRADING.md](UPGRADING.md).","funding_links":[],"categories":["TypeScript","Third Party Components"],"sub_categories":["Carousels"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-slider%2Fngx-slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-slider%2Fngx-slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-slider%2Fngx-slider/lists"}