🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

@nib-styles/alerts

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
v

@nib-styles/alerts

Alerts for nib pages.

3.0.0
latest
48

Supply Chain Security

100

Vulnerability

50

Quality

81

Maintenance

100

License

Version published
Weekly downloads
6
-57.14%
Maintainers
67
Weekly downloads
 
Created
Issues
1

@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