Skip to content

Menu

A fully composable menu with submenus, groups, links, checkbox items, and radio items.

Loading interactive demo…

#Import

Import Menu from @quickgui/solid.

import { Menu } from "@quickgui/solid";

#Usage

<Menu.Root open={open()} onOpenChange={setOpen}>
  <Menu.Trigger><Text>File</Text></Menu.Trigger>
  <Menu.Portal>
    <Menu.Positioner side="bottom">
      <Menu.Popup>
        <Menu.Item value="new"><Text>New</Text></Menu.Item>
        <Menu.Separator />
        <Menu.CheckboxItem value="sidebar" checked={sidebar()}><Text>Sidebar</Text></Menu.CheckboxItem>
      </Menu.Popup>
    </Menu.Positioner>
  </Menu.Portal>
</Menu.Root>

#Anatomy

  • Menu.Root
  • Menu.Trigger
  • Menu.Portal
  • Menu.Backdrop
  • Menu.Positioner
  • Menu.Popup
  • Menu.Arrow
  • Menu.Item
  • Menu.LinkItem
  • Menu.SubmenuRoot
  • Menu.SubmenuTrigger
  • Menu.Group
  • Menu.GroupLabel
  • Menu.RadioGroup
  • Menu.RadioItem
  • Menu.RadioItemIndicator
  • Menu.CheckboxItem
  • Menu.CheckboxItemIndicator
  • Menu.Separator
<Menu.Root>
  <Menu.Trigger />
  <Menu.Portal />
  <Menu.Backdrop />
  <Menu.Positioner />
  <Menu.Popup />
  <Menu.Arrow />
  <Menu.Item />
  <Menu.LinkItem />
  <Menu.SubmenuRoot />
  <Menu.SubmenuTrigger />
  <Menu.Group />
  <Menu.GroupLabel />
  <Menu.RadioGroup />
  <Menu.RadioItem />
  <Menu.RadioItemIndicator />
  <Menu.CheckboxItem />
  <Menu.CheckboxItemIndicator />
  <Menu.Separator />
</Menu.Root>

#API reference

Expand an entry for its description and complete signature. A dash means no declaration default is documented.

Menu(props: JSX.MenuRootProps): NativeNode
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
scopestring—

Stable key shared by every part of one menu level. One is generated when it is omitted.

string
View source
openboolean—

Declares open (optional). Reactive JSX expressions update this property in place.

boolean
View source
defaultOpenboolean—

Declares defaultOpen (optional). Reactive JSX expressions update this property in place.

boolean
View source
onOpenChange(open: boolean, event: QuickGuiEvent) => void—

Declares onOpenChange (optional). Reactive JSX expressions update this property in place.

(open: boolean, event: QuickGuiEvent) => void
View source
modalboolean—

Contain Tab focus inside the popup and expect a mounted `Menu.Backdrop`.

boolean
View source
orientation"horizontal" | "vertical"—

`"horizontal"` installs the core's horizontal menu key context.

"horizontal" | "vertical"
View source
loopFocusboolean—

Wrap the highlight at the ends of the level. Defaults to `true`.

boolean
View source
closeParentOnEscboolean—

Dismissing this level with Escape closes the level above it too.

boolean
View source
disabledboolean—

Refuse to open at all.

boolean
View source
openOnHoverboolean—

Trigger `openOnHover` default for the whole level.

boolean
View source
delaynumber—

Declares delay (optional). Reactive JSX expressions update this property in place.

number
View source
closeDelaynumber—

Grace period before a hover-opened level closes. Defaults to 100 ms.

number
View source
side"top" | "bottom" | "left" | "right"—

Declares side (optional). Reactive JSX expressions update this property in place.

"top" | "bottom" | "left" | "right"
View source
align"start" | "center" | "end"—

Declares align (optional). Reactive JSX expressions update this property in place.

"start" | "center" | "end"
View source
sideOffsetnumber—

Declares sideOffset (optional). Reactive JSX expressions update this property in place.

number
View source
alignOffsetnumber—

Declares alignOffset (optional). Reactive JSX expressions update this property in place.

number
View source
collisionPaddingnumber—

Declares collisionPadding (optional). Reactive JSX expressions update this property in place.

number
View source
stickyboolean—

Declares sticky (optional). Reactive JSX expressions update this property in place.

boolean
View source

Menu.Root

View source
Menu.Root(props: JSX.MenuRootProps): NativeNode
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
scopestring—

Stable key shared by every part of one menu level. One is generated when it is omitted.

string
View source
openboolean—

Declares open (optional). Reactive JSX expressions update this property in place.

boolean
View source
defaultOpenboolean—

Declares defaultOpen (optional). Reactive JSX expressions update this property in place.

boolean
View source
onOpenChange(open: boolean, event: QuickGuiEvent) => void—

