The Nav & NavItem element can be used to quickly & easily create headers that update to show which page you are on.
If used in next.js, you can pass in next's Link from next/link into the Link property of NavItem. Otherwise, if you are just in plain react, skip this step.
npm i @jcomponents/nav
The rendered result is the header you see at the top of the page