The Button component is an extension to standard input element for user interactions with icons and theming. The pButton directive makes a plain HTML button a PrimeNG-enhanced button. A basic example of the Button component with defined label text would be written as follows:
<button name="basic" pButton type="button" label="ClickMe"></button>
The type of the Button should be button type. The following screenshot shows a snapshot result of the basic Button example:
The Button component supports one event callback named click, which will be invoked on click of the Button element. Remember that Button's click event is basically from Angular one not specific to PrimeNG.