Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
Gathering detailed insights and metrics for ngx-slider-2023
Self-contained, mobile friendly slider component for Angular based on angularjs-slider
npm install ngx-slider-2023
Typescript
Module System
Node Version
NPM Version
TypeScript (86.57%)
HTML (6.77%)
JavaScript (3.27%)
SCSS (3.19%)
Shell (0.21%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
399 Stars
475 Commits
180 Forks
8 Watchers
15 Branches
21 Contributors
Updated on Jul 05, 2025
Latest Version
0.0.3
Package Id
ngx-slider-2023@0.0.3
Unpacked Size
3.10 MB
Size
609.88 kB
File Count
61
NPM Version
9.7.2
Node Version
18.15.0
Published on
Jul 26, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
3
Website: https://angular-slider.github.io/ngx-slider/
Self-contained, mobile friendly slider component for Angular 6+ based on angularjs-slider.
NOTE: This component used to be known as ng5-slider before the v2.0.0 release. Starting with v2.0.0, it has been re-branded as ngx-slider, targeting Angular 6+. If you have been using the previous version in your app, please follow the instructions in UPGRADING.md. If you are sticking with the old version, it will continue to be available in the v1.2.x release line under the old name of ng5-slider. If you are looking for documentation for the old version, it is available as archived copy on Github.
Single slider - StackBlitz
Range slider - StackBlitz
Slider with ticks - StackBlitz
Customised slider - StackBlitz
Slider with custom style - StackBlitz
Vertical slider - StackBlitz
To add the slider to your Angular project:
npm install --save @angular-slider/ngx-slider
Once installed, add the slider to your app.module.ts
:
1import { NgxSliderModule } from '@angular-slider/ngx-slider'; 2 3... 4 5@NgModule({ 6 ... 7 imports: [ 8 ... 9 NgxSliderModule, 10 ... 11 ], 12 ... 13}) 14export class AppModule {}
Now you can use the slider component in your app components, for example in app.component.ts
:
1import { Options } from '@angular-slider/ngx-slider'; 2... 3 4@Component({...}) 5export class AppComponent { 6 value: number = 100; 7 options: Options = { 8 floor: 0, 9 ceil: 200 10 }; 11}
And in template file app.component.html
:
1<ngx-slider [(value)]="value" [options]="options"></ngx-slider>
Full API documentation is available on official website.
An overview of how to apply your own style to the slider is described in STYLING.md.
As 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.
In addition to mouse/touch events, the slider can also be controlled through keyboard. The available shortcuts are:
The slider allows for customising how to implement tooltips. See TOOLTIPS.md for more information.
Before reporting a new bug, please look at KNOWN_ISSUES.md for a list of known problems and their workarounds. New bugs reports for these problems will not be accepted.
You can report any bugs as Github issues.
Please 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. Please also provide the version of NPM package you are using.
For list of changes and bugfixes, see CHANGELOG.md.
If you would like to contribute to the project, see DEVELOPERS.md.
The project is licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
6 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 9
Reason
2 existing vulnerabilities detected
Details
Reason
Found 4/17 approved changesets -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More