Declares onOpenChange (optional). Reactive JSX expressions update this property in place.

(open: boolean, event: QuickGuiEvent) => void
View source
modalboolean—

Contain Tab focus inside the popup and expect a mounted `Menu.Backdrop`.

boolean
View source
orientation"horizontal" | "vertical"—

`"horizontal"` installs the core's horizontal menu key context.

"horizontal" | "vertical"
View source
loopFocusboolean—

Wrap the highlight at the ends of the level. Defaults to `true`.

boolean
View source
closeParentOnEscboolean—

Dismissing this level with Escape closes the level above it too.

boolean
View source
disabledboolean—

Refuse to open at all.

boolean
View source
openOnHoverboolean—

Trigger `openOnHover` default for the whole level.

boolean
View source
delaynumber—

Declares delay (optional). Reactive JSX expressions update this property in place.

number
View source
closeDelaynumber—

Grace period before a hover-opened level closes. Defaults to 100 ms.

number
View source
side"top" | "bottom" | "left" | "right"—

Declares side (optional). Reactive JSX expressions update this property in place.

"top" | "bottom" | "left" | "right"
View source
align"start" | "center" | "end"—

Declares align (optional). Reactive JSX expressions update this property in place.

"start" | "center" | "end"
View source
sideOffsetnumber—

Declares sideOffset (optional). Reactive JSX expressions update this property in place.

number
View source
alignOffsetnumber—

Declares alignOffset (optional). Reactive JSX expressions update this property in place.

number
View source
collisionPaddingnumber—

Declares collisionPadding (optional). Reactive JSX expressions update this property in place.

number
View source
stickyboolean—

Declares sticky (optional). Reactive JSX expressions update this property in place.

boolean
View source

Menu.Trigger

