A segmented control whose pill slides between options on a spring, squishes when pressed and can be dragged across the segments like the one on iOS.
npx shadcn@latest add https://uibrik.com/r/segmented-control.json
segmented-control