Single Selection Toggle Group.
npx shadcn@latest add @shadcnblocks/toggle-group-toggle-group-standard-3
Sign in or get a license at Shadcn Blocks to see its source and install it.