Hello World

Introduction

Welcome to the Azul framework. In this guide you will learn how to write a simple 50-line program that produces a window with a counter and a button to increase said counter - showcasing how data models, click callbacks and installation / running Azul applications works.

The minimum viable Azul window — counter label plus a button.

Because each programming language is different, there's no such thing as „one hello world guide“ as every language has differences in setup, installation methods and code style.

Each guide is self-contained, you do not need to read the others. Each page walks you through the same five-step path:

  1. Installation or linking the Azul library.
  2. Defining a data model.
  3. Writing a layout callback that returns a Dom.
  4. Attaching a click callback that mutates the model.
  5. Building, running, notes for common pitfalls.

Supported languages

Pick the „Hello World“ / Setup guide for your language:

Coming Up Next

Back to guide index