Official website

of the Commonwealth of Pennsylvania

Components

Alerts

Alerts provide important and time-sensitive information to the user. Keystone Design System includes both global and in-page alerts. 

Overview

Alerts provide important and time-sensitive information to the user.

Each alert should only contain one important message. If you have more than one important message, use a link to direct users to the full list of messages.

Alert types

Keystone Design System includes global and in-page alerts:

  • Global alerts are used across every page of a website. They are ideal for global messages to all users. 
  • In-page alerts appear on a single page. These are contextual and may be used in response to a user’s action.

Learn more about these two types of alerts on their pages.

Global alert

A global alert appears at the top of every page across a website or app.

Global alert

In-page alert

In-page alerts help the user in the context of a single webpage.

In-page alert

We want to hear from you

We're just getting started with Keystone Design System. If you're an early user, we want your bug reports, questions, and feedback.

 

Complete our form to share your thoughts. You'll need to log in with your PA.gov email. We'll review and consider every response.