A popover. Just wrap any component and define the popover content (e.g. a micro frontend).

  • Fluent
  • Declarative

  Popover.builder()
          .wrapped(new Text("Click me!"))
          .content(new Text("Popover content"))
          .build()
copy

There is no declarative thing for popovers. Just use a popover record as in imperative.

Available properties

This is the list of available properties for a popover component:

PropertyDescriptionNotes
idid for this component
cssClasseslist of css classescontent of the css attribute
styleinline style attributescontent of the style attribute
wrappedthe wrapped component
contentthe popover content

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