All Octicons

file-directory

Octicon sizes navigation

Usage

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

React

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


<FileDirectoryIcon size={16} />

Rails

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

Jekyll

{% octicon file-directory height:16 %}

Figma

This icon is called file-directory in Primer's Octicons library.