Alert

Alert component for displaying important messages to users. Supports multiple variants and style overrides.

交互触发

按钮触发 Alert

Click button to show/hide Alert

可关闭的 Alert

Alert with close button that can be manually dismissed by users

变体展示

Default
Destructive
Warning
Success
Info
Accent

侧边强调条

Alert variant with left accent bar, suitable for status emphasis scenarios

样式覆盖

深色主题覆盖

彩色阴影覆盖

带操作按钮

实际案例

表单验证反馈

支付成功通知

Cookie 提示