Spacer is used to create spaces in a layout.
<p:staticMessage severity="warn" summary="DEPRECATED"
detail="Legacy component since PF1 to support spacing. In modern HTML, the use of 1x1 transparent PNGs for spacing is generally outdated and unnecessary. There are several modern techniques available that provide more control and are more semantically appropriate."
styleClass="w-full mb-2"/>
<div class="card">
This text <p:spacer width="100" height="10"/> is separated from <p:spacer width="20"
height="20"/> this text.
</div>