gpui-form-component
gpui-form-component provides reusable GPUI runtime components and form shapes
for localized date and file selection and cascading enum choices. Depend on
it directly for widgets; use it alongside the gpui-form facade
with component-shape enabled for derived forms.
Requires Rust 1.99 or newer and GPUI Kit 0.9.0. Initialize the application
gpui-es-fluent resources before rendering localized component text.
Overview
| Module | Purpose |
|---|---|
infinite_select |
Cascading selects over nested enum trees |
date_picker |
Localized single-date and date-range pickers |
file_picker |
Native file and directory selection |
Features
No features are enabled by default.
| Feature | Default | Purpose |
|---|---|---|
component-shape |
No | Integrate InfiniteSelect<T>, DatePicker, DateRangePicker, and FilePicker with derived forms. |
derive |
No | Re-export #[derive(InfiniteSelect)] for nested enum trees. |
The API reference owns component initialization, events, and state semantics. The component gallery demonstrates localized widgets.