Alert

Displays a callout for user attention.

Default

The standard alert component.

Error (Destructive)

Used for errors and critical information.

Success

Used for successful operations.

Warning

Used for warning information.

Info

Used for general information.

Aborted

Used when an operation has been aborted.

Installation & Usage

Installation

Imports

Basic Skeleton

API Reference

Helm API

The helm directives provide the default spartan/ui styling for the alert.

DirectiveSelectorInputs
HlmAlert[hlmAlert]
  • variant: 'default' | 'destructive'
HlmAlertTitle[hlmAlertTitle]Styled title for the alert.
HlmAlertDescription[hlmAlertDescription], [hlmAlertDesc]Styled description for the alert.
HlmAlertIcon[hlmAlertIcon]Icon directive that handles sizing and alignment.