Alert
Inline, non-modal alert for status messages with live region semantics.
Generated from the package's public source.
API
AlertDescriptionPropsinterface
Props
class?string
children: Element
AlertRootPropsinterface
Props
assertiveness?"assertive" | "polite"— Live region assertiveness. - "assertive" (default): uses role="alert", interrupts the user. - "polite": uses role="status", announced at next opportunity.class?stringtype?AlertType— Alert variant — controls visual appearance via recipes.
children: Element
AlertTitlePropsinterface
Props
class?string
children: Element
AlertTypetype
Descriptioncomponent
Description(props: AlertDescriptionProps): Element
Props
class?string
children: Element
Rootcomponent
Root(props: AlertRootProps): Element
Props
assertiveness?"assertive" | "polite"— Live region assertiveness. - "assertive" (default): uses role="alert", interrupts the user. - "polite": uses role="status", announced at next opportunity.class?stringtype?AlertType— Alert variant — controls visual appearance via recipes.
children: Element
Titlecomponent
Title(props: AlertTitleProps): Element
Props
class?string
children: Element