NavLink react npm code example Example: install react router dom and save $ npm install --save react-router-dom