Reading Progress Chapters
- from @beste-ui
A reading bar for long articles: brand, a Chapters dropdown of numbered section links that marks the chapter in view, and a share button, with a hairline progress line under the bar that fills as the page scrolls. On a phone the dropdown becomes a compact chapter Select in the bar. The chapter list stays in the markup and is toggled with CSS, and the block renders a demo article to scroll through.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @beste-ui/navbar98Registry dependencies2
- button
- select