Glowing Scroll Indicator
An animated scroll progress indicator with glowing bars that light up as you scroll.
Install using CLI
npx shadcn@latest add "https://obsidianui.dev/r/glowing-scroll-indicator.json"Install Manually
1
Install dependencies
2
Copy the source code
Copy the code into components/ui/glowing-scroll-indicator.tsx
Usage
Props
| Prop Name | Type | Default | Description |
|---|---|---|---|
| scrollContainerId | string | 'scroll-target' | Container ID |
| direction | 'vertical' | 'horizontal' | 'vertical' | Direction |
