NEURALNG

PUBLIC CONTRACT

Message API

Inputs

NameTypeDefaultDescription
severity NeuralMessageSeverity'info' Semantic color and announcement intent.
title string | nullnull Optional concise heading.
message string | nullnull Inline detail; projected content is also supported.
variant 'filled' | 'outlined' | 'simple''filled' Visual treatment.
size 'small' | 'medium' | 'large''medium' Density preset.
icon booleantrue Shows the automatic severity icon.
iconClass string | nullnull Overrides the icon and accepts utility classes.
closable booleanfalse Provides a keyboard-accessible close button.
closeLabel string'Close message' Accessible close button name.
ariaLive 'auto' | 'off' | 'polite' | 'assertive''auto' Live-region override.
unstyled booleanfalse Removes every NeuralNg visual class.
messageClass string'' Adds consumer classes to the root.
classes NeuralMessageClasses{} Typed class slots.

Models and events

visiblemodel<boolean>true

Controlled rendered state with visibleChange.

closedvoid

Emitted after an explicit user close.

Typed class slots

rooticoncontenttitledetailactionsclose

Store type boundary

NeuralMessage is the inline component. NeuralMessageRecord is the immutable notification record exposed by NeuralMessageService. The explicit names prevent renderer and data contracts from being confused.