zed/crates/ui_text_field
Nate Butler 03d853d344
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>
2024-04-10 11:53:25 -04:00
..
src Introduce TextField by adding the ui_text_field crate (#10361) 2024-04-10 11:53:25 -04:00
Cargo.toml Introduce TextField by adding the ui_text_field crate (#10361) 2024-04-10 11:53:25 -04:00
LICENSE-GPL Introduce TextField by adding the ui_text_field crate (#10361) 2024-04-10 11:53:25 -04:00