-
Notifications
You must be signed in to change notification settings - Fork 9
Component Select
MeowLynxSea edited this page Jan 23, 2026
·
8 revisions
A non-editable dropdown.
use gpui::ElementId;
use yororen_ui::component::{select, SelectOption};
let region = select()
.key(ElementId::from((ElementId::from("settings"), "region")))
.placeholder("Region")
.options([
SelectOption::new("us", "US"),
SelectOption::new("eu", "EU"),
])
.on_change(|value, _ev, _window, _cx| {
// ...
});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.