Declarative UI for Vaadin Flow | Vaadin

Declarative UI for Vaadin Flow

This is basically Vaadin-8-style Declarative UI for Vaadin Flow. The goal is to externalize the layout of the components in your application and have it as much more readable HTML/XML instead of cluttering up your Java code. It's completely interpreted and converted to a Component-tree on the server-side.

Support for additional components and attributes can be added quite easily. The add-on comes with built-in support for Spring Boot to pick up custom ComponentFactory and ComponentPostProcessor beans.

For more details on why or how to use this add-on, please see the project page and/or take a look at the source code of the demo application.

See the Links section for add-ons that try to solve the same problem, albeit in completely different ways.

For Vaadin 14 support, see versions 0.x.

Install

Link to this version
StableReleased 22 August 2022Apache License 2.0
Framework Support
Vaadin platform 23+
Browser Independent
Install with
Release notes - Version 3.2.0
  • Vaadin 23 is now required.
  • Rework of ComponentFactory, ComponentPostProcessor and related classes. They're even simpler now, yet more powerful (default values, deprecated attributes, required attributes, aliases, ...).
  • Added dynamic dev time view (/component-declarations) displaying actually supported components and attributes. Requires use of @DuiComponent by factories and post-processors.
  • Allow to use components without factory.
  • Improved error messages.
  • Improvements to fluent API.