# Introduce TextField by adding the \`ui_text_field\` crate \(\#10361\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/03d853d34436ea34984baada5753bdce999d9a33)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 03d853d34436ea34984baada5753bdce999d9a33

Requested commit: 03d853d34436ea34984baada5753bdce999d9a33

Commit: 03d853d34436ea34984baada5753bdce999d9a33

Tree: 9b18f6bc48f6d18be81f58f970d462454a3d1235

Author: Nate Butler

Committer: GitHub

## Message

```
Introduce TextField by adding the `ui_text_field` crate (#10361)

There hasn't been a componentized way to create inputs or text fields
thus far due to the innate circular dependency between the `ui` and
`editor` crates. To bypass this issue we are introducing a new
`ui_text_field` crate to specifically handle this component.

`TextField` provides the ability to add stacked or inline labels, as
well as applies a standard visual style to inputs.

Example:

![CleanShot - 2024-04-10 at 11 22
13@2x](https://github.com/zed-industries/zed/assets/1714999/9bf5fc40-5024-4d01-9a8b-fb76f67d7e6e)

We'll continue to evolve this component in the near future and start
using it in the app once we've built out the needed functionality.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
```

## Parents

- [d03f1c4cab5cccfb970df0786040727479fb52a6](https://git.cafe/gitcafe/zed/commit/d03f1c4cab5cccfb970df0786040727479fb52a6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/03d853d34436ea34984baada5753bdce999d9a33?format=markdown)
