Notification with HTML content

Hello, how can I add html content to a Vaadin 10 Notification?
For example: Notification.show("some html <br> code");

Hi, you can use the constructor that accepts Components and the Html class:

new Notification(
        new Html("<div>Show me some <code>code</code>!</div>")
).open();