Skip to content

Arrow Link

Text link with an animated underline and a nudging arrow, for the end of a teaser or a section action. Detects external URLs and opens them safely.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/arrow-link
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Variants

Three tones and three underline behaviours — pick always when a link must look like a link at rest, hover for most standalone links.

External Links

Absolute URLs are detected automatically: the arrow turns ↗ and the link opens in a new tab with a safe rel.

Section Action

A quiet “view all” link in a split section header — it sits on the title's baseline on desktop and drops below it on phones.

API Reference

Used in