# MaskedField (@salmonui/inputs/masked-field)

> The MaskedField component of @salmonui/inputs/masked-field: Text input with an input mask. The visible input carries the masked text; a hidden input with name submits the raw or masked value. ref is the visible input.

Canonical: https://salmonui.dev/docs/reference/inputs/masked-field/MaskedField

```ts
import { MaskedField } from '@salmonui/inputs/masked-field';
```

Entry index: https://salmonui.dev/docs/reference/inputs/masked-field (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/masked-field.md).

## Reference

Kind: component

```ts
function MaskedField(props: MaskedFieldProps): ReactNode;
```

Text input with an input mask. The
visible input carries the masked text; a hidden input with `name` submits
the raw or masked value. `ref` is the visible input.

Props: [`MaskedFieldProps`](https://salmonui.dev/docs/reference/inputs/masked-field/MaskedFieldProps) (its members are the props)
