component
Strategy bar
A solver mix as one stacked bar with a legend, outlining the action the player chose.
One hand's solver mix as a stacked bar, with the player's choice outlined.
17%Call84%Raise 77%
Installation
$ npx shadcn@latest add https://www.pokerstudy.ai/r/strategy-bar.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.
StrategyBar
One hand's solver mix as a stacked bar with a legend. Use to show how often each action is taken.
17%Call+0.06bb83%Raise 77%+0.06bb
Props
Generated from the component source with react-docgen-typescript.
StrategyBar
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | "" | – |
| highlight | string | null | – | – |
| items * | StrategyBarItem[] | – | – |