Scroll Progress

A description for Scroll Progress component.

motion-sv

Note: The scroll progress is shown below the navbar of the page.

Installation

pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/scroll-progress.json

Usage

<script lang="ts">	import { ScrollProgress } from "#lib/components/magic/scroll-progress/index.js";</script>
<ScrollProgress />

Props

Scroll Progress

A component for Scroll Progress.

NameTypeDefaultDescription
classClassValue""Additional CSS classes to apply