The pill slides to the pick, and each label changes colour as the pill crosses it, as on the Tabs. A backdrop follows the pointer.
pnpm dlx shadcn@latest add "https://kinoui.com/r/segmented-control-1.json"