Avatar can act as a read only display piece, or act as a button or link. Use the role prop to opt-in to accessible interactions.
A UI hover variant with no semantics.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | ReactNode | false | ||
className | string | false | Additional classNames | |
icon | ReactNode | true | The icon to display | |
style | CSSProperties | false | Additional CSS styles |
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | ReactNode | false | ||
className | string | false | Additional classNames | |
style | CSSProperties | false | Additional CSS styles |
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | ReactNode | false | ||
className | string | false | Additional classNames | |
imageUrl | string | true | The Avatar rich media url | |
style | CSSProperties | false | Additional CSS styles |
Additional classNames