Alert
Renders an inline alert with a title, icon, and body text. It displays different styles based on variant: info, success, warning, or destructive. Use it to show contextual messages on a page.
Loading preview
Installation
terminal
npx layro-cli add @educlopez/alert
npx layro-cli add @educlopez/alert
bunx layro-cli add @educlopez/alert
New project? Start with init. Writes third-party code and installs packages with scripts off.
Code
Sign in to see the code
Free, with GitHub, Google or email. The install command above works without an account.
Sign inVersions
1.0.1 · current
Nov 7, 2026
Synced from Smoothui.





