Hey Replo! I see that there is a Pop Up component,...
# replo-help
a
Hey Replo! I see that there is a Pop Up component, but any thoughts on the best way to build a modal that feels more like a "Panel" that animates in from the side of the viewport? Like this example:
p
Hey there Andy! Andres here from the Replo team! Being the Popup the best approach in this case, I can give you two other options for this! 1. You can custom code the panel and activate it with states or with some javascript as well. This is the most advance option I can give you. 2. You can built it as any other component but using States to show/hide it. This can be a bit tricky as well, and depending on how you built it this can or can't be closed if clicked outside. Anyway, I strongly suggest to use the popup component for this, since this component has the code already built in, and won't cause any issues later on. In addition, having a side panel would be a great feature as well. You can upload it here feedback.replo.app and upvote it so you can keep track of the progress of this new feature request!
a
thanks for the response @Andres Pachano
Any tips on how to make the panel animate open and closed?
p
May I ask, which of the 3 options are you going to use?
a
the pop up standard option
p
Awesome! In that case, all you need to know about pop-ups can be found here! https://support.replo.app/hc/en-us/articles/17195775042573-Popups And for a nice and smooth animation you can go over to the "interactions" tab in the popup component and add an animation
a
thanks
p
Sure!! No worries at all! If you need anything else please let us know!