Dev Design Library

Sliding Tabs

An underline stretches toward the tab you pick while a soft pill follows your pointer.

Sliding Tabs preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/sliding-tabs.json
Files
  • src/lab/components/sliding-tabs.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab