@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
27 lines (18 loc) • 359 B
Markdown
id: Avatar
section: components
cssPrefix: pf-v6-c-avatar
propComponents: ['Avatar']
import { Fragment } from 'react';
import avatarImg from '../../assets/avatarImg.svg';
## Examples
### Basic
```ts file="./AvatarBasic.tsx"
```
### Bordered
```ts file="./AvatarBordered.tsx"
```
### Size variations
```ts file="./AvatarSizeVariations.tsx"
```