Toast
Presents timed, stacked notifications with action, close, and swipe behavior.
Loading interactive demo…
const toast = useToastManager();
toast.add({ id: "saved", title: "Saved", description: "Your changes are live." });
<Toast.Provider timeout={5000} limit={3}>
<Toast.Portal>
<Toast.Viewport toasts={toast.toasts()} onDismiss={toast.dismiss}>
<For each={toast.toasts()}>{(item) =>
<Toast.Root toastId={item.id}>
<Toast.Content><Toast.Title /><Toast.Description /></Toast.Content>
<Toast.Close><Text>Close</Text></Toast.Close>
</Toast.Root>
}</For>
</Toast.Viewport>
</Toast.Portal>
</Toast.Provider>#Import
Import Toast from @quickgui/solid.
import { Toast } from "@quickgui/solid";#Usage
const toast = useToastManager();
toast.add({ id: "saved", title: "Saved", description: "Your changes are live." });
<Toast.Provider timeout={5000} limit={3}>
<Toast.Portal>
<Toast.Viewport toasts={toast.toasts()} onDismiss={toast.dismiss}>
<For each={toast.toasts()}>{(item) =>
<Toast.Root toastId={item.id}>
<Toast.Content><Toast.Title /><Toast.Description /></Toast.Content>
<Toast.Close><Text>Close</Text></Toast.Close>
</Toast.Root>
}</For>
</Toast.Viewport>
</Toast.Portal>
</Toast.Provider>#Anatomy
Toast.ProviderToast.PortalToast.ViewportToast.PositionerToast.RootToast.ContentToast.TitleToast.DescriptionToast.ActionToast.Close
<Toast.Root>
<Toast.Provider />
<Toast.Portal />
<Toast.Viewport />
<Toast.Positioner />
<Toast.Content />
<Toast.Title />
<Toast.Description />
<Toast.Action />
<Toast.Close />
</Toast.Root>#API reference
Expand an entry for its description and complete signature. A dash means no declaration default is documented.
Toast
View sourceToast(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Provider
View sourceToast.Provider(props: JSX.ToastProviderProps): NativeNodechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcetimeoutnumber—
Inherited auto-dismiss duration in milliseconds. Defaults to the core's five seconds.
numberView sourcelimitnumber—
How many toasts stay unlimited. Older ones are flagged, never silenced. Defaults to 3.
numberView sourceexpandedboolean—
swipeDirection"left" | "right" | "up" | "down"—
pitchnumber—
Toast.Portal
View sourceToast.Portal(props: JSX.NativeScopedProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
Toast.Viewport
View sourceToast.Viewport(props: JSX.ToastViewportProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
timeoutnumber—
Declares timeout (optional). Reactive JSX expressions update this property in place.
numberView sourcelimitnumber—
expandedboolean—
Declares expanded (optional). Reactive JSX expressions update this property in place.
booleanView sourceswipeDirection"left" | "right" | "up" | "down"—
Declares swipeDirection (optional). Reactive JSX expressions update this property in place.
"left" | "right" | "up" | "down"View sourcepitchnumber—
onStackChange(stack: readonly ToastStackEntry[], event: QuickGuiEvent) => void—
Everything the core decided about the queue: index, offset, limited and expanded flags.
(stack: readonly ToastStackEntry[], event: QuickGuiEvent) => voidView sourcetoastsreadonly ToastDeclaration[]—
The bounded queue. Adding an entry pushes a toast; dropping one dismisses it.
readonly ToastDeclaration[]View sourceonDismiss(ids: readonly string[], event: QuickGuiEvent) => void—
Every dismissal the core decided, including timed auto-dismissals.
(ids: readonly string[], event: QuickGuiEvent) => voidView sourceToast.Positioner
View sourceToast.Positioner(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Root
View sourceToast.Root(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Content
View sourceToast.Content(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Title
View sourceToast.Title(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Description
View sourceToast.Description(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Action
View sourceToast.Action(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcescopestring—
toastIdstring—
Toast.Close
View sourceToast.Close(props: JSX.ToastProps): NativeNodeaccessibilityLabelstring—
Declares accessibilityLabel (optional). Reactive JSX expressions update this property in place.
stringView sourcechildrenunknown—
Declares children (optional). Reactive JSX expressions update this property in place.
unknownView sourcestyleStyleProp—
Layout, typography, paint, and interaction-state styles. Arrays merge left to right.
StylePropView sourcedisabledboolean—
Declares disabled (optional). Reactive JSX expressions update this property in place.
booleanView sourceinvalidboolean—
Expose web-style invalid state; the `style.invalid` variant paints while it is set.
booleanView sourceselectedboolean—
Expose web-style selected state; the `style.selected` variant paints while it is set.
booleanView sourcegroupboolean | 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 | stringView sourcerolestring—
tabIndexnumber—
Declares tabIndex (optional). Reactive JSX expressions update this property in place.
numberView sourcefocusOnPointerboolean—
overlayboolean—
focusTrapboolean—
restorePreviousFocusboolean—
autoFocusboolean—
aria-modalboolean—
ariaModalboolean—
Declares ariaModal (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnEscapeboolean—
Declares dismissOnEscape (optional). Reactive JSX expressions update this property in place.
booleanView sourcedismissOnPointerOutsideboolean—
Declares dismissOnPointerOutside (optional). Reactive JSX expressions update this property in place.
booleanView sourcetooltipstring—
tooltipPlacementPopoverPlacement—
Declares tooltipPlacement (optional). Reactive JSX expressions update this property in place.
PopoverPlacementView sourcetooltipDelaynumber—
tooltipGapnumber—
Declares tooltipGap (optional). Reactive JSX expressions update this property in place.
numberView sourcetooltipViewportMarginnumber—
Declares tooltipViewportMargin (optional). Reactive JSX expressions update this property in place.
numberView sourcehitSlopnumber | string—
Declares hitSlop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopTopnumber | string—
Declares hitSlopTop (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopRightnumber | string—
Declares hitSlopRight (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopBottomnumber | string—
Declares hitSlopBottom (optional). Reactive JSX expressions update this property in place.
number | stringView sourcehitSlopLeftnumber | string—
Declares hitSlopLeft (optional). Reactive JSX expressions update this property in place.
number | stringView sourcearia-labelstring—
Declares aria-label (optional). Reactive JSX expressions update this property in place.
stringView sourceariaLabelstring—
Declares ariaLabel (optional). Reactive JSX expressions update this property in place.
stringView sourceref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView sourceonClickEventHandler—
Declares onClick (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseEnterEventHandler—
Declares onMouseEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseLeaveEventHandler—
Declares onMouseLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEnterEventHandler—
Declares onPointerEnter (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerLeaveEventHandler—
Declares onPointerLeave (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPointerEventHandler—
Captured pointer stream from press through release/cancel, including outside the element.
EventHandlerView sourceonInputEventHandler—
Declares onInput (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonChangeEventHandler—
Declares onChange (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSubmitEventHandler—
Declares onSubmit (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDismissEventHandler—
Declares onDismiss (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonKeyDownEventHandler—
Focused key press. Declare a `tabIndex` to make an ordinary container focusable.
EventHandlerView sourceonKeyUpEventHandler—
Declares onKeyUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseDownEventHandler—
Declares onMouseDown (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseUpEventHandler—
Declares onMouseUp (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonMouseMoveEventHandler—
Declares onMouseMove (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDoubleClickEventHandler—
onWheelEventHandler—
Declares onWheel (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonContextMenuEventHandler—
onPinchEventHandler—
Declares onPinch (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonRotateEventHandler—
Declares onRotate (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonSmartMagnifyEventHandler—
Declares onSmartMagnify (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonPressureEventHandler—
Declares onPressure (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFocusEventHandler—
Declares onFocus (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonBlurEventHandler—
Declares onBlur (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcekeymapKeymap—
onActionEventHandler—
draggableboolean | DragSource—
onDragStartEventHandler—
Declares onDragStart (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonDragEndEventHandler—
Declares onDragEnd (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourcedropKindsDropKind | readonly DropKind[]—
Payload kinds this element accepts, declared ahead of the native drag.
DropKind | readonly DropKind[]View sourceonDropEventHandler—
Declares onDrop (optional). Reactive JSX expressions update this property in place.
EventHandlerView sourceonFilesDroppedEventHandler—
Declares onFilesDropped (optional). Reactive JSX expressions update this property in place.
EventHandlerView source