<dy-alert>

A component that displays important messages with different status types. It supports various states like positive, notice, negative, and informative, and can include an optional action button. The alert is designed to be visually distinctive and can include a header, content, and action.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
header(header) Yes string
status(status) Yes Status
action Yes { text: string; handle: () => void }

Other

Type Value
Slot unnamed