Dev Design Library

Expandable Tabs

An accessible Base UI tab selector that expands the active icon into a labeled pill with input-aware layout motion.

Expandable Tabs preview
Library
Sona UI
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react, motion, react-icons
Install
npx shadcn@latest add @sona-ui/expandable-tabs
Files
  • src/registry/sonaui/expandable-tabs/expandable-tabs.tsx
  • src/registry/sonaui/sona-utils/sona-utils.ts
  • src/registry/sonaui/sona-motion/sona-motion.ts
  • src/lib/sona-motion.ts
  • src/lib/sona-utils.ts
Source
https://github.com/Dinil-Thilakarathne/sona-ui

Categories

More from Sona UI