All Octicons

code-square

Octicon sizes navigation

Usage

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

React

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


<CodeSquareIcon size={16} />

Rails

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

Jekyll

{% octicon code-square height:16 %}

Figma

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