-- DreamStack Stat Component
-- Dashboard metric card with label, value, and change delta

export component Stat(label, value, change) =
  column [
    text label { variant: "subtitle" }
    text value { variant: "title" }
    when change -> text change { variant: "label" }
  ] { variant: "card" }
