# TextField component for Stripe Apps Use TextField to create a text input field. # v8 > This is a v8 for when app-sdk-version is 8. View the full page at https://docs.stripe.com/stripe-apps/components/textfield?app-sdk-version=8. To add the `TextField` component to your app: ```js import {TextField} from '@stripe/ui-extension-sdk/ui'; ``` ### TextField props | Property | Type | | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `autoComplete` | (Optional) `string | undefined` Specifies one of the possible autocomplete behaviors. | | `autoFocus` | (Optional) `boolean | undefined` If `true`, React will focus the element on mount. | | `css` | (Optional) `CSS | undefined` Related types: [CSS](https://docs.stripe.com/stripe-apps/components/textfield.md#css). | | `defaultValue` | (Optional) `string | undefined` Specifies the initial value that a user can change. | | `description` | (Optional) `string | undefined` Descriptive text that will be rendered adjacent to the control’s label. | | `disabled` | (Optional) `boolean | undefined` Sets whether or not the element should be disabled. Prevents selection. | | `error` | (Optional) `string | undefined` Error text that will be rendered below the control. | | `form` | (Optional) `string | undefined` Specifies the `id` of the `