AutoFocus manages focus on focusable element on load.
import { AutoFocus } from 'primeng/autofocus';
AutoFocus is applied to any focusable input element on initial load. It's disabled by default and needs to be enabled manually.
<input type="text" pInputText [pAutoFocus]="true" placeholder="Automatically focused" />