All Octicons

link

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

React

import {LinkIcon} from '@primer/octicons-react'


<LinkIcon size={16} />

Rails

<%= render(Primer::Beta::Octicon.new(:link, size: :small)) %>

Jekyll

{% octicon link height:16 %}

Figma

This icon is called link in Primer's Octicons library.