Gathering detailed insights and metrics for @react-md/alert
Gathering detailed insights and metrics for @react-md/alert
Gathering detailed insights and metrics for @react-md/alert
Gathering detailed insights and metrics for @react-md/alert
React material design - An accessible React component library built from the Material Design guidelines in Sass
npm install @react-md/alert
Typescript
Module System
Node Version
NPM Version
@react-md/core@6.3.1
Updated on Jul 11, 2025
@react-md/core@6.3.0
Updated on Jul 04, 2025
@react-md/core@6.2.1
Updated on Jul 03, 2025
@react-md/core@6.2.0
Updated on Jun 13, 2025
@react-md/core@6.1.0
Updated on May 30, 2025
@react-md/core@6.0.2
Updated on May 24, 2025
TypeScript (89.84%)
MDX (5.71%)
SCSS (4.33%)
JavaScript (0.12%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,339 Stars
6,519 Commits
301 Forks
53 Watchers
12 Branches
68 Contributors
Updated on Jul 11, 2025
Latest Version
5.1.6
Package Id
@react-md/alert@5.1.6
Unpacked Size
171.15 kB
Size
32.63 kB
File Count
79
NPM Version
lerna/4.0.0/node@v18.18.0+x64 (linux)
Node Version
18.18.0
Published on
Dec 11, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
8
Create accessible alerts that can be displayed to users in your app. This
package provides a MessageQueue
for showing messages and a useAddMessage
hook to push alerts into the queue.
1npm install --save @react-md/alert
It is generally recommended to also install the following packages since they work hand-in-hand with this package:
1npm install --save @react-md/theme \ 2 @react-md/typography \ 3 @react-md/button
You should check out the full documentation for live examples and more customization information, but an example usage is shown below.
src/index.tsx
1import { render } from "react-dom"; 2import { MessageQueue } from "@react-md/alert"; 3 4import App from "./App"; 5 6render( 7 <MessageQueue id="main-alerts"> 8 <App /> 9 </MessageQueue>, 10 document.getElementById("root") 11);
src/App.tsx
1import type { ReactElement } from "react"; 2import { useAddMessage } from "@react-md/alert"; 3import { Button } from "@react-md/button"; 4 5function App(): ReactElement { 6 const addMessage = useAddMessage(); 7 8 return ( 9 <Button 10 id="button-1" 11 onClick={() => addMessage({ children: "Example Message" })} 12 > 13 Show Message 14 </Button> 15 ); 16} 17 18export default App;
No vulnerabilities found.
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool detected: CodeQL
Details
Reason
no binaries found in the repo
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More