React component for a Next.js route link that puts an active boolean prop on the child if the link matches the current route path.

GitHub icon Module source

Unpkg icon Unpkg CDN


This component module has a css export that’s a Set instance containing the URL strings of the CSS files that must be loaded for this component to display correctly (excluding theme and global CSS).


The React component props are documented via TypeScript JSDoc comments in the module source.