Alert
Show a result or information that needs attention within a page.
Feedback types
Project saved
A new version is available
Update whenever it is convenient.
Check your settings
Save failed
Try again later or contact your team administrator.
basic.tsx
Neutral alerts
Present supporting information on a neutral surface with semantic icon colors.
Access follows your policy
Read-only by default. Changes require approval.
Your draft is saved
You can finish setting up later.
Some services need setup
Ask your administrator to connect them before retrying.
Connection failed
Check the connection settings and retry.
neutral.tsx
Alert API
Types
Import types when defining reusable component props or assembling options.
Usage notes
Success, information, warning and error messages use distinct semantic colors. Supply application text yourself; the close button follows the ConfigProvider language.
Surfaces and rich content
The neutral surface keeps the icon color and announcement semantics of type. Override icon or use showIcon={false} to hide it.