<sl-alert>
Alerts are used to display important messages inline or as toast notifications.
The source repository is archived and read-only.
Superseded by <wa-callout> in Web Awesome.
- Category
- Feedback
- Built with
Lit
- Library
Shoelace
- Author
Shoelace
- Package
-
@shoelace-style/shoelace
- Component size
- 9.5 kB JS (minified + gzipped, JS includes dependencies beyond the library)
- Library size
- 7.9 kB JS (shared by every Shoelace component, loaded once per page)
- Downloads
- 142,636/week · jsDelivr 2,182,607,821 hits/month (whole @shoelace-style/shoelace package)
- GitHub stars
- 13,834
- Latest stable version
2.20.1
- License
- MIT
- Status
- stable
Attributes
openclosablevariantdurationcountdown
Slots
Events
sl-showsl-after-showsl-hidesl-after-hide
CSS Parts
baseiconmessageclose-buttonclose-button__base