GitHub

Command Palette

Search for a command to run...

Components/Layout/Progress Bar

Progress Bar

Layoutiframe sandbox

A reading progress bar that visualizes scroll position.

progress bar
scroll progress
reading progress
framer motion

Preview

Installation

Use the shadcn CLI to install this component:

npx shadcn@latest add https://messyui.dev/r/progress-bar.json

Props

PropTypeDefaultDescription
positionstring"top"Position of the progress bar
colorstring"#eec847"Color of the progress bar
heightnumber2Height of the progress bar (Tailwind scale)
originstring"left"Transform origin of the animation

Related Components