konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.52k stars 131 forks source link

[Feature request] Notification component #15

Open liho00 opened 3 years ago

liho00 commented 3 years ago

Clear and concise description of the problem

image

Izit possible to add this notification component to tailwind mobile?

Because i am developing an existing project, i did tried framework 7 but its heavily depends on the f7-app, and unable to combined with the project, hence, I am not using framework 7.

However i saw tailwind-mobile is possible to combined with any existing project & frameworks & packages. Hence, im here to request notification components.

Suggested solution

Sorry, im not sure whats the solutions, need project author & collaborator to advice.

Alternative

No response

Additional context

No response

Validations

Would you like to open a PR for this feature?

nolimits4web commented 3 years ago

It is possible to add such component to Tailwind Mobile, but I didn't do it yet because I think it is kind of bad practice to mimic native push notifications which can mislead users. For now, I recommend to use Toast component for in-app notifications. But if we have a lot of request for Notification component, then for sure, will add it to Tailwind Mobile

Quin452 commented 2 years ago

A bit of a necropost, but it saves having to create a new issue.

Is there a way to style the Toast? It'd be nice to change it to red, for errors (similar to Tailwind's actual Alert Boxes).