<pf-alert> is a web component that provides a standard alert interface for displaying important messages to users.
Load <pf-alert> via CDN:
<script src="https://jspm.dev/@patternfly/elements/pf-alert/pf-alert"></script>Or, if you are using NPM, install it
npm install @patternfly/elementsThen once installed, import it to your application:
import '@patternfly/elements/pf-alert/pf-alert.js';<pf-alert variant="info" header="Info alert title"></pf-alert>