-
Notifications
You must be signed in to change notification settings - Fork 9
Component FilePathInput
MeowLynxSea edited this page Jan 24, 2026
·
6 revisions
A file/folder path selector.
This control is read-only: users choose a path via the "Choose..." button.
use gpui::ElementId;
use yororen_ui::component::{file_path_input, FilePathStatus};
let view = file_path_input()
.key(ElementId::from(("settings", "workspace_path")))
.placeholder("/path/to/folder")
.status(FilePathStatus::Ok)
.on_change(|path, _window, _cx| {
// path: PathBuf
});Yororen UI v0.3.0 · repository · Apache-2.0 · This wiki documents Yororen UI v0.3.0.
This wiki documents Yororen UI v0.3.0 — the headless-core, swappable-renderer build.