3 tab components from 3 open-source libraries. Open any one for a live preview you can theme, then copy the code.

shadcn/ui
radix-ui

Cult UI
@radix-ui/react-slot · class-variance-authority · motion · react-use-measure

Kokonut UI
lucide-react · motion