Octicons¶
Octicons is a library of icons designed by GitHub as part of its Primer design system.
Usage¶
- Find the icon you want
- Pass its name to
icons.octicons
Icon names are case-inensitive.
Props¶
Name | Type | Description | |
---|---|---|---|
color |
str | tuple |
The color of the icon. May be a hex code, a tuple of RGB, RGBA, or HSL values, or any valid CSS Color Module Level 3 color name. | |
size |
int | str |
The size of the icon. May be an integer (in pixels) or a CSS size string (e.g., "1rem" ). |