How to create a link with an "active" state?

hi people, can someone explain to me how to make a button with active state for default in the menu? like home button…

Hi @tropical_harrier, I’m not sure I understand what you are referring to, do you have an example?

when a page X is displaying i need the link X in the menu get focus

Oh got it, for now you will need to override this from code, if you are using nextjs then you will need to consult the router path, as shown here