Back to Components
Components

Scroll Progress Bar

Scroll progress indicator with bar and circle variants.

Scroll progress0%
Reading progress0%
0%

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/scroll-progress-bar.tsx

Installation

Using shadcn CLI

npx shadcn add scroll-progress-bar --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion