All Octicons

square

Octicon sizes navigation

Usage

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

React

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


<SquareIcon size={16} />

Rails

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

Jekyll

{% octicon square height:16 %}

Figma

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