Kinetik UI

Intensity Slider

.md

A soft gradient slider in a card with a slim handle and a Low-to-High ruler that lights up to the value.

v1.0.0Live on webreact-native-gesture-handlerreact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add intensity-slider

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/intensity-slider.json

Install manually

  1. Install dependencies
    npx expo install react-native-gesture-handler react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/intensity-slider.tsx
    View source files

Usage

import { IntensitySlider } from '@/components/kinetik/intensity-slider';

<IntensitySlider value={strength} onValueChange={setStrength} label="Blur" />;

When to use

  • A single 0–100 strength in an editor: effect intensity, blur, opacity, noise.
  • Inside a popover opened from a toolbar value, as in the demo.

When not to use

  • Ranges that are not percentages: label the ends and format the value yourself, or use another slider.

Notes

  • The ruler lights up to the value and a haptic ticks each time the fill crosses a mark.
  • color sets the fill; the handle uses the theme azure.

Props

IntensitySliderProps

PropTypeDefaultDescription
valuerequirednumber—0–100.
onValueChange(value: number) => void—Called on each whole step while dragging.
onSlidingComplete(value: number) => void—
labelstring'Intensity'Heading above the track. Defaults to "Intensity".
lowLabelstring'Low'Words under the ends of the track. Default to "Low" and "High".
highLabelstring'High'
ticksnumber24Number of tick marks between the end labels. Defaults to 24.
colorstring—Fill colour. Defaults to the theme sky blue.
disabledbooleanfalse
hapticsbooleantrueA tick each time the fill crosses a mark. Defaults to true.
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
Dragging moves the handle and fill on the UI thread; React re-renders once per whole step to light the ruler.
Measured

Pixel 9 emulator, API 35, release build · interaction median 1.24× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 158 MB app memory

Real-device measurement pending.

Accessibility

Reduced motion
The handle does not grow while held and the fill settles without a spring.
Screen readers
Adjustable role reading the value as a percentage; increment and decrement move by 5.
Touch target
The track is 44 pt tall across the full width.

Source files

components/kinetik/intensity-slider.tsx is in the Code tab of the preview above.