Homecomponentsnavigational
TextLink
A textual link to navigate to a different screen.
Use a TextLink to create navigation links. This component is usually nested within a Text or Heading component.
By default, TextLink routes using NextJS. To disable this and use regular links, see Disabling Next Routing.
Standard Color
Use the color property to set the color of the link.
Contextual Sizes, Weights, and Colors
TextLink can inherit the size, weight, and color from a parent Text or Heading component.
No Underline
Use the noUnderline property to remove the underline from the link on hover.
Disabling Next Routing
Use the noNext property to disable the NextJS routing. This can be useful for links to pages that are routed outside of NextJS.
API
href
Required
string
children
Required
ReactNode
id
string
color
inherit
primary
secondary
target
HTMLAttributeAnchorTarget
onClick
MouseEventHandler<HTMLAnchorElement>
noUnderline
true
false
noNext
true
false
data
DataAttributeMap
itemID
string
itemProp
string
itemRef
string
itemScope
true
false
itemType
string