---
sidebar_label: MediaFeature
---

# MediaFeature interface

A media feature to emulate.

#### Signature:

```typescript
export interface MediaFeature
```

## Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead>
<tbody><tr><td>

<span id="name">name</span>

</td><td>

</td><td>

string

</td><td>

A name of the feature, for example, 'prefers-reduced-motion'.

</td><td>

</td></tr>
<tr><td>

<span id="value">value</span>

</td><td>

</td><td>

string

</td><td>

A value for the feature, for example, 'reduce'.

</td><td>

</td></tr>
</tbody></table>