JSFiddle - React, Tailwind, and code Playground

HTML

<button type="button" class="link" onclick="link('link to page 28')">looks like link but is a button</button>
<br>
<button type="button" onclick="link('button to page 27')">looks like button</button>

CSS

.link {
  border: none;
  background: none;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

JavaScript

function link(page) {
  console.log('redirect to ' + page);
  //do in app nav change, or update URL param, or window.location, etc
  // whatever your process is
}