@nib-styles/v2-alerts

Alerts v2 =========

Usage no npm install needed!

<script type="module">
  import nibStylesV2Alerts from 'https://cdn.skypack.dev/@nib-styles/v2-alerts';
</script>

README

Alerts v2

Alerts for nib pages.

<div class="v2-alert v2-alert--error">
    <div class="v2-alert__title">Message Title</div>
    Message content
</div>

This component contains the following modifiers:

v2-alert--error       // Error message
v2-alert--success     // Success message
v2-alert--warning     // Alert message
v2-alert--info        // Information message

Always use both the base and modifier classes:

v2-alert v2-alert--error

Dependencies

nibdings icon font from nib-styles/v2-icons