Open this example in the interactive library
Source code
<style>
.demo [aria-current="page"] {
text-decoration: underline;
font-weight: 700;
}
</style>
<nav class="demo" aria-label="Product">
<span>Home</span> · <span aria-current="page">Library</span>
</nav>