A good way to do Modals?
Answered
SteveGremory posted this in #help-forum
Hey there, so today i've been trying to find a good way to do Modals for my little webapp, however, everything seems to be too complex or overkill for my needs, any suggestions as to what approach I should/could take? I'll attach a screenshot of what I wanna accomplish with this modal for added clarity, please ping me!
Answered by joulev
There are plenty of ways but for my apps I just use radix dialog, it can do anything I need to do with modals
14 Replies
well i've made some progress, I guess
@SteveGremory Hey there, so today i've been trying to find a good way to do Modals for my little webapp, however, everything seems to be too complex or overkill for my needs, any suggestions as to what approach I should/could take? I'll attach a screenshot of what I wanna accomplish with this modal for added clarity, please ping me!
There are plenty of ways but for my apps I just use radix dialog, it can do anything I need to do with modals
Answer
No need to force yourself to use intercepting routes or something similar, it’s not the only way to make modals
@joulev No need to force yourself to use intercepting routes or something similar, it’s not the only way to make modals
hey! thanks for the input but I already did it :D
Well, I didn't do it
I used NextUI
Bad idea and unwanted bloatware but
eh, it does do exactly what I want so
@SteveGremory I used NextUI
Yeah that works too. A component lib is also a popular way to use modals. I prefer to bring my own styling so I use radix which is also a component lib like nextui, just unstyled
Have fun coding
@joulev Have fun coding
you too mate, and thanks for helping