7+ Progress bar and gamification React components with AI prompts

Scroll progress bars, reading progress rails, sticky table of contents, onboarding step bars, XP bars, circular progress rings, and leaderboards for React and Next.js apps. Copy the React and Tailwind source, or paste the prompt into Claude Code, Cursor, Codex, Lovable, or Replit.

About progress & gamification components

Scroll progress bars, reading rails, table of contents, XP bars, and leaderboards for AI apps and product surfaces. Every component ships with a live interactive preview, a copy-paste React and Tailwind source file, and the prompt that rebuilds it in Claude Code, Cursor, Lovable, Replit, or Codex.

React 18 and Tailwind CSS v3 assumed. Additional dependencies (framer-motion, gradflow) are listed on each component page when required.

Related prompts for progress & gamification

Frequently asked questions

How do I use this component in my project?+

Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.

Can I customise the design and copy?+

Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.

Are the components free for commercial use?+

Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.

Which AI coding tool works best for these components?+

All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.

Do these work with Next.js, Vite, and Remix?+

Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.