All Octicons

mail

Octicon sizes navigation

Usage

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

React

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


<MailIcon size={24} />

Rails

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

Jekyll

{% octicon mail height:24 %}

Figma

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