div
div wraps related components together, so they can be easily styled. If there are no nested components and styles, it represents nothing — the user will see an empty space.
- 
XML element: div
- 
Java class: Div
Basics
The following example shows div that applies a standard theme to its nested component:
<div themeNames="success">
    <p text="This paragraph has green text and a light green background."/>
</div> 
Attributes
id - classNames - colspan - enabled - height - maxHeight - maxWidth - minHeight - minWidth - text - themeNames - title - visible - whiteSpace - width
themeNames
Adds a theme to the component. Possible values are:
- 
normal
- 
success
- 
error
- 
contrast
- 
primary
- 
small
- 
pill