components/multiclick
Labs · 58 / 64

Gestures

ui.interaction

Gesture arbitration for single, double, triple click and long-press.

BEHAVIOR CONTRACT

Gestures on one hit area are arbitrated by time window and only one wins.

RECORDED INTERACTION

The harness double-clicks the pad; the double counter increments.

View source on GitHubexamples/storybook/stories.zig:4695

The story's verbatim source from the Storybook (zenit 4c50245 2026-10-01). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · Dual-licensedFree 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 4c50245 2026-10-01