Chips is used to enter multiple values in one input field. The examples show unique, which prevents duplicate values, together with max, which limits the number of chips, and addOnPaste, which adds the chips from a pasted text that is split at the separator.
<div class="card p-fluid">
<h5>Basic</h5>
<p:chips />
<h5>Unique</h5>
<p:chips unique="true" max="3"/>
<h5>Paste (Comma separated)</h5>
<p:chips ref="chipsPaste" addOnPaste="true" separator=","/>
</div>