With Nutrient, it’s possible to programmatically change the interface to dark mode by setting the Application.Current!.UserAppTheme(opens in a new tab) property:

Application.Current!.UserAppTheme = AppTheme.Dark;
Application.Current!.UserAppTheme = AppTheme.Light;

Note that you can only set the theme to AppTheme.Dark or AppTheme.Light before loading the MAUI SDK. Any theme changes after the SDK is loaded will not be applied.

Advanced theming

The MAUI SDK uses the Nutrient Web SDK internally for rendering. If you need more granular control over the viewer’s appearance beyond the built-in dark and light themes — such as customizing colors, typography, spacing, or applying theme changes to specific UI sections — refer to the Web SDK theming guide.