Icon
Icons at GitHub are called Octicons, which are available in various implementations including React, Figma, Rails, and Styled System.
On this page
v0.35.2BetaNot reviewed for accessibility
Description
Octicon
renders an Octicons with System arguments.
Octicon
can also be rendered with the primer_octicon
helper, which accepts the same arguments.
Arguments
Name | Type | Default | Description |
---|---|---|---|
icon_name | Symbol, String |
| Name of Octicons to use. |
icon | Symbol, String |
| Name of Octicons to use. |
size | Symbol |
| One of |
use_symbol | Boolean |
| EXPERIMENTAL (May change or be removed) - Set to true when using with OcticonSymbols. |
system_arguments | Hash | N/A |