# TextField (@salmonui/inputs/text-field)

> The TextField component of @salmonui/inputs/text-field: Single-line text input: a native &lt;input> with label, description, validation, adornments and an optional clear button. ref is the input; unknown props go to the input, className / style to the root.

Canonical: https://salmonui.dev/docs/reference/inputs/text-field/TextField

```ts
import { TextField } from '@salmonui/inputs/text-field';
```

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

## Reference

Kind: component

```ts
function TextField(props: TextFieldProps): ReactNode;
```

Single-line text input: a native `<input>` with label,
description, validation, adornments and an optional clear button. `ref` is
the input; unknown props go to the input, `className` / `style` to the root.

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