Skip to content
HomeCobalt

Text link

Takes you to another page from a word inside a sentence or beside a heading, such as "See all".

Examples

A link inside a sentence, in the accent ink.

Three items are waiting. Read the saving guide to sort them into lists.

A long addressAn address as the link's text breaks inside the word at the end of the line, so it never runs out of a narrow column.

The adviser figures come from https://example.com/data/filings/2026/q3/form-adv-part-1a-schedule-d.csv, updated each quarter.

Through your routerThe link drawn by your router's Link through renderLink, so following it changes the page without reloading the app.

Flood exposure in coastal mortgages

Cited by Heat stress and regional output.

In a section"See all" beside a section heading, over the first few saved funds.

Usage

Use it when

  • A word in a sentence leads to another page, such as "Read the saving guide".
  • A heading has one link to the full list beside it, such as "See all" in a Section's action.

Use something else when

  • The control runs an action and goes nowhere. Use Button instead.
  • The link is the way back to a list. Use BackLink instead.
  • The link moves between the app's sections. Use Nav instead.

Rules

General

Content

Avoid

Install

npx shadcn@latest add https://kaanarici.com/r/cobalt/text-link.json
import { TextLink } from "@/components/cobalt/ui/text-link"