IconLink API
API reference docs for theIconLink
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
variant? | 'accentPrimary'| 'accentSecondary'| 'neutralPrimary'| 'neutralSecondary' |'neutralSecondaryIntense'| 'neutralTertiary' | Variant of the IconLink. | _ |
size? | 'standard' | 'small' | 'large' | Size of the Icon. | _ |
icon | Icon | Set the Icon. | _ |
href? | string | Specifies the URL of the page the link goes to | _ |
rel? | string | Specifies the relationship between the current document and the linked document/resource. | _ |
target? | '_self' | '_blank' | '_parent' | '_top' | Specifies where to open the linked document. | _ |
aria-label | string | Describes the component to assistive tech users and the action or effect that will take place when the link is clicked. | _ |