A tooltip. Just wrap any other component and provide the tooltip text.

  • Fluent
  • Declarative

 Tooltip.builder()
        .text("Hello tooltip")
        .wrapped(new Text("Hover me!"))
        .build()

There is no declarative thing for scrollers. Just use a scroller 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 tooltip owner
textthe tooltip text

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