Skip to main content
The EngageFabric React library provides pre-built, customizable components for common gamification UI patterns.

Installation

The EngageFabric React components are currently available for enterprise customers and early access partners. Contact us at support@engagefabric.com to get access.
Once you have access, install via npm:

Setup

Wrap your app with the EngageFabric provider:

Components

PlayerHeader

Display player’s level, XP, and currencies:
Props:

QuestList

Display a list of quests with progress:
Props:

AdventureOverview

Display adventure/season information:

Leaderboard

Display rankings:
Props:

Lobby

Multiplayer lobby component:

Chat

Real-time chat component:

Hooks

usePlayer

useQuests

useLeaderboard

useRealtime


Theming

Customize component styles:

CSS Variables

Override styles with CSS variables:

Other Frameworks

For non-React frameworks (Vue, Angular, Svelte), use the JavaScript SDK directly or integrate via the REST API. See the SDK Overview for all integration options including Python, Ruby, PHP, and cURL examples.