V
viberdy.dev

Segmented Control · viberdy.dev

An iOS-style segmented control with a draggable thumb: grab it and drag across segments, it stretches with its own velocity, grows under your finger and settles with a touch of overshoot. Icons, sizes, two thumb styles, light and dark. No dependencies.

npx shadcn@latest add @viberdy/segmented-control
Preview Segmented Control on viberdy.dev's site (opens in a new tab)
Loading the source for segmented-control…
Files

—