-- DreamStack Card Component with Slot
-- Glassmorphism container with title, subtitle, and slot for children

export component Card(title, subtitle, footer) =
  column [
    when title -> text title { variant: "title" }
    when subtitle -> text subtitle { variant: "subtitle" }
    slot
    when footer -> text footer { variant: "subtitle" }
  ] { variant: "card" }
