All Octicons

image

Octicon sizes navigation

Usage

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

React

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


<ImageIcon size={16} />

Rails

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

Jekyll

{% octicon image height:16 %}

Figma

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