Dev Design Library

Scroll Spine

Maps the article as a spine of bands, each as long as its section, filling in as you read.

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

Categories

More from UI Lab