IconLink API

API reference docs for theIconLinkcomponent. For examples and details on the usage of this component, visit the component demo page.

Props

PropTypeDescriptionDefault
variant?'accentPrimary'| 'accentSecondary'| 'neutralPrimary'| 'neutralSecondary' |'neutralSecondaryIntense'| 'neutralTertiary'Variant of the IconLink._
size?'standard' | 'small' | 'large'Size of the Icon._
iconIconSet the Icon._
href?stringSpecifies the URL of the page the link goes to_
rel?stringSpecifies the relationship between the current document and the linked document/resource._
target?'_self' | '_blank' | '_parent' | '_top'Specifies where to open the linked document._
aria-labelstringDescribes the component to assistive tech users and the action or effect that will take place when the link is clicked._