Avatar
Avatar is a component that displays a user's profile picture or initials. It can be customized with props like size, shape, background color, and image source. If no image source is provided, it will display the user's initials. This component is typically used in user profile pages, comment sections, or messaging applications.
- Library
- Lobe UI
- Framework
- React
- Type
- component
- License
- MIT
- Install
pnpm add @lobehub/ui- Files
src/Avatar/Avatar.tsxsrc/Avatar/index.tssrc/Avatar/stable.tssrc/Avatar/style.tssrc/Avatar/type.tssrc/Avatar/utils.tssrc/Avatar/AvatarGroup/index.tsxsrc/Avatar/AvatarGroup/style.ts
- Source
- https://github.com/lobehub/lobe-ui