# expandRecord

**Kind:** Function

Expands the given record in the Airtable UI.

```js
import {expandRecord} from '@airtable/blocks/ui';
expandRecord(record1, {
    records: [record1, record2, record3],
});
```

**Parameters:**
- `record` (`Record`) — The record to expand.
- `opts?` (`ExpandRecordOpts`) — An optional options object.

**Returns:** `void`
