Skip to content
Layout

Alert

Inline status messages for feedback, warnings, and errors. Optionally dismissible.

LlmAlert
WCAG AA0 deps

Demo

Live PreviewReact
jsx
<LlmAlert variant="info">This is an informational message.</LlmAlert>
<LlmAlert variant="success">Your changes were saved successfully.</LlmAlert>
<LlmAlert variant="warning" dismissible={true}>Your session expires in 5 minutes.</LlmAlert>
<LlmAlert variant="danger">Something went wrong. Please try again.</LlmAlert>

API (Angular)

PropTypeDefaultDescription
variant'info' | 'success' | 'warning' | 'danger''info'Color scheme and icon
dismissiblebooleanfalseShow a close button
onDismissed() => voidCalled when the dismiss button is clicked

Import

ts
import { LlmAlert } from '@atelier-ui/angular';