Socket
Book a DemoInstallSign in
Socket

@nib-styles/alerts

Package Overview
Dependencies
Maintainers
67
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nib-styles/alerts

Alerts for nib pages.

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
5
150%
Maintainers
67
Weekly downloads
 
Created
Source

@nib-styles/alerts

Alerts for nib pages.

Installation

npm install --save @nib-styles/alerts

Usage

There are four types of alerts:

  • Error
  • Success
  • Warning
  • Info

Alerts have a title and may also have a message:

alert with a title:

<div class="alert alert--error">
  <div class="alert__title">We're sorry, due to too many invalid login attempts your account is locked</div>
</div>

alert with a title and a message:

<div class="alert alert--error">
  <div class="alert__title">We're sorry, due to too many invalid login attempts your account is locked</div>
  <div class="alert__message">You will be able to try again in 00:30 minutes.</div>
</div>

Changelog

3.0.0 - updated breaking version of @nib-styles/v2-icons

FAQs

Package last updated on 14 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts