avatar
v4.9.10arrow_drop_downv4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
46,596
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
25 KB
Avatars are found throughout material design with uses in everything from tables to dialog menus.
Like
Install avatar as a package?
Copied
npm i @bit/mui-org.material-ui.avatar
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
avatar ()
Properties
Name | Type | Description |
---|---|---|
alt | string | Used in combination with |
children | node | Used to render icon or text elements inside the Avatar if |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
component | elementType | The component used for the root node. Either a string to use a DOM element or a component. |
imgProps | object | Attributes applied to the |
sizes | string | The |
src | string | The |
srcSet | string | The |
variant | 'circle' | 'rounded' | 'square' | The shape of the avatar. |