Skip to content

sidebar-collapse

1000%

Usage

You can use the View Component, Jekyll helper, or React package to include Octicons on your site. Below are code examples for each:

Octicon View Component

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

Jekyll

{% octicon sidebar-collapse height:16 %}

React

<SidebarCollapseIcon size={16} />

UI examples

Inline textSmall inline text
Monalisa created one hot potato