Avatar | NativeBase | Universal Components for React and React Native

Nativebase logo
NativeBase
Data Display
Typography
Disclosure
Media and Icons
Others
Avatar
The Avatar component can display profile pictures, initials, or a fallback icon to represent a user.
Show Code
Playground
Import
NativeBase exports 3 avatar-related components:
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
Avatar.Group
Avatar.Badge
Styling
NativeBase ships with a default theme for each component. Checkout the default theme of avatar.
Info: We can easily extend the avatar component theme using extendTheme function as described in the documentation .
Nativebase logo
MadeWithNativeBase