Progress & Gamification
A compact vertical leaderboard with rank number, member name, point count, and a small change arrow (up, down, or unchanged). Highlights the current user's row so they find themselves at a glance. Ideal for gamified products, tournaments, and community engagement pages.
Live preview
No extra dependencies. React 18+ and Tailwind CSS v3+ assumed. Save as LeaderboardRow.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/LeaderboardRow.tsx. Rounded-2xl bordered card with a header ("This week's leaderboard" 13px semibold) and a list of rows. Each row: rank (6px wide, semibold tabular-nums, black for top 3 else muted), name (13px, semibold+highlighted-bg for the user), points (12px medium muted tabular-nums with locale formatting), and a ChangeArrow (green up triangle for positive, red down for negative, dash for zero). "You" row uses bg-[#F5F8FF]. Props: entries {rank, name, points, change}[], you (string). Single default export.Progress & Gamification
XP Progress Bar (Gamification Level Card)
XP progress bar card for React gamification: shows level, XP, and progress to the next level.
Progress & Gamification
Circular Progress Ring (SVG Percentage)
Circular SVG progress ring for React dashboards, stat cards, credit usage, and generation status tiles.
Progress & Gamification
Scroll Progress Bar (Top of Page)
Fixed top scroll progress bar for React and Next.js pages, tracks page scroll with a thin coloured line.
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.
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.
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.
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.
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.