Alerts

Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time.

const Alert = require('gitbook-styleguide/lib/Alert');

Default

Flash message goes here.
<Alert.Info>Flash message goes here.</Alert.Info>

Danger

This is an alert!
<Alert.Danger>
<Icon id="alert" size="sm" /> This is an alert!
</Alert.Danger>