UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
import { ScrollProgress } from "@/registry/magicui/scroll-progress"
export default function ScrollProgressDemo() {
return (
<div className="z-10 rounded-lg p-4">
<ScrollProgress className="top-[65px]" />
<h2 className="pb-4 font-bold">
Note: The scroll progress is shown below the navbar of the page.
</h2>
</div>
)
}