Icons
Component
A simple and universal graphic symbol representing an action, object, or concept to help guide the user.
Related components: Badge, Callout, Icon button, TooltipComponent
<GoAIcon type="accessibility"></GoAIcon>
Properties
type
GoAIconType
Sets the icon.
size
small | medium | large
Sets the size of icon. Defaults to
medium
.theme
outline | filled
Styles the icon to show outline or filled. Defaults to
outline
.opacity
number
Sets the opacity of the icon between 0 and 1. Defaults to
1
.fillColor
string
Sets the fill colour of the icon. Defaults to
false
.inverted
boolean
Colors the icon white for use on dark backgrounds. Defaults to
false
.title
string
Sets the title of the icon.
ariaLabel
string
Sets the accessible name of the icon.
testId
string
Sets the data-testid attribute. Used with ByTestId queries in tests.
mt,mr,mb,ml
none | 3xs | 2xs | xs | s | m | l | xl | 2xl | 3xl | 4xl
Apply margin to the top, right, bottom, and/or left of the component.
Examples
Alert and messaging
Basic
Direction
Interactions
Accounts
Book time in drop in hours