Description
ngx-drag-scroll, titled Angular Draggable Carousel on its repository page, is a lightweight Angular library that lets people scroll an element by dragging it. You add a drag-scroll attribute to a scrollable element, and add drag-scroll-item to each item if you want the items grouped into a carousel. The component and directive are standalone, so you import them into your module or component. The README lists the inputs for the scroll component. They include whether the scrollbar is hidden, whether dragging is disabled in one or both directions, whether horizontal mouse-wheel scrolling is enabled, and snapping options with an offset in pixels and a duration in milliseconds. Outputs report when the carousel reaches its left or right bound. The library needs Angular 5 or later and is installed from npm. The page has a demo that shows the drag behavior. The README also says the project is looking for maintainers. The source is public on GitHub. It suits Angular apps that need drag-to-scroll galleries or carousels.…
Highlights
- Drag to scroll any element
- Grouped carousel items
- Snap with offset and duration
- Events for left and right bounds
- Standalone component and directive
Ratings & Reviews
No ratings yet
Be the first to rate ngx-drag-scroll.
People also visit

@MurhafSousli/ngx-gallery
Simplifies the process of creating beautiful image galleries for the web
ngx-drag-scroll FAQ
What is ngx-drag-scroll?
An Angular library for scrolling content by dragging, with optional carousel snapping.
Which Angular version does it need?
The README says Angular 5 or later.
How do I add it?
Install it from npm, import DragScrollComponent and DragScrollItemDirective, then add the drag-scroll attributes to your markup.
Is it maintained?
The README says the project is looking for maintainers.
What are the best ngx-drag-scroll alternatives?
Popular alternatives to ngx-drag-scroll include ngx-slider, ngu-carousel and ngx-slick-carousel. See all ngx-drag-scroll alternatives


















