-- DreamStack Input Component
-- Text input with label, placeholder, and error state

export component Input(value, placeholder, label, error, helper) =
  column [
    when label -> text label { variant: "label" }
    input { bind: value, placeholder: placeholder }
    when error -> text error { variant: "error" }
    when helper -> text helper { variant: "subtitle" }
  ]
