Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA canvas where holding Space opens a ring of tools at the pointer and releasing it over a wedge chooses that tool; a quick tap of Space keeps the ring open for arrow keys and Enter. Use this when experts switch tools without moving the mouse.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it in drawing, diagram and map tools, where switching tools many times a minute is the main cost and holding a key while flicking the pointer is the fastest route.
Do not use it when the tool set is large or rarely used. Use a toolbar.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
tools | { id, label, icon }[] | - | The tools in the ring and the toolbar. |
value | string | - | The active tool (controlled). |
defaultValue | string | first tool | Initial tool. |
onValueChange | (id: string) => void | - | Runs when a tool is chosen. |
holdMs | number | 220 | A press shorter than this is a tap. |
size | number | 180 | Ring diameter in pixels. |
tabindex=0) and described by Hold Space to open the tool ring; a normal toolbar of aria-pressed buttons offers the same tools.Tool: Pen.The pattern ships with a Testing Library test (pie-menu-hold-key-gesture.test.tsx) that covers hold and release choosing by angle, tap keeping the ring open for the keyboard, cancelling and the toolbar.