HMIs and user interfaces in general are reactive and event driven by nature. State machines and especially graphical statecharts are a good fit to describe the behaviour of user interfaces. This presentation shows how HMI behaviour can be specified and adapted to different UI technologies.