Skip to main content

GitHub Stats Widget (stats)

The Stats widget displays GitHub metrics in clean, typography-driven stat blocks. In a published v2 profile, its values reflect the latest successful GitHub Action refresh; an API preview may render with newer fetched data. It supports multiple presentation styles (Big Numbers, Terminal, Minimalist, Raised Cards) and layout arrangements (Horizontal, Vertical, 2-Column Grid).

Configuration Schema

'default' | 'terminal' | 'minimal' | 'cards'
default:"default"
  • default: Large 28px values with uppercase tracking labels below. * terminal: Monospace bracketed formatting ([ 42 ]). * minimal: Pure lightweight typography with no sublabels. * cards: Raised card rectangles (#1e1e1e) with colored vertical accent stripes.
'horizontal' | 'vertical' | 'grid'
default:"horizontal"
Layout distribution mode across the widget width.
string[]
default:"[]"
Array of metric IDs to hide. Available keys: stars, repos, followers, following, forks, gists.

Real Code Example