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={24} />

Rails

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

Jekyll

{% octicon x height:24 %}

Figma

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