All Octicons

sidebar-collapse

Octicon sizes navigation

Usage

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

React

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


<SidebarCollapseIcon size={16} />

Rails

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

Jekyll

{% octicon sidebar-collapse height:16 %}

Figma

This icon is called sidebar-collapse in Primer's Octicons library.