@instructure/ui-avatar
v10.10.0
Published
An image or letters that represents a user.
Downloads
23,808
Maintainers
Keywords
Readme
category: packages
ui-avatar
An image or letters that represents a user.
Components
The ui-avatar
package contains the following:
Installation
npm install @instructure/ui-avatar
Usage
---
type: example
---
import React from 'react'
import { Avatar } from '@instructure/ui-avatar'
const MyAvatar = () => {
return (
<Avatar
name="Kyle Montgomery"
src={avatarSquare}
shape="rectangle"
margin="0 small 0 0"
/>
)
}