Scrollspy
Dynamically highlights navigation to indicate current visible section in viewport during page scroll.

- Library
- ReUI
- Framework
- React
- Type
- component
- License
- MIT
- Install
npx shadcn@latest add @reui/scrollspy- Files
registry-reui/bases/radix/reui/scrollspy.tsx
- Source
- https://github.com/keenthemes/reui
Categories
- Navigation Components
- React Navigation Components
- Tailwind CSS Navigation Components
- Table Of Contents Components
- React Table Of Contents Components
- Tailwind CSS Table Of Contents Components
More from ReUI
- Basic scrollspy
- Basic scroll area
- Alert
- Autocomplete
- Badge
- A basic single-expand accordion
- Accordion with rotating arrow indicator
- Accordion pattern for onboarding or setup steps with icons, badges, and QR codes
- Accordion with plus/minus indicators
- Accordion with borders and rounded corners
- Accordion embedded within a Card
- Accordion with disabled items and highlighted state