Stats Bars

Leaderboard with rank movement

Positions, scores and which way they moved

Live preview
Build a leaderboard with Tailwind CSS. The card header holds a title, a muted line naming the period, and a small segmented control for This week and All time. The list has ten rows divided by hairlines: each row shows the rank as a fixed-width monospaced number, a movement indicator with an up or down arrow in green or red and the number of places moved or a muted dash for no change, an avatar circle with initials, the name in medium weight with a muted team line under it, and the score right-aligned in monospace with a tiny delta beneath. Give the top three rows a subtle tint and a small medal-like coloured dot before the rank. Highlight one row as the current user with a neutral-900 left border and a "You" pill. Under the list, a footer strip showing the current user rank out of the total and a link to the full table.