Registry
Poker Study components
38 blocks, components, and libraries. Each one installs with the shadcn CLI. The JSON files the CLI fetches stay at /r/*.json. This page is the index; /r redirects here and does not replace those files.
Blocks16
Pick an action at a table snapshot and get it graded by the Poker Study AI agent: grade, EV lost, and what the agent would do. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/decision-grader.jsonAsk the Poker Study AI agent what it would do at a table snapshot, and see which model answered. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/agent-advisor.jsonYour drill accuracy by stack depth and preflop spot, with your biggest leak called out. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/training-report.jsonScout an opponent from your uploaded hands: their HUD and the leaks Poker Study AI noted. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/opponent-profile.jsonThe hands your opponents showed down after limping, on the 13×13 matrix. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/limp-range.jsonYour HUD from a hand history you uploaded to Poker Study AI. Needs your API key.
$ npx shadcn add https://www.pokerstudy.ai/r/session-stats.jsonWalk a solved preflop tree seat by seat: the table redrawn at every decision, the acting seat's range on the hand matrix, every action's share of the range, and one hand's frequency and EV per action. Bring your own node loader.
$ npx shadcn add https://www.pokerstudy.ai/r/range-explorer.jsonThe pokerdata.io game picker: one card per game with its table, stack depths, pack counts, data size and bundle price. Pass the cards from pokerdata.io's partner library.
$ npx shadcn add https://www.pokerstudy.ai/r/game-grid.jsonThe top of a pokerdata.io game page: the game's name, ante, stack depths, field size and payouts. Pass the header from pokerdata.io's partner API.
$ npx shadcn add https://www.pokerstudy.ai/r/game-header.jsonA pokerdata.io game's packs: tabs, search, filter chips, sortable columns and a card layout on phones, with Details, Browse and Download on every row. Bring your own range and purchase drawers.
$ npx shadcn add https://www.pokerstudy.ai/r/catalog-table.jsonpokerdata.io's slide-in purchase panel: pack or bundle, the table graphic, total, email, billing country and the EU withdrawal waiver. Pass your own checkout call; it returns the Stripe URL to go to.
$ npx shadcn add https://www.pokerstudy.ai/r/buy-drawer.jsonpokerdata.io's Browse drawer: one pack's solution, slid in over the page. Preflop packs walk the tree in the Range Explorer (hold'em grid, PLO and PLO5 hand lists, ICM risk premium); postflop packs get the node walker and game tree. Point it at your feeds with setExplorerEndpoints.
$ npx shadcn add https://www.pokerstudy.ai/r/range-drawer.jsonA pokerdata.io preflop pack's Details page: the buy header with the table graphic, price and actions, then the tree, payouts, solver run and file. Pass the details from pokerdata.io's partner API, and your own actions.
$ npx shadcn add https://www.pokerstudy.ai/r/pack-details.jsonThe Range Explorer on the Poker Study AI solver: walk any NLHE preflop tree from a decision, with the table, the matrix, every action's share of the range and each hand's EV. Reads the solver through your server.
$ npx shadcn add https://www.pokerstudy.ai/r/preflop-range-explorer.jsonThe oval table from the Train tab: seats, portraits, hole cards, bets and the pot, two to nine players, drawn in the active table theme.
$ npx shadcn add https://www.pokerstudy.ai/r/poker-table.jsonpokerstudy.ai's Explorer: walk every solved preflop tree (hold'em, PLO, PLO5, PLO6 heads-up, PLO 9-max, tournament and ICM) seat by seat, with the strategy grid or PLO hand lists, hand search, bucket mixes and the solution picker, and, where the host serves a solver, inline postflop solves. Point it at your feeds and switch features with setExplorerHost (lib/explorer/host.ts).
$ npx shadcn add https://www.pokerstudy.ai/r/explorer-app.json
Components16
A solver pack drawn instead of described: the table oval with the positions the solve covers, hero on the button, and pills for table size, street and every stack depth.
$ npx shadcn add https://www.pokerstudy.ai/r/pack-table.json"View payouts" for a tournament pack: a button that opens the payout table the solve used, equal prizes collapsed into one row.
$ npx shadcn add https://www.pokerstudy.ai/r/payouts-dialog.jsonFour-color playing cards: full-size cards, mini cards, hole cards and a five-slot board.
$ npx shadcn add https://www.pokerstudy.ai/r/playing-card.jsonThe 13×13 range grid. Each cell is a stacked bar of action frequencies for one hand class.
$ npx shadcn add https://www.pokerstudy.ai/r/hand-matrix.jsonA solver mix as one stacked bar with a legend, outlining the action the player chose.
$ npx shadcn add https://www.pokerstudy.ai/r/strategy-bar.jsonA decision grade pill (Perfect to Blunder) with the EV given up in big blinds.
$ npx shadcn add https://www.pokerstudy.ai/r/grade-badge.jsonHUD stats (VPIP, PFR, 3-bet, c-bet, WTSD…) as tiles with the counts behind each percentage.
$ npx shadcn add https://www.pokerstudy.ai/r/player-stats.jsonCard faces sized for a poker table: hole cards, the board, and Omaha layouts that follow the table's width.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-cards.jsonPoker chips colored by size in big blinds, a chip stack with its amount, and the pot.
$ npx shadcn add https://www.pokerstudy.ai/r/chips.jsonA solver node's action mix for one hand as a stacked bar with a legend, in the trainer's action colors.
$ npx shadcn add https://www.pokerstudy.ai/r/gto-strategy-bar.jsonThe app's shared button: variants (default, outline, secondary, ghost, destructive, link) and sizes, on Base UI.
$ npx shadcn add https://www.pokerstudy.ai/r/button.jsonA search box with a clear button, an inline error or note and an optional help popover.
$ npx shadcn add https://www.pokerstudy.ai/r/search-field.jsonThe app's drawer: a right-hand panel on desktop and a bottom sheet on phones, with a labelled field and a pill segmented control.
$ npx shadcn add https://www.pokerstudy.ai/r/side-panel.jsonThe drill trainer's decision buttons, preflop and postflop, in the solver's action colors, with F, C and R hotkeys and raise sizes in bb or % pot.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-action-bars.jsonWhat the trainer shows after a decision: the grade overlay and toast, tier badges, the session strip, the end-of-hand summary, the action strip and the hand history panel.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-feedback.jsonEvery Poker Study component as a json-render catalog entry: a props schema, a description that tells a model when to use it, an example, and the renderer that draws it. Spread them into your catalog and registry next to @json-render/shadcn.
$ npx shadcn add https://www.pokerstudy.ai/r/pokerstudy-json-render.json
Libraries6
Hand classes, the action, suit and grade palettes, and response types for the Poker Study AI strategy API.
$ npx shadcn add https://www.pokerstudy.ai/r/poker-core.jsonYour server's window onto the Poker Study AI API: one /api/pokerstudy/* route that adds your psk_ key, a server-only client, and the fetch hook the data blocks share. Routes that return your own hands and opponents are locked outside development until you edit authorizePrivate.
$ npx shadcn add https://www.pokerstudy.ai/r/pokerstudy-api.jsonWire types for the ranges API as the trainer reads it: games, positions, nodes, actions and hand classes.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-types.jsonAction and grade colors for the trainer, shared with the solver grid, plus suit helpers for card faces.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-theme.jsonSeven table themes: Matrix, CoinPoker, GGPoker, ACR, Ignition, Halloween and Classic. A stylesheet keyed on data-skin plus the hook that remembers the player's pick.
$ npx shadcn add https://www.pokerstudy.ai/r/table-themes.jsonThe drill trainer's grading, spot parsing, raise sizing and session state, preflop and postflop. The action bars, feedback and history read it.
$ npx shadcn add https://www.pokerstudy.ai/r/trainer-lib.json