Using the Alert component

You can use an Alert component whenever you want to announce something to a user. For example, you could display an alert when a user doesn't fill out a form properly, when a stock hits a certain price, or when a user quits an application without saving the session.

Related topics