Documentation versions (currently viewingVaadin 24)

Disabling the Default Theme

Explains how to disable the Lumo theme for an application.

Although not a recommended approach to styling Vaadin applications, the default Lumo theme can be disabled using the @NoTheme annotation. This is applied to the same class to which you would normally apply the @Theme annotation.

public class Application implements AppShellConfigurator {

With the Lumo theme disabled, Vaadin components will load with only the most basic CSS required for them to be functional.