A JavaScript component that displays alerts to the user.