Community forum for knowledge and support

Updated last year

Updating Components with Newer Animations

At a glance

The community member was trying to update their older Navbar 2 component to use a newer version with a chevron that flips around on hover. They were having trouble getting the animation to work after copying the chevron UI element. In the comments, the community member shared their solution: they were able to solve the problem by "copying the UI element" from the updated component, which had the correct naming and functionality.

I was wondering how you all update components! I have some older components I use (Navbar 2 and its dropdowns) and there are "newer" ones on the relume site that have a cool chevron that flips around on hover (animation?) versus the previous which just had an icon that was static.. I want to update to the new chevron with animation - I am trying to cut and paste in the chevron.. (managed to do that) but the animation doesnt come with it because I believe it attached to the parent element.. I started trying to copy that.. but its very hard to understand for me if the animation from one dropdown (ie navbar-dropdown1) can work with my component navbar2-dropdown πŸ˜„

M
1 comment

Solved my own problem. For anyone who sees this - My solution was to "copy ui element" specifically from the updated component (it has all the right naming etc) as opposed to what I was doing. So just go to the main component and do Copy UI Element!

Add a reply
Sign up and join the conversation on Slack