Skip to main content

Alert

The Alert component is used to display a short, important message in a way that attracts the user's attention without interrupting the user's task.

Result
Loading...
Live Editor

Dismissible​

Dismissible alerts will render a close icon that will dismiss the alert when clicked.

Result
Loading...
Live Editor

Inline​

Inline alerts will not render a drop shadow.

Result
Loading...
Live Editor

Analytics​

The Alert component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'Alert',
actions: {
onClose: { type: 'ALERT_ON_CLOSE', payload: 'Close' },
},
};

Props​