A notification / toast.

  • Fluent
  • Declarative

  Notification.builder()
              .title("Title")
              .text("bla, bla, bla")
              .build()
copy

There is no declarative thing for notifications. Just use a notification record as in imperative.

Available properties

This is the list of available properties for a micro frontend component:

PropertyDescriptionNotes
idid for this component
cssClasseslist of css classescontent of the css attribute
styleinline style attributescontent of the style attribute
titlethe notification title
textthe notification text

You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/notification