• Deprecated Classes
    Class
    Description
    Use NativeLabel instead, if you need the HTML <label> element, which is normally not needed within a Vaadin Flow application's high-level components. To use a Label that works in the older style of Vaadin 8 or Java Swing, and can be used both to label a component and to display loose text, an alternative is the Label available in Classic Components. This Label component / <label> element is not meant for loose text in the page - it should only be coupled with another component by using the Label.setFor(Component) or by adding them to it with the HasComponents.add(Component...) method, for example if you use Input.