Dev Design Library

Scroll Progress

A fixed progress bar component that indicates page scroll progress with a gradient color effect.

Scroll Progress preview
Library
Animations (Svelte)
Framework
Svelte
Type
block
License
MIT
Dependencies
motion-sv
Install
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/scroll-progress.json
Files
  • src/lib/components/magic/scroll-progress/scroll-progress.svelte
  • src/lib/components/magic/scroll-progress/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)