TwitterGithub

Alert

Displays a callout for user attention.

Installation

npx nx g @spartan-ng/cli:ui alert

Usage

import {
  HlmAlertDescriptionDirective,
  HlmAlertDirective,
  HlmAlertIconDirective,
  HlmAlertTitleDirective,
} from '@spartan-ng/ui-alert-helm';
<div hlmAlert>
      <hlm-icon hlmAlertIcon name="lucideBox" />
      <h4 hlmAlertTitle>Introducing spartan/ui!</h4>
      <p hlmAlertDesc>
        spartan/ui is made up of unstyled UI providers, the spartan/ui/brain.<br />
        On top we add spartan/ui/helm(et) with shadcn-like styles.
      </p>
    </div>

Examples

Default

Destructive

Alert Dialog Accordion