Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

ink-link

> 前端框架
Open source

Link component for Ink

191 stars0 likes3 views
WebsiteGitHub

About

Link component for Ink

ink-link

Link component for Ink

Creates clickable links in the terminal!

Install

bash
npm install ink-link

Usage

javascript
import React from 'react';
import {render, Text} from 'ink';
import Link from 'ink-link';

render(
	
		My Website
	
);

API

``

Supported terminals.

For unsupported terminals, the link will be printed after the text: My website https://sindresorhus.com.

url

Type: string

The URL to link to.

fallback

Type: boolean | (text: string, url: string) => string
Default: true

Determines whether the URL should be printed after the text for unsupported terminals: My website https://sindresorhus.com.

Can also be a function that receives the text and URL and returns a custom fallback string.

javascript
 `[${text}](${url})`}>
	My Website

Related

  • terminal-link - Create clickable links in the terminal
  • ink-gradient - Gradient color component for Ink
  • ink-big-text - Awesome text component for Ink

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcliinkink-componentjsx

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架