NavLink

E559079

NavLink is a specialized React Router component used to create navigation links that can automatically apply styling based on the current route’s active state.

All labels observed (2)

Label Occurrences
NavLink canonical 2
NavLink (React Router) 1

How this entity was disambiguated

Statements (51)

Predicate Object
instanceOf React Router component
availableIn React Router v5
linked to: React Router

React Router v6
linked to: React Router
category frontend routing component
web development component
differsFrom Link by providing active styling
documentedAt https://reactrouter.com
hasBehavior applies active styles when URL matches
can match exact routes with end prop
can match partial routes by default
renders anchor element by default
uses current location from router context
hasProperty aria-current
caseSensitive
children
className
className function for active state
download
draggable
end
id
onClick
preventScrollReset
rel
reloadDocument
replace
role
state
style
style function for active state
tabIndex
target
title
to
type
introducedIn React Router v4
linked to: React Router
partOf React Router
requires React
React Router context
similarTo Link
supportsFeature active link styling
automatic active state detection
conditional styling based on route
declarative routing
navigation links
usedFor breadcrumbs
header navigation
navigation menus
sidebar navigation
usedIn React applications
writtenIn JavaScript

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

React Router hasComponent NavLink
Link (React Router) commonlyUsedWith NavLink (React Router)
subject linked to: Link
linked to: NavLink
React Router v5 hasComponent NavLink
subject linked to: v5