BetaPublic beta — Read the release notes
Documentation

Alert

Inline, non-modal alert for status messages with live region semantics.

Package
@solidiom/alert
Version
0.0.1-next.0
Status
stable

Generated from the package's public source.

API

AlertDescriptionPropsinterface

Props

class?
string

children: Element

View source

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?
string
type?
AlertType — Alert variant — controls visual appearance via recipes.

children: Element

View source

AlertTitlePropsinterface

Props

class?
string

children: Element

View source

AlertTypetype

View source

Descriptioncomponent

                        Description(props: AlertDescriptionProps): Element
                      

Props

class?
string

children: Element

View source

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?
string
type?
AlertType — Alert variant — controls visual appearance via recipes.

children: Element

View source

Titlecomponent

                        Title(props: AlertTitleProps): Element
                      

Props

class?
string

children: Element

View source