Content-Length: 416340 | pFad | https://docs.nativebase.io/avatar

Avatar | NativeBase

Avatar | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
If you are starting a new project, please try gluestack-ui for better performance and new design.
Avatar
The Avatar component can display profile pictures, initials, or a fallback image to represent a user.
Show Code
Playground
Import
Avatar: An image that represents the user.
Avatar.Badge: A wrapper that displays its content on the bottom right corner of the avatar.
Avatar.Group: A wrapper to stack multiple avatars together.
Copy
import { Avatar } from "native-base";
Examples
Basic
Playground
Sizes
Playground
Fallbacks
Playground
Avatar Badge
Playground
Avatar Group
Playground
Props
Avatar
source
The image source of the avatar.
size
The size of the avatar.
Type: ThemeComponentSizeType<"Avatar">
Default: md
_image
For providing props to Image component inside the Avatar.
Type: Partial<IImageProps>
wrapperRef
ref to be attached to the Avatar wrapper.
Type: MutableRefObject<any>
Avatar.Group
Avatar.Badge
Styling
NativeBase ships with a default theme for each component. Check out the default theme of the avatar.
Info: We can easily extend the avatar component theme using extendTheme function as described in the documentation .
Nativebase logo
MadeWithNativeBase
Gluestack logo
gluestack-ui








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.nativebase.io/avatar

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy