Active Links


You may want to style a link differently when it is "active" (based on the current response). You can do so using the <Active> and <Link> components.

Live Demo

Use the three buttons at the top of the Sandbox to toggle view modes. Clicking the menu button in the top left corner opens a menu to switch between files.

On GitHub

If you want to run this code locally, the source code is available on GitHub here.