Declarative language for interactive UI