# RemoteImageGroup
A component to display a group of RemoteImage components in a stack.
## Import
```tsx
import { RemoteImageGroup } from '@coinbase/cds-web/media/RemoteImageGroup'
```
## Examples
### Basic Usage
```tsx live
```
### Max Items
```tsx live
```
### Different Shapes
```tsx live
```
### Different Sizes
Use the `size` prop to change the dimensions of the avatars in the group.
```tsx live
function Component() {
const [size, setSize] = React.useState('m');
const avatarSizes = ['s', 'm', 'l', 'xl', 'xxl', 'xxxl', 16, 24, 32];
const options = avatarSizes.map((s) => ({ value: s, label: String(s) }));
return (
);
}
```
## Props
| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `children` | `null \| string \| number \| false \| true \| ReactElement> \| Iterable \| ReactPortal` | No | `-` | Children content |
| `max` | `number` | No | `4` | Indicates the number of remote image before it collapses |
| `shape` | `rectangle \| circle \| squircle \| square \| hexagon` | No | `circle` | Shape of all RemoteImage children in the group |
| `size` | `number \| AvatarSize` | No | `m` | Size of all RemoteImage children in the group. |
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |