Skip to main content

React achievement tracking and UI

React Achievements

Add progress tracking, unlock notifications, compact badge modals, and celebration effects to React apps with one provider and a context-aware widget.

v4
Simple API
3
UI surfaces
0
external UI peers
React Achievements 4.4 compact badge modal and configurable confetti in a LearnQuest demo app

Built for real React apps

Achievement tracking, UI, and persistence in one package.

Track

Use the v4 Simple API

Define score, streak, onboarding, profile, and custom achievements in one config, then update progress with `track`, `increment`, or event-based engine calls.

Read the guide
Display

Ship the widget or inline list

Drop in `AchievementsWidget`, open `AchievementsModal` from an existing control, or render `AchievementsList` directly inside a drawer, profile page, or dashboard.

Read the guide
Customize

Tune the achievement experience

Use compact badge grids, set modal backdrop blur, hide scrollbar chrome, theme the built-in UI, or replace notifications, modals, and confetti entirely.

Read the guide

Default integration

One provider. One widget. Built-in achievement history.

Use `AchievementsWidget` for the default badge button and modal, switch to compact square badges for dense catalogs, or open the same modal from your own drawer row, nav item, or profile menu.

<AchievementProvider achievements={achievements}>
  <Game />
  <AchievementsWidget
    density="compact"
    modalBackdropBlur={2}
    hideModalScrollbar
  />
</AchievementProvider>