DEV Community

Discussion on: Implementing ActiveLink in Next.js and Chakra

Collapse
 
brandiqa profile image
Michael Wanyoike

There's a prop called _activeLink that you can use if you are using the NavLink component from React Router or Remix package. Basically it will work with any routing package or logic that adds the .active class to the active link.