Thanks to visit codestin.com
Credit goes to primer.style

All Octicons

code

Octicon sizes navigation

Usage

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

React

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


<CodeIcon size={16} />

Rails

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

Jekyll

{% octicon code height:16 %}

Figma

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