#Mantine NavLink Active State

1 messages · Page 1 of 1 (latest)

polar oriole
#

I'm trying to get my Mantine NavLinks to work within Remix and update their active state. I've checked https://mantine.dev/core/nav-link/#polymorphic-component but it only has the Next.js and React Router examples. I know Remix has useMatches but not sure how to incorporate it properly.

Has anyone got this working?

Navigation link

green adder
polar oriole
#

@green adder Mantine NavLink has some default styles when active={true} which is what I'm trying to pull