# CellMedia **📖 Live documentation:** https://cds.coinbase.com/components/media/CellMedia/ Displays media within cells. ## Import ```tsx import { CellMedia } from '@coinbase/cds-web/cells/CellMedia' ``` ## Examples :::warning Deprecated This component will be removed in a future release. Pass media to cells directly via the `media` prop. For example: ``, ``, ``, or a Pictogram. ::: ### Basic Icon Usage ```tsx live ``` ### Asset Display Common usage for displaying cryptocurrency assets with proper accessibility. ```tsx live ``` ### Pictogram Display Used for displaying pictographic illustrations, commonly used in empty states or feature highlights. ```tsx live } accessibilityLabel="Recurring purchases pictogram" /> ``` ## Props | Prop | Type | Required | Default | Description | | --- | --- | --- | --- | --- | | `illustration` | `ReactElement>` | Yes | `-` | - | | `name` | `IconName` | Yes | `-` | - | | `source` | `string \| number` | Yes | `-` | - | | `type` | `image \| avatar \| pictogram \| asset \| icon` | Yes | `-` | - | | `active` | `boolean` | No | `-` | Whether the icon is active | | `color` | `Color` | No | `-` | - | | `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 | | `title` | `string` | No | `-` | - |