# Alert element - set the "type" to success or error?

**URL:** <https://community.weweb.io/t/alert-element-set-the-type-to-success-or-error/15202>\
**Category:** How do I?\
**Created:** [January 2, 2025, 11:22am UTC](https://community.weweb.io/t/alert-element-set-the-type-to-success-or-error/15202 "2025-01-02T11:22:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![wealthsyndy](https://avatars.discourse-cdn.com/v4/letter/w/48db29/32.png) [@wealthsyndy](https://community.weweb.io/u/wealthsyndy)\
**Post date:** [January 3, 2025, 12:49am UTC](https://community.weweb.io/t/alert-element-set-the-type-to-success-or-error/15202/5 "2025-01-03T00:49:10Z")

</div>

Yep it used to have it - I had it from an old project so I copied it from there, that’s why I had posted this question: [Did Alert component loose functionality?](https://community.weweb.io/t/did-alert-component-loose-functionality/14787)

The old one was pretty nice it has different colors for different cases too like success, error, warn etc.

---

_[View the full topic](https://community.weweb.io/t/alert-element-set-the-type-to-success-or-error/15202)._
