ValyroUI Русская версия

Meta Table

Meta table: tier, win, pick and ban rates with patch-over-patch change, role and rank filters, virtualized. Pro · Games › Meta and tier lists

The meta of a patch: champion with portrait and role, tier, win, pick and ban rates with their change since the last patch, and matches, per rank. Columns sort, filters narrow by role, rank and name, thin samples are marked and ranked last, long tables render only the rows in view, and on a narrow screen each row becomes a two-line card.

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add meta-table
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { MetaTable } from 'valyro-ui-pro';

Props

PropTypeDefault
entries *MetaTableEntry[]Champions (or champion + role pairs) with their stats per rank.
ranks *MetaRank[]Ranks of the rank picker; the first is the default.
rankstringRank shown.
defaultRankstringInitial rank when uncontrolled. Default: the first.
onRankChange(rank: string) => voidCalled when the reader picks a rank.
rolesGameRole[]Roles of the entries: shown under the names and, with two or more, a role filter.
roleFilterstringRole id the table is narrowed to; '' shows every role.
defaultRoleFilterstring''Initial role filter when uncontrolled. Default ''.
onRoleFilterChange(role: string) => voidCalled when the reader picks a role.
sortMetaTableSortColumn and direction of the sort.
defaultSortMetaTableSort{ key: 'tier', direction: 'desc' }Initial sort when uncontrolled. Default tier, best first.
onSortChange(sort: MetaTableSort) => voidCalled when a column header is pressed.
minGamesnumber500Fewer matches than this: marked, and ranked after the rest by win rate and tier. Default 500.
tiersMetaTier[] | falseDEFAULT_META_TIERSTier column from best to worst, or false to hide it. Default S+ to D by win rate.
onRowClick(entry: MetaTableEntry) => voidMakes each champion name a button, e.g. to the champion's page.
maxHeightnumber | string560Most height of the scrolling body (px or CSS length); rows beyond it render only while in view. Default 560.
loadingbooleanfalseData is loading: skeleton rows.
errorReactNodeLoading failed: shown instead of the table.
titleReactNodeHeading. Default: labels.title.
subtitleReactNodeLine under the heading: patch, period, source.
headingLevel2 | 3 | 4 | 53Level of the heading (default 3).
localestringBCP 47 locale for numbers and sorting; defaults to the ThemeProvider's.
labelsPartial<MetaTableLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

  • Tier List — S+…D tier list: portraits with role badges, role filter, drag with mouse, touch or keyboard, export
  • Matchup Matrix — Counterpicks: champion-vs-champion heat matrix with tooltips, pick your champion, a list on phones
  • Tournament Bracket — Tournament bracket: single and double elimination, series scores, winner, team path, monograms
  • Patch Notes — Patch notes: champions and items with ability icons, before → after, buffs, nerfs and changes, filters

Previous: Tier List · Next: Matchup Matrix · All Games