Octicon
Use Octicon to render an Octicon as a component.
- Alpha
- Not reviewed for accessibility
Name | Type | Default | Description |
---|---|---|---|
ariaLabel | string | Specifies the aria-label attribute, which is read verbatim by screen readers | |
icon | Component | Checks the input by default in uncontrolled modeName of the [Octicon component](https://primer.style/octicons/) used in the | |
color | string | Sets an override color for the Octicon. Compatible with colors from the [Primer color system](https://primer.style/primitives/colors)." | |
size | number | 16 | Sets the uniform `width` and `height` of the SVG element |
verticalAlign | string | text-bottom | Sets the `vertical-align` CSS property |
sx | SystemStyleObject | Style overrides to apply to the component. See also overriding styles. |