All Octicons

x

Octicon sizes navigation

Usage

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

React

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


<XIcon size={12} />

Rails

<%= render(Primer::Beta::Octicon.new(:x, size: :xsmall)) %>

Jekyll

{% octicon x height:12 %}

Figma

This icon is called x-12 in Primer's Octicons library.