AIMCP Server and Agent Skills included
React Message for inline alerts, now easier to build with AI
Show inline messages in five severities and three variants, with severity icons, close buttons, content alignment, and templates with actions. AI assistants set it up for you from the current docs.
- 4.5/5850+ G2 reviews
- 4.6/5950+ Capterra reviews
- WCAG 2.2and Section 508
- 5severities
- 3variants
Trusted by the world’s leading companies
Now easier with AI
Build inline messages faster with AI
Coding assistants write the Message setup from the current docs, with the documented properties.
01For developers
Describe an alert and get code that uses the documented API
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Message docs and recommended patterns.
AI coding assistantMCP · Syncfusion React
Warn users that their storage is almost full.
search_docs“React Message severities” · 2 doc sections
+<MessageComponent severity="Warning"
+ content="Your storage is 90% full." />
Documented API: severity, content
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Use the filled style for the payment error.
search_docs“React Message variants” · 2 doc sections
+<MessageComponent severity="Error" variant="Filled"
+ content="Payment failed. Check your card details." />
Documented API: variant
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show the success message without its severity icon.
search_docs“React Message severity icons” · 2 doc sections
+<MessageComponent severity="Success" showIcon={false}
+ content="Payment received." />
Documented API: showIcon
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Let users close the new version notice.
search_docs“React Message dismissible messages” · 2 doc sections
+<MessageComponent severity="Warning"
+ showCloseIcon={true}
+ content="A new version is available."
+ closed={() => setDismissed(true)} />
Documented API: showCloseIcon, closed
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Center the text of the validation message.
search_docs“React Message alignment and custom styles” · 2 doc sections
+<MessageComponent severity="Info"
+ cssClass="e-content-center"
+ content="All fields are valid." />
Documented API: cssClass, e-content-center
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Give the session warning rounded corners and the license error square ones.
search_docs“React Message rounded and square corners” · 2 doc sections
+<MessageComponent severity="Warning" cssClass="rounded"
+ content="Your session expires in 5 minutes." />
+<MessageComponent severity="Error" cssClass="square"
+ content="The license key is invalid." />
Documented API: cssClass, severity
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Add an Update card button inside the payment error message.
search_docs“React Message templates with actions” · 2 doc sections
+<MessageComponent severity="Error">
+ <span>Your card was declined.</span>
+ <ButtonComponent cssClass="e-link">Update card</ButtonComponent>
+</MessageComponent>
Documented API: MessageComponent, ButtonComponent
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show the restricted editing message again when users click a button.
search_docs“React Message show and hide from code” · 2 doc sections
+const [visible, setVisible] = useState(true);
+<MessageComponent severity="Info" visible={visible}
+ showCloseIcon={true}
+closed={() => setVisible(false)}
+ content="Editing is restricted." />
+<ButtonComponent onClick={() => setVisible(true)}>Show
+ message</ButtonComponent>
Documented API: visible, showCloseIcon, closed
ResultRendered in your app
Accessibility
Accessible to keyboard and screen reader users
The React Message component follows WAI-ARIA practices, with keyboard access and screen reader support.
- Standards
- WCAG 2.2 and Section 508
- Keyboard
- Enter, Space, Tab
- Screen readers
- aria-label
- Layout
- Right-to-left and mobile support
Features in depth
React Message features in depth
Open a demo to try each one, or the docs to see the API.
Accessible, localized, and themed
Messages follow the WAI-ARIA alert pattern and WCAG 2.2, with keyboard access to the close icon and right-to-left layouts. Brand the themes in Theme Studio.
Get started
Get your first message running, with or without AI
With an AI coding assistant
- Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
- Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Message patterns.Install Agent Skills
- Describe the messageCopy this prompt to start.
Add a Syncfusion React Message to my account page that shows a filled error when payment fails, with an Update card button and a close icon.
By hand, in three steps
1 · Install
npm install @syncfusion/ej2-react-notifications @syncfusion/ej2-tailwind3-theme --save
2 · src/App.css
@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/message/index.css';
3 · src/App.tsx
import { MessageComponent } from '@syncfusion/ej2-react-notifications';
import './App.css';
export default function App() {
return (
<MessageComponent severity="Info" content="Your trial ends in 7 days." showCloseIcon={true} />
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
Trusted by developers and teams
“Awesome, enough said”
Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.
“A giant framework with great pricing options”
I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.
- 75%
- lower costs
- 50%
- faster development
Customer story · Igniatek
Igniatek cuts development time 50% and costs 75% with Essential Studio®
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Award-winning
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Every message feature, included in the license
- Every feature includedNo separate enterprise edition
- Royalty-freeNo runtime or deployment fees
- Weekly patchesPlus regular feature releases
- Expert supportFrom Syncfusion engineers
Showing all 18 features. Each one opens its demo or documentation.
Severities and variants
Icons and dismissal
Customization
Accessibility and localization
Pure React
No feature matches that search. Try another word, or open the Message demos.
Related notification components:React ToastReact Badge
Questions and answers
React Message FAQ
What is the React Message?
The Syncfusion React Message shows an inline message inside the page content, such as an error, a warning, or a success. Icons and colors show how important each message is. Explore the demos
How is a message different from a toast?
A message stays inside the page content until it is closed or hidden. A toast pops up over the page and hides on its own after a timeout. React Toast
How do I add a message in React?
Install @syncfusion/ej2-react-notifications and the Tailwind 3 theme, import the theme CSS, and render MessageComponent with a severity and content. Read the getting started guide
Which severities are available?
Normal, Success, Info, Warning, and Error. Each severity has its own icon and colors. Read about severities
Which visual styles can I choose?
Three variants: Text, Outlined, and Filled, set with the variant property. Read about variants
Can users close a message?
Yes. Set showCloseIcon to show a close icon, and handle the closed event. Set visible to show or hide the message from code. Read about icons
Can I put buttons or links in a message?
Yes. A template can hold any HTML or React components, such as an Update card button. Template demo
How do I align or restyle the message?
Add e-content-center or e-content-right through cssClass to align content, or your own class for rounded or square corners. Read about customization
Is the React Message accessible?
Yes. It follows the WAI-ARIA alert pattern and WCAG 2.2, users reach the close icon with the keyboard, and it supports right-to-left layouts. Read about accessibility
Can AI coding assistants build with the React Message?
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Message docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server
Is the Syncfusion React Message free?
It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility
Resources
React Message resources
Message for other frameworks:AngularBlazorJavaScriptVue
More React components:ToastDialogBadgeAll 140+ React components