sn-alert
v0.0.5
Published
SnAlert is an Angular 21 standalone alert/notification banner component
Downloads
476
Maintainers
Readme
sn-alert
A notification alert component for Angular with multiple severity levels and dismissible option.
Installation
npm i sn-alertUsage
import { SnAlertComponent } from 'sn-alert';
@Component({
imports: [SnAlertComponent],
template: `
<sn-alert type="success" message="Operation completed successfully!"></sn-alert>
<sn-alert type="danger" message="Something went wrong." [dismissible]="true"></sn-alert>
`
})