component
Player stats
HUD stats (VPIP, PFR, 3-bet, c-bet, WTSD…) as tiles with the counts behind each percentage.
HUD tiles with the counts behind each percentage, so 100% on two hands reads as two hands.
- VPIP
- 43%92/214
- PFR
- 12%26/214
- 3-bet
- 3%3/98
- Fold to 3-bet
- 78%7/9
- C-bet flop
- 43%9/21
- Fold to flop c-bet
- 66%25/38
- Went to showdown
- 38%27/71
- Won at showdown
- 41%11/27
Installation
$ npx shadcn@latest add https://www.pokerstudy.ai/r/player-stats.jsonGenerative UI
A model can draw this with json-render. Install generative UI and spread its definitions into your catalog. The model reads the description and the schema below, and answers with a spec like the example.
PlayerStats
HUD tiles for one player with the counts behind each percentage. Bind `stats` from state.
- VPIP
- 43%92/214
- PFR
- 12%26/214
- 3-bet
- 3%3/98
- Fold to 3-bet
- 78%7/9
Props
Generated from the component source with react-docgen-typescript.
PlayerStatsGrid
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | "" | – |
| keys | ("vpip" | "pfr" | "rfi" | "threeBet" | "foldToThreeBet" | "cbetFlop" | "cbetFlopIp" | "cbetFlopOop" | "foldToCbetFlop" | "checkRaiseFlop" | "cbetTurn" | "cbetRiver" | "wtsd" | "wonAtShowdown")[] | ["vpip", "pfr", "threeBet", "foldToThreeBet", "cbetFlop", "foldToCbetFlop", "wtsd", "wonAtShowdown"] | – |
| stats * | PlayerStats | – | – |