---
id: fast-foundation.textfield.type
title: TextField.type property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [TextField](./fast-foundation.textfield.md) &gt; [type](./fast-foundation.textfield.type.md)

## TextField.type property

Allows setting a type or mode of text.

<b>Signature:</b>

```typescript
type: TextFieldType;
```

## Remarks

HTML Attribute: type
