The <NavLink>
component is used in navigation (ex: in Console). All additional properties are sent directly to the underlying HTML <a>
element.
false
default
start
end
<NavLink href="/" active>Overview</NavLink>
<NavLink href="/">Comments</NavLink>
<NavLink href="/">Pages</NavLink>
<NavLink href="/" disabled>Disabled</NavLink>
<NavLink href ="/" active>
<IconColumns slot="start"></IconColumns>
Overview
</NavLink>
<NavLink href="/">
<IconChat slot="start"></IconChat>
Comments
</NavLink>
<NavLink href="/">
<IconFile slot="start"></IconFile>
Pages
</NavLink>
<NavLink href="/">
<IconCoin slot="start"></IconCoin>
Billing
<IconExclamationCircle slot="end"></IconExclamationCircle>
</NavLink>