Active Links


You may want to style a link differently when it is "active" (based on the current response object). You can do so using the active route interaction combined with the curi-link component.

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.