The Text input component collects a text response from the user.

If the user's input is expected in a particular format, you can use the Description or More information to provide an example of this format.

The Input style allows you to set a character limit or formatting validation for email addresses and phone numbers.

Text inputs set to email, phone or a character limit up to 120 characters display as a single-line text input:

https://storybook.planx.uk/iframe.html?id=planx-components-textinput--empty-form-short-text&viewMode=story&args=title%3ADescribe%20the%20property%3Bdescription%3A!undefined

Text inputs set to a character limit over 120 characters display as a multi-line textarea with a remaining characters counter:

https://storybook.planx.uk/iframe.html?id=planx-components-textinput--empty-form-long-text&viewMode=story&args=title%3ADescribe%20the%20property;description%3A!undefined

AI enhanced

You can set the text input component to AI enhanced. This makes the component use Google Gemini to review the user’s input and suggest revisions in line with pre-defined conditions. The currently available function is project description, which reviews the user’s input against the statutory requirements of planning permission applications.