---
url: /reference/@cssdoc/core/interfaces/StructureCustomMediaRef.md
---
# Interface: StructureCustomMediaRef

Defined in: [packages/core/src/customMedia.ts:8](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L8)

One `@structure` selector that references a custom-media profile.

## Properties

### profile

```ts
profile: string;
```

Defined in: [packages/core/src/customMedia.ts:20](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L20)

The custom-media profile token, e.g. `--top-nav`.

***

### record

```ts
record: string;
```

Defined in: [packages/core/src/customMedia.ts:16](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L16)

The referenced record name, e.g. `nav`.

***

### recordKind?

```ts
optional recordKind?: CssRecordKind;
```

Defined in: [packages/core/src/customMedia.ts:18](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L18)

The referenced record kind when authored in typed form.

***

### selector

```ts
selector: string;
```

Defined in: [packages/core/src/customMedia.ts:14](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L14)

The raw selector, e.g. `@component nav (--top-nav)`.

***

### sourceKind

```ts
sourceKind: CssRecordKind;
```

Defined in: [packages/core/src/customMedia.ts:12](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L12)

The source record kind.

***

### sourceRecord

```ts
sourceRecord: string;
```

Defined in: [packages/core/src/customMedia.ts:10](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/customMedia.ts#L10)

The source record that contains the `@structure` node.
