Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] We really need a Alert component. #2250

Closed
nayanrabiul opened this issue Jan 15, 2024 · 13 comments · Fixed by #3982
Closed

[Feature Request] We really need a Alert component. #2250

nayanrabiul opened this issue Jan 15, 2024 · 13 comments · Fixed by #3982
Assignees
Labels
🔦 Type: Feature New feature or request

Comments

@nayanrabiul
Copy link

Is your feature request related to a problem? Please describe.

i want to notify the user about their action but i culdnt find any alert component for that . what i mean by alert you can see below picturecould

Describe the solution you'd like

I was surprised to see no alert component. How did they miss that, especially considering it is a pretty good React UI library?

I would like to suggest the alert component. Similar to toast, however,
it can be used to share larger chunks of information in page, can also be used as an
alternative to toasts. It displays by default and does not leave until the user removes (if needed)
e.g info alert, warning alert, success alert, etc
like a good idea to have an alert that stays on the page reminding users what to do.

Describe alternatives you've considered

I have considered using the modals as an alternative solution to a page alert
but it doesn't quite seem to do the trick because modals need to be triggered. If
triggered by default, users can close this without actually reading the message. It seems
like a good idea to have an alert that stays on the page reminding users what to do.

Screenshots or Videos

image

@nayanrabiul nayanrabiul added the 🔦 Type: Feature New feature or request label Jan 15, 2024
@DannyKuk
Copy link

Agree, some Alerts, basically toast in general would be needed badly.
Would be also amazing if it would be some kind of parameter "isAutoClose" or similar to trigger the auto close or the users need to close it.

@khylpe
Copy link

khylpe commented Feb 10, 2024

Absolutely agree with your feature request. The absence of an alert component is indeed surprising.

@vitalijalbu
Copy link

Waaannttt ittttt

@jonathanrich1986
Copy link

Yes please!

@DemonKHH
Copy link

agree more,that's why i cant use nextui, please add it

@abhinav700
Copy link
Contributor

abhinav700 commented Aug 19, 2024

@wingkwong Can you assign this issue to me?

@alvinBM
Copy link

alvinBM commented Aug 20, 2024

We're really excited about the possibility of having an alert component! It would be a fantastic addition, and we can't wait to see it implemented.

@abhinav700
Copy link
Contributor

abhinav700 commented Aug 20, 2024

We're really excited about the possibility of having an alert component!

Me too!
Will begin working on it As soon as I get the assignment from @wingkwong

@wingkwong
Copy link
Member

We're really excited about the possibility of having an alert component!

Me too!

Will begin working on it As soon as I get the assignment from @wingkwong

Hey. Please ping me at Discord for the discussion. We will work on the design first and relay to u once it s done.

@abhinav700
Copy link
Contributor

@wingkwong Should I Dm You or tag you in a channel?

@wingkwong
Copy link
Member

DM me pls thanks

@vitalijalbu
Copy link

Guys, go with shadcn or radix themes.

@abhinav700
Copy link
Contributor

DM me pls thanks

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔦 Type: Feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants