Rendyn

Component library

189 components

Interaction

Scroll Progress

Scroll Progress visualizes the scroll position of the page.

Interactive exampleReact Tailwind CSS

Practical React example

Show reading position along a long article without implying task completion.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/scroll-progress.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: motion.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Show reading position along a long article without implying task completion

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { ScrollProgress } from "@/components/magicui/scroll-progress"

export function ComponentExample() {
  return (
    <ScrollProgress />
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Keep the indicator clear of sticky navigation and check how the source’s measured scroll area matches your layout.

Customization

ScrollProgressProps.ref
Optional; React.Ref<HTMLDivElement>.

Integration notes

  • Reading position is not evidence that someone read or understood the content.
  • Provide meaningful article structure and headings independently of the progress strip.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP