v0.1.0-alpha
官网Home
components/popover
浮层与反馈Overlays · 41 / 64

Popover

ui.widgets.Popover

承载比 Tooltip 更丰富的临时内容。Richer transient content than a tooltip.

BEHAVIOR CONTRACT

click / hover trigger、位置计算、outside click、Escape 和 portal 层级可组合。click / hover triggers, positioning, outside click, Escape and portal layering compose.

RECORDED INTERACTION

Harness 打开 Toggle Popover 并展示内容。The harness opens Toggle Popover and shows its content.

在 GitHub 查看源码View source on GitHubexamples/storybook/stories.zig:2549

这是 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