Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA View menu with a radio submenu, a checkbox submenu and plain items with a shortcut, with every choice kept in one settings object in the parent.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use this for the View or Display menu of an editor, canvas or dashboard, where options come in kinds: one of several, any of several, one-off actions.
Do not nest more than two levels, and do not hide the controls people need most inside submenus.
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 |
|---|---|---|---|
value | { layout, showGrid, showRulers, zoom } | - | The view settings. |
onValueChange | (value) => void | - | Called with the whole updated object. |
aria-haspopup="menu" and aria-expanded; radio and checkbox entries report aria-checked.| Key | Action |
|---|---|
| ArrowRight on a submenu item | opens it |
| ArrowLeft | closes it and returns to the parent item |
| Space or Enter | toggles a checkable item (the menu stays open) |
The pattern ships a Testing Library test (menu-submenus-checkable.test.tsx) that covers submenu keyboard navigation, layout radio state, checkable items and zoom actions.