Components / component
Drag Carousel
A row of slides you can drag with a mouse, scroll with touch or a trackpad, and step through with the arrow keys.

Implementation
A row of slides you can drag with a mouse, scroll with touch or a trackpad, and step through with the arrow keys.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A row of slides you can drag with a mouse, scroll with touch or a trackpad, and step through with the arrow keys.
Frequently asked questions
Does the carousel use native scrolling?
Yes. It is an ordinary scrolling region with snapping, so touch, trackpads and the keyboard behave as people expect. Only a mouse gets the extra drag with momentum.
Can a drag accidentally open a link?
No. After a drag, the click that would follow is swallowed, so the slide under the pointer is not opened.