Keen Slider GitHub Guide for Developers
A complete walkthrough of the Keen Slider GitHub repository. Learn how to clone, fork, and contribute to this powerful open-source carousel library.
Read Guide →Keen Slider is a free, open-source JavaScript carousel library with native touch support, zero dependencies, and framework adapters for React, Vue, and Angular. Build any slider in minutes.
ProfWiz is the official distribution home for Keen Slider — a production-grade JavaScript carousel library engineered for developers who need a fast, flexible, and dependency-free slider solution. Whether you're building an image gallery, a product showcase, or a hero rotator, Keen Slider adapts to your design system rather than forcing you into its own.
The library weighs under 10 KB gzipped, ships with first-class TypeScript definitions, and offers dedicated hooks for React and Vue as well as clean integration patterns for Angular. Its plugin architecture means you add only the features your project actually needs — autoplay, thumbnail sync, marquee mode, or custom animations — without bloating your bundle.
ProfWiz exists to make Keen Slider as easy to discover, download, and get started with as possible. You'll find detailed setup guides, framework-specific tutorials, and working code examples all in one place.
Keen Slider ships with the right set of primitives and stays out of the rest.
Native pointer, mouse, and touch events handled automatically. Works on every device without extra configuration.
Keen Slider has no runtime dependencies. Import one file and you have a complete carousel library.
Define different slide counts and spacing at each breakpoint using familiar CSS media query syntax.
Full TypeScript definitions included. Get autocomplete and type checking without any extra setup.
Enable infinite looping with a single option. The slider reorders slides seamlessly for continuous scrolling.
Add time-based auto-advancement with pause on hover, drag cancellation, and accessible stop controls.
React useKeenSlider hook and Vue useKeenSlider composable ship in the same package. No separate installs.
Switch to a vertical drag axis for news tickers, vertical galleries, and scroll-snapped lists.
Build fade transitions, scale effects, or 3D flips through the animation callback API.
From zero to a working carousel in under five minutes, no prior setup required.
Get Keen Slider via the Download button above, or run npm install keen-slider in your project.
Add keen-slider.min.css to your page head or import it in your JS bundle entry point.
Create a container with class keen-slider. Each direct child with keen-slider__slide becomes a slide.
Call new KeenSlider('#selector', options) or use the React/Vue hook for your framework.
Set loop, slides.perView, breakpoints, and any plugins you need in the options object.
That's it. Your slider is production-ready, mobile-friendly, and accessible right out of the box.
Keen Slider ships as a single lightweight file. No build step required for CDN usage. Works with npm, yarn, pnpm, and direct script tags in any HTML page.
One file, zero dependencies, instant carousel. Used by 280,000+ developers worldwide.
Download v6.8.3Keen Slider runs on every modern platform and browser without polyfills.
| Platform / Browser | Support | Min Version | Notes |
|---|---|---|---|
| Windows 10 / 11 | ✓ Full | Windows 10+ | All browsers supported |
| macOS | ✓ Full | macOS 10.14+ | Touch on trackpad works |
| Android | ✓ Full | Android 7+ | Native touch events |
| iOS / iPadOS | ✓ Full | iOS 13+ | Pointer events used |
| Google Chrome | ✓ Full | Chrome 70+ | Recommended browser |
| Microsoft Edge | ✓ Full | Edge 79+ | Chromium-based Edge |
| Mozilla Firefox | ✓ Full | Firefox 65+ | All features work |
| Apple Safari | ✓ Full | Safari 12.1+ | CSS scroll snap used |
Keen Slider fits naturally into any workflow, from weekend projects to production apps.
Integrate Keen Slider React or Vue in minutes. The hook API feels native to your component model and the TypeScript types keep your IDE helpful.
Keen Slider puts zero opinion on your markup or CSS. Your spacing, your colors, your transitions — the library just handles the drag physics.
Every option is documented with working examples. Start from a CodePen demo and learn by modifying real, runnable code without a build step.
Add an autoplay hero slider to any WordPress, Webflow, or static site using the CDN script tag. No npm, no build, no problem.
Turn an image gallery into an interactive experience. Thumbnail navigation, swipe gestures, and dot indicators all work out of the box.
MIT license means you can ship Keen Slider in every client project. One library to learn, one set of patterns to maintain across your portfolio.
Here's what developers say about Keen Slider in their projects.
"I replaced a heavy carousel library with Keen Slider and cut my bundle size by 40 KB. The React hook is exactly what I wanted — no wrapper component, just a ref and an instance."
"The breakpoint system uses real CSS media queries, which means my responsive logic is in one place instead of scattered between CSS and JS options. That alone is worth the switch."
"Set up a thumbnail gallery with two synced Keen Slider instances in about 30 minutes following the documentation. The lifecycle events make coordination between instances straightforward."
"Used it on an Angular project. The ViewChild pattern works cleanly and calling destroy in ngOnDestroy is exactly what you would do with any other DOM library. No surprises."
"The CDN version is perfect for WordPress projects where I don't want a build step. One script tag, one CSS link, and the slider just works with our existing Gutenberg blocks."
"Accessibility was my biggest concern and Keen Slider handles it well. Adding a visible stop button for autoplay was documented clearly and the keyboard navigation works without hacks."
Practical articles covering setup, framework integration, and advanced patterns.
A complete walkthrough of the Keen Slider GitHub repository. Learn how to clone, fork, and contribute to this powerful open-source carousel library.
Read Guide →Step-by-step instructions to install, configure, and use Keen Slider React in your next project. Covers hooks, autoplay, and responsive breakpoints.
Read Guide →Everything you need to install and configure keen-slider via npm. Covers package setup, import paths, bundler compatibility, and first-run verification.
Read Guide →Explore the best Keen Slider CodePen demos. Learn from working code examples covering basic sliders, thumbnail navigation, autoplay, and custom animations.
Read Guide →A practical collection of keen-slider examples covering image carousels, product sliders, hero rotators, and multi-slide layouts with working code.
Read Guide →A complete guide to adding Keen Slider autoplay with pause on hover, custom intervals, restart on drag, and accessible stop controls.
Read Guide →Straight answers to the questions that come up most during Keen Slider setup.
Join 280,000+ developers who use Keen Slider to build fast, responsive carousels without the overhead.