Getting Started
reelkit is a single-item slider — one item visible at a time, like TikTok, Instagram Reels, or Stories. Perfect for vertical video feeds, fullscreen galleries, and swipeable content.
0.x.x — Unstable API
ReelKit is under active development. While in 0.x.x, APIs may change between minor versions without a deprecation period. Pin your version to avoid unexpected breakage.
Select Your Framework
Try It Online
Try it in the browser, no install required:
Key Concepts
Reel
The Reel component is the main container that manages slider state, handles touch gestures, keyboard navigation, and animations. It uses a render prop pattern via itemBuilder for rendering slides.
itemBuilder
The itemBuilder prop is a function that receives the index and returns the content for each slide. This pattern enables virtualization — only visible items are rendered.
ReelIndicator
Optional component that displays Instagram-style progress indicators showing the current position in the slider.
Navigation
Built-in navigation methods:
- Touch/Swipe: Drag to navigate with momentum and snap
- Keyboard: Arrow keys (overlay components also handle Escape to close)
- Mouse Wheel: Enable with
enableWheelprop - Programmatic: Use
apiReffornext(),prev(),goTo()
Next Steps
- Installation - all packages and setup options
- Core Guide - framework-agnostic engine
- Framework Guide - components, demos, and integrationFramework Guide - components, demos, and integrationFramework Guide - components, demos, and integration
- Reel Player - TikTok/Reels-style video playerReel Player - TikTok/Reels-style video playerReel Player - TikTok/Reels-style video player
- Lightbox - image & video galleryLightbox - image & video galleryLightbox - image & video gallery
- Stories Player - Instagram-style stories viewerStories Player - Instagram-style stories viewerStories Player - Instagram-style stories viewer