Skip to content

Layouts

Layouts define how components are arranged.

  • vertical
  • horizontal
  • split
@SplitLayout
List panels = List.of(
new Text("Left"),
new Text("Right")
);

Use layouts to structure your UI instead of manual HTML/CSS.