Wake Slider
A range drawn as a row of thin bars, with no thumb: bone to the left of the value, faint to the right.
$149 once · every Pro piece
Customize
Sweep across it fast and the bars you pass spring up in a wake behind your hand, each on its own spring, taller the faster you go, while the bar at the value runs hot. Arrow keys kick a small wake of their own.
Install
npx shadcn@latest add @obsyde/wake-sliderNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { WakeSlider } from '@/components/obsyde/ember/wake-slider/WakeSlider';
export function Example() {
return (
<WakeSlider defaultValue={40} />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/wake-slider/WakeSlider.tsxcomponentember/wake-slider/wake-slider.cssstylesember/wake-slider/WakeSliderDemo.tsxdemoember/tactile-kit/kit.tssharedember/shared/accent.tssharedember/shared/spring.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
valueValue | number | 40 |
minMin | number | 0 |
maxMax | number | 100 |
stepStep | number | 1 |
barsBars | number | 40 |
wakeWake | number | 1 |
unitUnit | string | — |
labelLabel | string | — |
disabledDisabled | boolean | false |