View source
Menu.Trigger(props: JSX.MenuTriggerProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
openOnHoverboolean—

Open after `delay` while the pointer rests on the trigger.

boolean
View source
delaynumber—

Declares delay (optional). Reactive JSX expressions update this property in place.

number
View source
closeDelaynumber—

Grace period before a hover-opened level closes. Defaults to 100 ms.

number
View source

Menu.Portal

View source
Menu.Portal(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.Backdrop

View source
Menu.Backdrop(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.Positioner

View source
Menu.Positioner(props: JSX.MenuPositionerProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
side"top" | "bottom" | "left" | "right"—

Declares side (optional). Reactive JSX expressions update this property in place.

"top" | "bottom" | "left" | "right"
View source
align"start" | "center" | "end"—

Declares align (optional). Reactive JSX expressions update this property in place.

"start" | "center" | "end"
View source
sideOffsetnumber—

Declares sideOffset (optional). Reactive JSX expressions update this property in place.

number
View source
alignOffsetnumber—

Declares alignOffset (optional). Reactive JSX expressions update this property in place.

number
View source
collisionPaddingnumber—

Declares collisionPadding (optional). Reactive JSX expressions update this property in place.

number
View source
stickyboolean—

Declares sticky (optional). Reactive JSX expressions update this property in place.

boolean
View source

Menu.Popup

View source
Menu.Popup(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.Arrow

View source
Menu.Arrow(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.Item

View source
Menu.Item(props: JSX.MenuItemProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
valuestring—

The row's stable identifier. Required for every interactive row.

string
View source
labelstring—

Accessible name and typeahead label. Defaults to the row's own declared text.

string
View source
closeOnClickboolean—

Override the core's default close policy for this row.

boolean
View source

Menu.LinkItem

View source
Menu.LinkItem(props: JSX.MenuLinkItemProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
valuestring—

The row's stable identifier. Required for every interactive row.

string
View source
labelstring—

Accessible name and typeahead label. Defaults to the row's own declared text.

string
View source
closeOnClickboolean—

Override the core's default close policy for this row.

boolean
View source
hrefstring—

The destination the core hands to its own open-URL path.

string
View source
onNavigate(href: string, event: QuickGuiEvent) => void—

Reported once the core has opened the destination.

(href: string, event: QuickGuiEvent) => void
View source

Menu.SubmenuRoot

View source
Menu.SubmenuRoot(props: JSX.MenuRootProps): NativeNode
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
scopestring—

Stable key shared by every part of one menu level. One is generated when it is omitted.

string
View source
openboolean—

Declares open (optional). Reactive JSX expressions update this property in place.

boolean
View source
defaultOpenboolean—

Declares defaultOpen (optional). Reactive JSX expressions update this property in place.

boolean
View source
onOpenChange(open: boolean, event: QuickGuiEvent) => void—

Declares onOpenChange (optional). Reactive JSX expressions update this property in place.

(open: boolean, event: QuickGuiEvent) => void
View source
modalboolean—

Contain Tab focus inside the popup and expect a mounted `Menu.Backdrop`.

boolean
View source
orientation"horizontal" | "vertical"—

`"horizontal"` installs the core's horizontal menu key context.

"horizontal" | "vertical"
View source
loopFocusboolean—

Wrap the highlight at the ends of the level. Defaults to `true`.

boolean
View source
closeParentOnEscboolean—

Dismissing this level with Escape closes the level above it too.

boolean
View source
disabledboolean—

Refuse to open at all.

boolean
View source
openOnHoverboolean—

Trigger `openOnHover` default for the whole level.

boolean
View source
delaynumber—

Declares delay (optional). Reactive JSX expressions update this property in place.

number
View source
closeDelaynumber—

Grace period before a hover-opened level closes. Defaults to 100 ms.

number
View source
side"top" | "bottom" | "left" | "right"—

Declares side (optional). Reactive JSX expressions update this property in place.

"top" | "bottom" | "left" | "right"
View source
align"start" | "center" | "end"—

Declares align (optional). Reactive JSX expressions update this property in place.

"start" | "center" | "end"
View source
sideOffsetnumber—

Declares sideOffset (optional). Reactive JSX expressions update this property in place.

number
View source
alignOffsetnumber—

Declares alignOffset (optional). Reactive JSX expressions update this property in place.

number
View source
collisionPaddingnumber—

Declares collisionPadding (optional). Reactive JSX expressions update this property in place.

number
View source
stickyboolean—

Declares sticky (optional). Reactive JSX expressions update this property in place.

boolean
View source

Menu.SubmenuTrigger

View source
Menu.SubmenuTrigger(props: JSX.MenuSubmenuTriggerProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
openOnHoverboolean—

Open after `delay` while the pointer rests on the trigger.

boolean
View source
delaynumber—

Declares delay (optional). Reactive JSX expressions update this property in place.

number
View source
closeDelaynumber—

Grace period before a hover-opened level closes. Defaults to 100 ms.

number
View source
valuestring—

The row's stable identifier. Required for every interactive row.

string
View source
labelstring—

Accessible name and typeahead label. Defaults to the row's own declared text.

string
View source
closeOnClickboolean—

Override the core's default close policy for this row.

boolean
View source

Menu.Group

View source
Menu.Group(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.GroupLabel

View source
Menu.GroupLabel(props: JSX.MenuGroupLabelProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
valuestring—

A stable identifier for the label row.

string
View source
labelstring—

Declares label (optional). Reactive JSX expressions update this property in place.

string
View source

Menu.RadioGroup

View source
Menu.RadioGroup(props: JSX.MenuRadioGroupProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
namestring—

The group's own name. Defaults to one derived from the declaring node.

string
View source
valuestring—

Declares value (optional). Reactive JSX expressions update this property in place.

string
View source
defaultValuestring—

Declares defaultValue (optional). Reactive JSX expressions update this property in place.

string
View source
onValueChange(value: string, event: QuickGuiEvent) => void—

Declares onValueChange (optional). Reactive JSX expressions update this property in place.

(value: string, event: QuickGuiEvent) => void
View source

Menu.RadioItem

View source
Menu.RadioItem(props: JSX.MenuRadioItemProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
valuestring—

The row's stable identifier. Required for every interactive row.

string
View source
labelstring—

Accessible name and typeahead label. Defaults to the row's own declared text.

string
View source
closeOnClickboolean—

Override the core's default close policy for this row.

boolean
View source
checkedboolean—

Declares checked (optional). Reactive JSX expressions update this property in place.

boolean
View source

Menu.RadioItemIndicator

View source
Menu.RadioItemIndicator(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.CheckboxItem

View source
Menu.CheckboxItem(props: JSX.MenuCheckboxItemProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
valuestring—

The row's stable identifier. Required for every interactive row.

string
View source
labelstring—

Accessible name and typeahead label. Defaults to the row's own declared text.

string
View source
closeOnClickboolean—

Override the core's default close policy for this row.

boolean
View source
checkedboolean—

Declares checked (optional). Reactive JSX expressions update this property in place.

boolean
View source
onCheckedChange(checked: boolean, event: QuickGuiEvent) => void—

Declares onCheckedChange (optional). Reactive JSX expressions update this property in place.

(checked: boolean, event: QuickGuiEvent) => void
View source

Menu.CheckboxItemIndicator

View source
Menu.CheckboxItemIndicator(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source

Menu.Separator

View source
Menu.Separator(props: JSX.NativeProps): NativeNode
accessibilityLabelstring—

Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.

string
View source
childrenunknown—

Declares children (optional). Reactive JSX expressions update this property in place.

unknown
View source
styleStyleProp—

Layout, typography, paint, and interaction-state styles. Arrays merge left to right.

StyleProp
View source
disabledboolean—

Declares disabled (optional). Reactive JSX expressions update this property in place.

boolean
View source
invalidboolean—

Expose web-style invalid state; the `style.invalid` variant paints while it is set.

boolean
View source
selectedboolean—

Expose web-style selected state; the `style.selected` variant paints while it is set.

boolean
View source
groupboolean | string—

Makes this element the group its descendants' `groupHover` and `groupActive` styles follow, like Tailwind's `group`: `true` opens an unnamed group, and a string names it so a descendant can follow it past a nearer group with `groupHover: { group: "name" }`.

boolean | string
View source
rolestring—

Declares role (optional). Reactive JSX expressions update this property in place.

string
View source
tabIndexnumber—

Declares tabIndex (optional). Reactive JSX expressions update this property in place.

number
View source
focusOnPointerboolean—

Keep keyboard focus where it is when this element is activated with a pointer.

boolean
View source
overlayboolean—

Paint this subtree in the viewport overlay plane above embedded native views.

boolean
View source
focusTrapboolean—

Contain keyboard focus within this subtree while it is the topmost trap.

boolean
View source
restorePreviousFocusboolean—

Restore the previously focused mounted control when this surface unmounts.

boolean
View source
autoFocusboolean—

Prefer this control when its containing focus trap takes focus.

boolean
View source
aria-modalboolean—

Expose modal semantics to assistive technology.

boolean
View source
ariaModalboolean—

Declares ariaModal (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnEscapeboolean—

Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.

boolean
View source
dismissOnPointerOutsideboolean—

Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.

boolean
View source
tooltipstring—

Delayed, pointer-passive native tooltip text shown while this element is hovered.

string
View source
tooltipPlacementPopoverPlacement—

Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.

PopoverPlacement
View source
tooltipDelaynumber—

Hover delay in milliseconds, clamped by the Rust core to at most ten seconds.

number
View source
tooltipGapnumber—

Declares tooltipGap (optional). Reactive JSX expressions update this property in place.

number
View source
tooltipViewportMarginnumber—

Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.

number
View source
hitSlopnumber | string—

Declares hitSlop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopTopnumber | string—

Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopRightnumber | string—

Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopBottomnumber | string—

Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.

number | string
View source
hitSlopLeftnumber | string—

Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.

number | string
View source
aria-labelstring—

Declares aria-label (optional). Reactive JSX expressions update this property in place.

string
View source
ariaLabelstring—

Declares ariaLabel (optional). Reactive JSX expressions update this property in place.

string
View source
ref((node: NativeNode) => void) | NativeNode—

Declares ref (optional). Reactive JSX expressions update this property in place.

((node: NativeNode) => void) | NativeNode
View source
onClickEventHandler—

Declares onClick (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseEnterEventHandler—

Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseLeaveEventHandler—

Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEnterEventHandler—

Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerLeaveEventHandler—

Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPointerEventHandler—

Captured pointer stream from press through release/cancel, including outside the element.

EventHandler
View source
onInputEventHandler—

Declares onInput (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onChangeEventHandler—

Declares onChange (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSubmitEventHandler—

Declares onSubmit (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDismissEventHandler—

Declares onDismiss (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onKeyDownEventHandler—

Focused key press. Declare a `tabIndex` to make an ordinary container focusable.

EventHandler
View source
onKeyUpEventHandler—

Declares onKeyUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseDownEventHandler—

Declares onMouseDown (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseUpEventHandler—

Declares onMouseUp (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onMouseMoveEventHandler—

Declares onMouseMove (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDoubleClickEventHandler—

Second press of one exact native multi-click sequence.

EventHandler
View source
onWheelEventHandler—

Declares onWheel (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onContextMenuEventHandler—

Secondary-button press. Use `ContextMenu` for a declared native menu.

EventHandler
View source
onPinchEventHandler—

Declares onPinch (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onRotateEventHandler—

Declares onRotate (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onSmartMagnifyEventHandler—

Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onPressureEventHandler—

Declares onPressure (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFocusEventHandler—

Declares onFocus (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onBlurEventHandler—

Declares onBlur (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
keymapKeymap—

Bounded accelerator table resolved by the core while this element is focused.

Keymap
View source
onActionEventHandler—

Typed binding id dispatched by `keymap`.

EventHandler
View source
draggableboolean | DragSource—

Declared drag payload promoted when this element starts a drag.

boolean | DragSource
View source
onDragStartEventHandler—

Declares onDragStart (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onDragEndEventHandler—

Declares onDragEnd (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
dropKindsDropKind | readonly DropKind[]—

Payload kinds this element accepts, declared ahead of the native drag.

DropKind | readonly DropKind[]
View source
onDropEventHandler—

Declares onDrop (optional). Reactive JSX expressions update this property in place.

EventHandler
View source
onFilesDroppedEventHandler—

Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.

EventHandler
View source