v0.1.0-alpha
官网Home
components/select
输入与表单Inputs · 10 / 64

Select

ui.widgets.Select

单选、多选、可清除与可搜索的选择器。Single, multiple, clearable and searchable pickers.

BEHAVIOR CONTRACT

触发器、选项面板、键盘高亮、清除按钮和已选值由一个挂载结果统一管理。Trigger, option panel, keyboard highlight, clear button and selected value are owned by one mount result.

RECORDED INTERACTION

Harness 打开带图标的选择器并选中 Option 2。The harness opens the icon select and picks Option 2.

在 GitHub 查看源码View source on GitHubexamples/storybook/select_puqef.zig:63

这是 Storybook 中该 story 的原样代码(zenit 5f9add5+wip 2026-09-30)。其中 W 即 ui.widgets,col / row / label 是 Storybook 内的布局小工具。The story's verbatim source from the Storybook (zenit 5f9add5+wip 2026-09-30). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · 双授权Dual-licensed开源项目可按 GPL-3.0-only 免费使用;闭源或商业产品需要商业授权。Free for open-source projects under GPL-3.0-only; closed-source or commercial products need a commercial license.可联系作者:Contact the author: zongyi.xzy#gmail.com(# 换成 @) (replace # with @)zenit 5f9add5+wip 2026-09-30