Dev Design Library

Tree Nav

A nav list with a tree rail and a spring marker that follows hover and settles on the active link.

Tree Nav preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
motion
Install
npx shadcn@latest add @spectrumui/tree-nav
Files
  • app/registry/tree-nav/tree-nav.tsx
  • app/registry/use-typewriter/use-typewriter.ts
  • lib/utils.ts
  • components/spectrumui/use-typewriter.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI