Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@reelkit/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reelkit/core

Framework-agnostic, virtualized, single-item slider engine with zero dependencies

Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
101
23.17%
Maintainers
1
Weekly downloads
 
Created
Source

@reelkit/core

npm Bundle size Star on GitHub

The engine behind ReelKit — handles slider logic, gesture recognition, and transitions without depending on any UI framework. Ships its own signal-based reactive system so you don't need RxJS or similar.

Installation

npm install @reelkit/core

Quick Start

import { createSliderController } from '@reelkit/core';

const slider = createSliderController({
  count: 100,
  direction: 'vertical',
});

// Navigate
slider.next();
slider.prev();
slider.goTo(5);

// Read state via signals
console.log(slider.currentIndex.value); // 5

// Subscribe to changes
slider.currentIndex.subscribe((index) => {
  console.log('Slide changed:', index);
});

Features

  • Renders only 3 slides at a time (virtualized), handles 10,000+ items
  • Zero dependencies, ~4.0 kB gzip
  • Factory functions over classes — createSliderController, createGestureController, createKeyboardController, createWheelController
  • Built-in Signal, ComputedSignal, and reaction primitives for reactive state
  • Touch gestures with momentum and configurable thresholds
  • Keyboard and wheel navigation with debouncing
  • Infinite loop mode
  • Optional ResizeObserver-based auto-sizing
  • Strict TypeScript throughout

Documentation

API reference and guides at reelkit.dev.

Support

If ReelKit saved you some time, a star on GitHub would mean a lot — it's a small thing, but it really helps the project get noticed.

Star on GitHub

License

MIT

Keywords

slider

FAQs

Package last updated on 21 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts