Skip to content

code

1000%

Usage

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

React

<CodeIcon size={24} />

ViewComponent

<%= render(Primer::Beta::Octicon.new(:"code")) %>

Jekyll

{% octicon code height:24 %}

UI examples