Feedback v1.0.0 Free

Alert

A notification component for displaying important messages to users. Supports success, error, warning, and info variants with optional icons and dismiss functionality.

Preview & Code

Options

Name Type Default Description
message * String required The alert message to display
variant Symbol :info Alert style: :success, :error, :warning, or :info
dismissible Boolean false Whether the alert can be dismissed
class String "" Additional CSS classes to apply

Changelog v1.0.0

- Initial release with success, error, warning, and info variants
- Optional dismiss button with Stimulus controller
- Icon support with default icons per variant

Enjoying this free component? Get all 78 components with a one-time purchase.

Get All Components