# Capture

> Represents values for the HTML capture attribute.

[API reference](/docs/api/index.md) › [HTML](/docs/extensions/html/reference/index.md) › [Form](/docs/extensions/html/reference/form/index.md) › [Values](/docs/extensions/html/reference/form/values/index.md) › Capture

| enum | `UIAwesome\Html\Form\Values\Capture` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Form/Values/Capture.php`](https://github.com/ui-awesome/html/blob/main/src/Form/Values/Capture.php#L12) |

Represents values for the HTML `capture` attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/capture>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ENVIRONMENT"></span>`ENVIRONMENT` | `'environment'` | The outward-facing camera and/or microphone should be used. |
| <span id="case-USER"></span>`USER` | `'user'` | The user-facing camera and/or microphone should be used. |