Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@blaze-react/alert

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blaze-react/alert

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. Alerts may have a type, be dismissable, include a close button, and contain any sort of children components.

latest
npmnpm
Version
0.8.0-alpha.112
Version published
Maintainers
7
Created
Source

Description

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. Alerts may have a type, be dismissable, include a close button, and contain any sort of children components.

Usage

  • Simple
<Alert>This is a simple alert.</Alert>
  • With modifier
<Alert type="info">This is a info alert.</Alert>
  • With icon
<Alert icon="error" 
  type="warning">
  Warning alert with icon
</Alert>
  • Dismissable
<Alert close 
  type="success">
  This is a success alert that is closable.
</Alert>
  • With extra content
<Alert type="primary">
  <p>Primary alert with content.</p>
  <ol>
    <li>lorem</li>
    <li>ipsum</li>
  </ol>
</Alert>

API

Alert can receive a number of props as follow:
NAMETYPEDEFAULTOPTIONS
typestringemptyprimary, secondary, success, warning, dark, info, light
iconstringemptyMaterial icons
closeBooleanfalse
childrensingle/array of nodesNo content

FAQs

Package last updated on 01 Oct 2025

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