All Octicons

sun

Octicon sizes navigation

Usage

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

React

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


<SunIcon size={16} />

Rails

<%= render(Primer::Beta::Octicon.new(:sun, size: :small)) %>

Jekyll

{% octicon sun height:16 %}

Figma

This icon is called sun in Primer's Octicons library.