Leaderboard
Ranked list with optional progress bars.
Preview
Usage
import { Leaderboard } from '@ramtt/ui'
<Leaderboard items={[{ name: 'Malte', value: 285, unit: 'W' }]} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items* | LeaderboardItem[] | — | Ranked items |
| title | string | — | Title |
| showRank | boolean | true | Show rank numbers |
| showBars | boolean | true | Show progress bars |