yarn add @twilio-paste/user-dialog - or - yarn add @twilio-paste/core
import {UserDialog} from '@twilio-paste/core/user-dialog';
const UserDialogExample = () => {
const userDialogList = useUserDialogListState();
return (
<UserDialogContainer name="Nora Krantz">
<UserDialog aria-label="my_user_menu">
<UserDialogUserInfo>
<UserDialogUserName>Name</UserDialogUserName>
<UserDialogUserEmail>email@email.com</UserDialogUserEmail>
</UserDialogUserInfo>
<UserDialogList {...userDialogList} aria-label="User menu actions">
<UserDialogListItem {...userDialogList} onSelect={() => {}}>One</UserDialogListItem>
<UserDialogListItem {...userDialogList} href="www.#.com">Two</UserDialogListItem>
</UserDialogList>
</UserDialog>
</UserDialogContainer>
);
};
aria-label RequiredRequired
Accessible label for the User Dialog
- Type
string
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
animated
If true
, animating
will be set to true
when visible
is updated.
It'll wait for stopAnimation
to be called or a CSS transition ends.
If animated
is set to a number
, stopAnimation
will be called only
after the same number of milliseconds have passed.
- Type
number | boolean
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
baseId
ID that will serve as a base for all the items IDs.
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
draggable
- Type
Booleanish
gutter
Offset between the reference and the popover on the main axis. Should not be combined with unstable_offset
.
- Type
number
hidden
- Type
boolean
id
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
modal
Toggles Dialog's modal
state.
- Non-modal:
preventBodyScroll
doesn't work and focus is free. - Modal:
preventBodyScroll
is automatically enabled, focus is trapped within the dialog and the dialog is rendered within aPortal
by default.
- Type
boolean
nonce
- Type
string
onAbort
- Type
ReactEventHandler<HTMLDivElement>
onAbortCapture
- Type
ReactEventHandler<HTMLDivElement>
onAnimationEnd
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationEndCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIteration
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIterationCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStart
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStartCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAuxClick
- Type
MouseEventHandler<HTMLDivElement>
onAuxClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onBeforeInput
- Type
FormEventHandler<HTMLDivElement>
onBeforeInputCapture
- Type
FormEventHandler<HTMLDivElement>
onBlur
- Type
FocusEventHandler<HTMLDivElement>
onBlurCapture
- Type
FocusEventHandler<HTMLDivElement>
onCanPlay
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThrough
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThroughCapture
- Type
ReactEventHandler<HTMLDivElement>
onChange
- Type
FormEventHandler<HTMLDivElement>
onChangeCapture
- Type
FormEventHandler<HTMLDivElement>
onClick
- Type
MouseEventHandler<HTMLDivElement>
onClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onCompositionEnd
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionEndCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStart
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStartCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdate
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdateCapture
- Type
CompositionEventHandler<HTMLDivElement>
onContextMenu
- Type
MouseEventHandler<HTMLDivElement>
onContextMenuCapture
- Type
MouseEventHandler<HTMLDivElement>
onCopy
- Type
ClipboardEventHandler<HTMLDivElement>
onCopyCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onCut
- Type
ClipboardEventHandler<HTMLDivElement>
onCutCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onDoubleClick
- Type
MouseEventHandler<HTMLDivElement>
onDoubleClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onDrag
- Type
DragEventHandler<HTMLDivElement>
onDragCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnd
- Type
DragEventHandler<HTMLDivElement>
onDragEndCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnter
- Type
DragEventHandler<HTMLDivElement>
onDragEnterCapture
- Type
DragEventHandler<HTMLDivElement>
onDragExit
- Type
DragEventHandler<HTMLDivElement>
onDragExitCapture
- Type
DragEventHandler<HTMLDivElement>
onDragLeave
- Type
DragEventHandler<HTMLDivElement>
onDragLeaveCapture
- Type
DragEventHandler<HTMLDivElement>
onDragOver
- Type
DragEventHandler<HTMLDivElement>
onDragOverCapture
- Type
DragEventHandler<HTMLDivElement>
onDragStart
- Type
DragEventHandler<HTMLDivElement>
onDragStartCapture
- Type
DragEventHandler<HTMLDivElement>
onDrop
- Type
DragEventHandler<HTMLDivElement>
onDropCapture
- Type
DragEventHandler<HTMLDivElement>
onDurationChange
- Type
ReactEventHandler<HTMLDivElement>
onDurationChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onEmptied
- Type
ReactEventHandler<HTMLDivElement>
onEmptiedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEncrypted
- Type
ReactEventHandler<HTMLDivElement>
onEncryptedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEnded
- Type
ReactEventHandler<HTMLDivElement>
onEndedCapture
- Type
ReactEventHandler<HTMLDivElement>
onError
- Type
ReactEventHandler<HTMLDivElement>
onErrorCapture
- Type
ReactEventHandler<HTMLDivElement>
onFocus
- Type
FocusEventHandler<HTMLDivElement>
onFocusCapture
- Type
FocusEventHandler<HTMLDivElement>
onGotPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onGotPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onInput
- Type
FormEventHandler<HTMLDivElement>
onInputCapture
- Type
FormEventHandler<HTMLDivElement>
onInvalid
- Type
FormEventHandler<HTMLDivElement>
onInvalidCapture
- Type
FormEventHandler<HTMLDivElement>
onKeyDown
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyDownCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPress
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPressCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUp
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUpCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onLoad
- Type
ReactEventHandler<HTMLDivElement>
onLoadCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedData
- Type
ReactEventHandler<HTMLDivElement>
onLoadedDataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadata
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadStart
- Type
ReactEventHandler<HTMLDivElement>
onLoadStartCapture
- Type
ReactEventHandler<HTMLDivElement>
onLostPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onLostPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onMouseDown
- Type
MouseEventHandler<HTMLDivElement>
onMouseDownCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseEnter
- Type
MouseEventHandler<HTMLDivElement>
onMouseLeave
- Type
MouseEventHandler<HTMLDivElement>
onMouseMove
- Type
MouseEventHandler<HTMLDivElement>
onMouseMoveCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOut
- Type
MouseEventHandler<HTMLDivElement>
onMouseOutCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOver
- Type
MouseEventHandler<HTMLDivElement>
onMouseOverCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseUp
- Type
MouseEventHandler<HTMLDivElement>
onMouseUpCapture
- Type
MouseEventHandler<HTMLDivElement>
onPaste
- Type
ClipboardEventHandler<HTMLDivElement>
onPasteCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onPause
- Type
ReactEventHandler<HTMLDivElement>
onPauseCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlay
- Type
ReactEventHandler<HTMLDivElement>
onPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlaying
- Type
ReactEventHandler<HTMLDivElement>
onPlayingCapture
- Type
ReactEventHandler<HTMLDivElement>
onPointerCancel
- Type
PointerEventHandler<HTMLDivElement>
onPointerCancelCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerDown
- Type
PointerEventHandler<HTMLDivElement>
onPointerDownCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnter
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnterCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeave
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeaveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerMove
- Type
PointerEventHandler<HTMLDivElement>
onPointerMoveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOut
- Type
PointerEventHandler<HTMLDivElement>
onPointerOutCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOver
- Type
PointerEventHandler<HTMLDivElement>
onPointerOverCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerUp
- Type
PointerEventHandler<HTMLDivElement>
onPointerUpCapture
- Type
PointerEventHandler<HTMLDivElement>
onProgress
- Type
ReactEventHandler<HTMLDivElement>
onProgressCapture
- Type
ReactEventHandler<HTMLDivElement>
onRateChange
- Type
ReactEventHandler<HTMLDivElement>
onRateChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onReset
- Type
FormEventHandler<HTMLDivElement>
onResetCapture
- Type
FormEventHandler<HTMLDivElement>
onResize
- Type
ReactEventHandler<HTMLDivElement>
onResizeCapture
- Type
ReactEventHandler<HTMLDivElement>
onScroll
- Type
UIEventHandler<HTMLDivElement>
onScrollCapture
- Type
UIEventHandler<HTMLDivElement>
onSeeked
- Type
ReactEventHandler<HTMLDivElement>
onSeekedCapture
- Type
ReactEventHandler<HTMLDivElement>
onSeeking
- Type
ReactEventHandler<HTMLDivElement>
onSeekingCapture
- Type
ReactEventHandler<HTMLDivElement>
onSelect
- Type
ReactEventHandler<HTMLDivElement>
onSelectCapture
- Type
ReactEventHandler<HTMLDivElement>
onStalled
- Type
ReactEventHandler<HTMLDivElement>
onStalledCapture
- Type
ReactEventHandler<HTMLDivElement>
onSubmit
- Type
FormEventHandler<HTMLDivElement>
onSubmitCapture
- Type
FormEventHandler<HTMLDivElement>
onSuspend
- Type
ReactEventHandler<HTMLDivElement>
onSuspendCapture
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdate
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdateCapture
- Type
ReactEventHandler<HTMLDivElement>
onTouchCancel
- Type
TouchEventHandler<HTMLDivElement>
onTouchCancelCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchEnd
- Type
TouchEventHandler<HTMLDivElement>
onTouchEndCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchMove
- Type
TouchEventHandler<HTMLDivElement>
onTouchMoveCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchStart
- Type
TouchEventHandler<HTMLDivElement>
onTouchStartCapture
- Type
TouchEventHandler<HTMLDivElement>
onTransitionEnd
- Type
TransitionEventHandler<HTMLDivElement>
onTransitionEndCapture
- Type
TransitionEventHandler<HTMLDivElement>
onVolumeChange
- Type
ReactEventHandler<HTMLDivElement>
onVolumeChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onWaiting
- Type
ReactEventHandler<HTMLDivElement>
onWaitingCapture
- Type
ReactEventHandler<HTMLDivElement>
onWheel
- Type
WheelEventHandler<HTMLDivElement>
onWheelCapture
- Type
WheelEventHandler<HTMLDivElement>
placeholder
- Type
string
placement
Actual placement
.
- Type
Placement
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
unstable_fixed
Whether or not the popover should have position
set to fixed
.
- Type
boolean
unstable_flip
Flip the popover's placement when it starts to overlap its reference element.
- Type
boolean
unstable_offset
Offset between the reference and the popover: [main axis, alt axis]. Should not be combined with gutter
.
- Type
[string | number, string | number]
unstable_preventOverflow
Prevents popover from being positioned outside the boundary.
- Type
boolean
visible
Whether it's visible or not.
- Type
boolean
vocab
- Type
string
name RequiredRequired
Provides name for the Avatar initials
- Type
string
icon
Provides an icon for the Avatar
- Type
FC<PropsWithChildren<GenericIconProps>>
src
Provides an image for the Avatar
- Type
string
state
useUserDialog state hook return value
- Type
PopoverStateReturn
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
animated
If true
, animating
will be set to true
when visible
is updated.
It'll wait for stopAnimation
to be called or a CSS transition ends.
If animated
is set to a number
, stopAnimation
will be called only
after the same number of milliseconds have passed.
- Type
number | boolean
baseId
ID that will serve as a base for all the items IDs.
- Type
string
gutter
Offset between the reference and the popover on the main axis. Should not be combined with unstable_offset
.
- Type
number
modal
Toggles Dialog's modal
state.
- Non-modal:
preventBodyScroll
doesn't work and focus is free. - Modal:
preventBodyScroll
is automatically enabled, focus is trapped within the dialog and the dialog is rendered within aPortal
by default.
- Type
boolean
placement
Actual placement
.
- Type
Placement
unstable_fixed
Whether or not the popover should have position
set to fixed
.
- Type
boolean
unstable_flip
Flip the popover's placement when it starts to overlap its reference element.
- Type
boolean
unstable_offset
Offset between the reference and the popover: [main axis, alt axis]. Should not be combined with gutter
.
- Type
[string | number, string | number]
unstable_preventOverflow
Prevents popover from being positioned outside the boundary.
- Type
boolean
visible
Whether it's visible or not.
- Type
boolean
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
animated
If true
, animating
will be set to true
when visible
is updated.
It'll wait for stopAnimation
to be called or a CSS transition ends.
If animated
is set to a number
, stopAnimation
will be called only
after the same number of milliseconds have passed.
- Type
number | boolean
baseId
ID that will serve as a base for all the items IDs.
- Type
string
gutter
Offset between the reference and the popover on the main axis. Should not be combined with unstable_offset
.
- Type
number
modal
Toggles Dialog's modal
state.
- Non-modal:
preventBodyScroll
doesn't work and focus is free. - Modal:
preventBodyScroll
is automatically enabled, focus is trapped within the dialog and the dialog is rendered within aPortal
by default.
- Type
boolean
placement
Actual placement
.
- Type
Placement
unstable_fixed
Whether or not the popover should have position
set to fixed
.
- Type
boolean
unstable_flip
Flip the popover's placement when it starts to overlap its reference element.
- Type
boolean
unstable_offset
Offset between the reference and the popover: [main axis, alt axis]. Should not be combined with gutter
.
- Type
[string | number, string | number]
unstable_preventOverflow
Prevents popover from being positioned outside the boundary.
- Type
boolean
visible
Whether it's visible or not.
- Type
boolean
animated RequiredRequired
If true
, animating
will be set to true
when visible
is updated.
It'll wait for stopAnimation
to be called or a CSS transition ends.
If animated
is set to a number
, stopAnimation
will be called only
after the same number of milliseconds have passed.
- Type
number | boolean
animating RequiredRequired
Whether it's animating or not.
- Type
boolean
baseId RequiredRequired
ID that will serve as a base for all the items IDs.
- Type
string
hide RequiredRequired
Changes the visible
state to false
- Type
() => void
modal RequiredRequired
Toggles Dialog's modal
state.
- Non-modal:
preventBodyScroll
doesn't work and focus is free. - Modal:
preventBodyScroll
is automatically enabled, focus is trapped within the dialog and the dialog is rendered within aPortal
by default.
- Type
boolean
place RequiredRequired
Change the placement
state.
- Type
Dispatch<SetStateAction<Placement>>
placement RequiredRequired
Actual placement
.
- Type
Placement
setAnimated RequiredRequired
Sets animated
.
- Type
Dispatch<SetStateAction<number | boolean>>
setBaseId RequiredRequired
Sets baseId
.
- Type
Dispatch<SetStateAction<string>>
setModal RequiredRequired
Sets modal
.
- Type
Dispatch<SetStateAction<boolean>>
setVisible RequiredRequired
Sets visible
.
- Type
Dispatch<SetStateAction<boolean>>
show RequiredRequired
Changes the visible
state to true
- Type
() => void
stopAnimation RequiredRequired
Stops animation. It's called automatically if there's a CSS transition.
- Type
() => void
toggle RequiredRequired
Toggles the visible
state
- Type
() => void
unstable_arrowRef RequiredRequired
The arrow element.
- Type
RefObject<HTMLElement | null>
unstable_arrowStyles RequiredRequired
Arrow styles.
- Type
CSSProperties
unstable_disclosureRef RequiredRequired
- Type
MutableRefObject<HTMLElement | null>
unstable_idCountRef RequiredRequired
- Type
MutableRefObject<number>
unstable_originalPlacement RequiredRequired
placement
passed to the hook.
- Type
Placement
unstable_popoverRef RequiredRequired
The popover element.
- Type
RefObject<HTMLElement | null>
unstable_popoverStyles RequiredRequired
Popover styles.
- Type
CSSProperties
unstable_referenceRef RequiredRequired
The reference element.
- Type
RefObject<HTMLElement | null>
unstable_update RequiredRequired
- Type
() => boolean
visible RequiredRequired
Whether it's visible or not.
- Type
boolean
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG_USER_INFO
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-label
Defines a string value that labels the current element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
draggable
- Type
Booleanish
hidden
- Type
boolean
id
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
nonce
- Type
string
onAbort
- Type
ReactEventHandler<HTMLDivElement>
onAbortCapture
- Type
ReactEventHandler<HTMLDivElement>
onAnimationEnd
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationEndCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIteration
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIterationCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStart
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStartCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAuxClick
- Type
MouseEventHandler<HTMLDivElement>
onAuxClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onBeforeInput
- Type
FormEventHandler<HTMLDivElement>
onBeforeInputCapture
- Type
FormEventHandler<HTMLDivElement>
onBlur
- Type
FocusEventHandler<HTMLDivElement>
onBlurCapture
- Type
FocusEventHandler<HTMLDivElement>
onCanPlay
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThrough
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThroughCapture
- Type
ReactEventHandler<HTMLDivElement>
onChange
- Type
FormEventHandler<HTMLDivElement>
onChangeCapture
- Type
FormEventHandler<HTMLDivElement>
onClick
- Type
MouseEventHandler<HTMLDivElement>
onClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onCompositionEnd
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionEndCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStart
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStartCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdate
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdateCapture
- Type
CompositionEventHandler<HTMLDivElement>
onContextMenu
- Type
MouseEventHandler<HTMLDivElement>
onContextMenuCapture
- Type
MouseEventHandler<HTMLDivElement>
onCopy
- Type
ClipboardEventHandler<HTMLDivElement>
onCopyCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onCut
- Type
ClipboardEventHandler<HTMLDivElement>
onCutCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onDoubleClick
- Type
MouseEventHandler<HTMLDivElement>
onDoubleClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onDrag
- Type
DragEventHandler<HTMLDivElement>
onDragCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnd
- Type
DragEventHandler<HTMLDivElement>
onDragEndCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnter
- Type
DragEventHandler<HTMLDivElement>
onDragEnterCapture
- Type
DragEventHandler<HTMLDivElement>
onDragExit
- Type
DragEventHandler<HTMLDivElement>
onDragExitCapture
- Type
DragEventHandler<HTMLDivElement>
onDragLeave
- Type
DragEventHandler<HTMLDivElement>
onDragLeaveCapture
- Type
DragEventHandler<HTMLDivElement>
onDragOver
- Type
DragEventHandler<HTMLDivElement>
onDragOverCapture
- Type
DragEventHandler<HTMLDivElement>
onDragStart
- Type
DragEventHandler<HTMLDivElement>
onDragStartCapture
- Type
DragEventHandler<HTMLDivElement>
onDrop
- Type
DragEventHandler<HTMLDivElement>
onDropCapture
- Type
DragEventHandler<HTMLDivElement>
onDurationChange
- Type
ReactEventHandler<HTMLDivElement>
onDurationChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onEmptied
- Type
ReactEventHandler<HTMLDivElement>
onEmptiedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEncrypted
- Type
ReactEventHandler<HTMLDivElement>
onEncryptedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEnded
- Type
ReactEventHandler<HTMLDivElement>
onEndedCapture
- Type
ReactEventHandler<HTMLDivElement>
onError
- Type
ReactEventHandler<HTMLDivElement>
onErrorCapture
- Type
ReactEventHandler<HTMLDivElement>
onFocus
- Type
FocusEventHandler<HTMLDivElement>
onFocusCapture
- Type
FocusEventHandler<HTMLDivElement>
onGotPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onGotPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onInput
- Type
FormEventHandler<HTMLDivElement>
onInputCapture
- Type
FormEventHandler<HTMLDivElement>
onInvalid
- Type
FormEventHandler<HTMLDivElement>
onInvalidCapture
- Type
FormEventHandler<HTMLDivElement>
onKeyDown
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyDownCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPress
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPressCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUp
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUpCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onLoad
- Type
ReactEventHandler<HTMLDivElement>
onLoadCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedData
- Type
ReactEventHandler<HTMLDivElement>
onLoadedDataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadata
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadStart
- Type
ReactEventHandler<HTMLDivElement>
onLoadStartCapture
- Type
ReactEventHandler<HTMLDivElement>
onLostPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onLostPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onMouseDown
- Type
MouseEventHandler<HTMLDivElement>
onMouseDownCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseEnter
- Type
MouseEventHandler<HTMLDivElement>
onMouseLeave
- Type
MouseEventHandler<HTMLDivElement>
onMouseMove
- Type
MouseEventHandler<HTMLDivElement>
onMouseMoveCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOut
- Type
MouseEventHandler<HTMLDivElement>
onMouseOutCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOver
- Type
MouseEventHandler<HTMLDivElement>
onMouseOverCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseUp
- Type
MouseEventHandler<HTMLDivElement>
onMouseUpCapture
- Type
MouseEventHandler<HTMLDivElement>
onPaste
- Type
ClipboardEventHandler<HTMLDivElement>
onPasteCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onPause
- Type
ReactEventHandler<HTMLDivElement>
onPauseCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlay
- Type
ReactEventHandler<HTMLDivElement>
onPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlaying
- Type
ReactEventHandler<HTMLDivElement>
onPlayingCapture
- Type
ReactEventHandler<HTMLDivElement>
onPointerCancel
- Type
PointerEventHandler<HTMLDivElement>
onPointerCancelCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerDown
- Type
PointerEventHandler<HTMLDivElement>
onPointerDownCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnter
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnterCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeave
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeaveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerMove
- Type
PointerEventHandler<HTMLDivElement>
onPointerMoveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOut
- Type
PointerEventHandler<HTMLDivElement>
onPointerOutCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOver
- Type
PointerEventHandler<HTMLDivElement>
onPointerOverCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerUp
- Type
PointerEventHandler<HTMLDivElement>
onPointerUpCapture
- Type
PointerEventHandler<HTMLDivElement>
onProgress
- Type
ReactEventHandler<HTMLDivElement>
onProgressCapture
- Type
ReactEventHandler<HTMLDivElement>
onRateChange
- Type
ReactEventHandler<HTMLDivElement>
onRateChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onReset
- Type
FormEventHandler<HTMLDivElement>
onResetCapture
- Type
FormEventHandler<HTMLDivElement>
onResize
- Type
ReactEventHandler<HTMLDivElement>
onResizeCapture
- Type
ReactEventHandler<HTMLDivElement>
onScroll
- Type
UIEventHandler<HTMLDivElement>
onScrollCapture
- Type
UIEventHandler<HTMLDivElement>
onSeeked
- Type
ReactEventHandler<HTMLDivElement>
onSeekedCapture
- Type
ReactEventHandler<HTMLDivElement>
onSeeking
- Type
ReactEventHandler<HTMLDivElement>
onSeekingCapture
- Type
ReactEventHandler<HTMLDivElement>
onSelect
- Type
ReactEventHandler<HTMLDivElement>
onSelectCapture
- Type
ReactEventHandler<HTMLDivElement>
onStalled
- Type
ReactEventHandler<HTMLDivElement>
onStalledCapture
- Type
ReactEventHandler<HTMLDivElement>
onSubmit
- Type
FormEventHandler<HTMLDivElement>
onSubmitCapture
- Type
FormEventHandler<HTMLDivElement>
onSuspend
- Type
ReactEventHandler<HTMLDivElement>
onSuspendCapture
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdate
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdateCapture
- Type
ReactEventHandler<HTMLDivElement>
onTouchCancel
- Type
TouchEventHandler<HTMLDivElement>
onTouchCancelCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchEnd
- Type
TouchEventHandler<HTMLDivElement>
onTouchEndCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchMove
- Type
TouchEventHandler<HTMLDivElement>
onTouchMoveCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchStart
- Type
TouchEventHandler<HTMLDivElement>
onTouchStartCapture
- Type
TouchEventHandler<HTMLDivElement>
onTransitionEnd
- Type
TransitionEventHandler<HTMLDivElement>
onTransitionEndCapture
- Type
TransitionEventHandler<HTMLDivElement>
onVolumeChange
- Type
ReactEventHandler<HTMLDivElement>
onVolumeChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onWaiting
- Type
ReactEventHandler<HTMLDivElement>
onWaitingCapture
- Type
ReactEventHandler<HTMLDivElement>
onWheel
- Type
WheelEventHandler<HTMLDivElement>
onWheelCapture
- Type
WheelEventHandler<HTMLDivElement>
placeholder
- Type
string
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
vocab
- Type
string
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG_USER_NAME
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-label
Defines a string value that labels the current element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
draggable
- Type
Booleanish
hidden
- Type
boolean
id
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
nonce
- Type
string
onAbort
- Type
ReactEventHandler<HTMLDivElement>
onAbortCapture
- Type
ReactEventHandler<HTMLDivElement>
onAnimationEnd
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationEndCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIteration
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIterationCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStart
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStartCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAuxClick
- Type
MouseEventHandler<HTMLDivElement>
onAuxClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onBeforeInput
- Type
FormEventHandler<HTMLDivElement>
onBeforeInputCapture
- Type
FormEventHandler<HTMLDivElement>
onBlur
- Type
FocusEventHandler<HTMLDivElement>
onBlurCapture
- Type
FocusEventHandler<HTMLDivElement>
onCanPlay
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThrough
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThroughCapture
- Type
ReactEventHandler<HTMLDivElement>
onChange
- Type
FormEventHandler<HTMLDivElement>
onChangeCapture
- Type
FormEventHandler<HTMLDivElement>
onClick
- Type
MouseEventHandler<HTMLDivElement>
onClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onCompositionEnd
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionEndCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStart
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStartCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdate
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdateCapture
- Type
CompositionEventHandler<HTMLDivElement>
onContextMenu
- Type
MouseEventHandler<HTMLDivElement>
onContextMenuCapture
- Type
MouseEventHandler<HTMLDivElement>
onCopy
- Type
ClipboardEventHandler<HTMLDivElement>
onCopyCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onCut
- Type
ClipboardEventHandler<HTMLDivElement>
onCutCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onDoubleClick
- Type
MouseEventHandler<HTMLDivElement>
onDoubleClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onDrag
- Type
DragEventHandler<HTMLDivElement>
onDragCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnd
- Type
DragEventHandler<HTMLDivElement>
onDragEndCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnter
- Type
DragEventHandler<HTMLDivElement>
onDragEnterCapture
- Type
DragEventHandler<HTMLDivElement>
onDragExit
- Type
DragEventHandler<HTMLDivElement>
onDragExitCapture
- Type
DragEventHandler<HTMLDivElement>
onDragLeave
- Type
DragEventHandler<HTMLDivElement>
onDragLeaveCapture
- Type
DragEventHandler<HTMLDivElement>
onDragOver
- Type
DragEventHandler<HTMLDivElement>
onDragOverCapture
- Type
DragEventHandler<HTMLDivElement>
onDragStart
- Type
DragEventHandler<HTMLDivElement>
onDragStartCapture
- Type
DragEventHandler<HTMLDivElement>
onDrop
- Type
DragEventHandler<HTMLDivElement>
onDropCapture
- Type
DragEventHandler<HTMLDivElement>
onDurationChange
- Type
ReactEventHandler<HTMLDivElement>
onDurationChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onEmptied
- Type
ReactEventHandler<HTMLDivElement>
onEmptiedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEncrypted
- Type
ReactEventHandler<HTMLDivElement>
onEncryptedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEnded
- Type
ReactEventHandler<HTMLDivElement>
onEndedCapture
- Type
ReactEventHandler<HTMLDivElement>
onError
- Type
ReactEventHandler<HTMLDivElement>
onErrorCapture
- Type
ReactEventHandler<HTMLDivElement>
onFocus
- Type
FocusEventHandler<HTMLDivElement>
onFocusCapture
- Type
FocusEventHandler<HTMLDivElement>
onGotPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onGotPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onInput
- Type
FormEventHandler<HTMLDivElement>
onInputCapture
- Type
FormEventHandler<HTMLDivElement>
onInvalid
- Type
FormEventHandler<HTMLDivElement>
onInvalidCapture
- Type
FormEventHandler<HTMLDivElement>
onKeyDown
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyDownCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPress
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPressCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUp
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUpCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onLoad
- Type
ReactEventHandler<HTMLDivElement>
onLoadCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedData
- Type
ReactEventHandler<HTMLDivElement>
onLoadedDataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadata
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadStart
- Type
ReactEventHandler<HTMLDivElement>
onLoadStartCapture
- Type
ReactEventHandler<HTMLDivElement>
onLostPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onLostPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onMouseDown
- Type
MouseEventHandler<HTMLDivElement>
onMouseDownCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseEnter
- Type
MouseEventHandler<HTMLDivElement>
onMouseLeave
- Type
MouseEventHandler<HTMLDivElement>
onMouseMove
- Type
MouseEventHandler<HTMLDivElement>
onMouseMoveCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOut
- Type
MouseEventHandler<HTMLDivElement>
onMouseOutCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOver
- Type
MouseEventHandler<HTMLDivElement>
onMouseOverCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseUp
- Type
MouseEventHandler<HTMLDivElement>
onMouseUpCapture
- Type
MouseEventHandler<HTMLDivElement>
onPaste
- Type
ClipboardEventHandler<HTMLDivElement>
onPasteCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onPause
- Type
ReactEventHandler<HTMLDivElement>
onPauseCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlay
- Type
ReactEventHandler<HTMLDivElement>
onPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlaying
- Type
ReactEventHandler<HTMLDivElement>
onPlayingCapture
- Type
ReactEventHandler<HTMLDivElement>
onPointerCancel
- Type
PointerEventHandler<HTMLDivElement>
onPointerCancelCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerDown
- Type
PointerEventHandler<HTMLDivElement>
onPointerDownCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnter
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnterCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeave
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeaveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerMove
- Type
PointerEventHandler<HTMLDivElement>
onPointerMoveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOut
- Type
PointerEventHandler<HTMLDivElement>
onPointerOutCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOver
- Type
PointerEventHandler<HTMLDivElement>
onPointerOverCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerUp
- Type
PointerEventHandler<HTMLDivElement>
onPointerUpCapture
- Type
PointerEventHandler<HTMLDivElement>
onProgress
- Type
ReactEventHandler<HTMLDivElement>
onProgressCapture
- Type
ReactEventHandler<HTMLDivElement>
onRateChange
- Type
ReactEventHandler<HTMLDivElement>
onRateChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onReset
- Type
FormEventHandler<HTMLDivElement>
onResetCapture
- Type
FormEventHandler<HTMLDivElement>
onResize
- Type
ReactEventHandler<HTMLDivElement>
onResizeCapture
- Type
ReactEventHandler<HTMLDivElement>
onScroll
- Type
UIEventHandler<HTMLDivElement>
onScrollCapture
- Type
UIEventHandler<HTMLDivElement>
onSeeked
- Type
ReactEventHandler<HTMLDivElement>
onSeekedCapture
- Type
ReactEventHandler<HTMLDivElement>
onSeeking
- Type
ReactEventHandler<HTMLDivElement>
onSeekingCapture
- Type
ReactEventHandler<HTMLDivElement>
onSelect
- Type
ReactEventHandler<HTMLDivElement>
onSelectCapture
- Type
ReactEventHandler<HTMLDivElement>
onStalled
- Type
ReactEventHandler<HTMLDivElement>
onStalledCapture
- Type
ReactEventHandler<HTMLDivElement>
onSubmit
- Type
FormEventHandler<HTMLDivElement>
onSubmitCapture
- Type
FormEventHandler<HTMLDivElement>
onSuspend
- Type
ReactEventHandler<HTMLDivElement>
onSuspendCapture
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdate
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdateCapture
- Type
ReactEventHandler<HTMLDivElement>
onTouchCancel
- Type
TouchEventHandler<HTMLDivElement>
onTouchCancelCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchEnd
- Type
TouchEventHandler<HTMLDivElement>
onTouchEndCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchMove
- Type
TouchEventHandler<HTMLDivElement>
onTouchMoveCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchStart
- Type
TouchEventHandler<HTMLDivElement>
onTouchStartCapture
- Type
TouchEventHandler<HTMLDivElement>
onTransitionEnd
- Type
TransitionEventHandler<HTMLDivElement>
onTransitionEndCapture
- Type
TransitionEventHandler<HTMLDivElement>
onVolumeChange
- Type
ReactEventHandler<HTMLDivElement>
onVolumeChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onWaiting
- Type
ReactEventHandler<HTMLDivElement>
onWaitingCapture
- Type
ReactEventHandler<HTMLDivElement>
onWheel
- Type
WheelEventHandler<HTMLDivElement>
onWheelCapture
- Type
WheelEventHandler<HTMLDivElement>
placeholder
- Type
string
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
vocab
- Type
string
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG_USER_EMAIL
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-label
Defines a string value that labels the current element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
draggable
- Type
Booleanish
hidden
- Type
boolean
id
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
nonce
- Type
string
onAbort
- Type
ReactEventHandler<HTMLDivElement>
onAbortCapture
- Type
ReactEventHandler<HTMLDivElement>
onAnimationEnd
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationEndCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIteration
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationIterationCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStart
- Type
AnimationEventHandler<HTMLDivElement>
onAnimationStartCapture
- Type
AnimationEventHandler<HTMLDivElement>
onAuxClick
- Type
MouseEventHandler<HTMLDivElement>
onAuxClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onBeforeInput
- Type
FormEventHandler<HTMLDivElement>
onBeforeInputCapture
- Type
FormEventHandler<HTMLDivElement>
onBlur
- Type
FocusEventHandler<HTMLDivElement>
onBlurCapture
- Type
FocusEventHandler<HTMLDivElement>
onCanPlay
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThrough
- Type
ReactEventHandler<HTMLDivElement>
onCanPlayThroughCapture
- Type
ReactEventHandler<HTMLDivElement>
onChange
- Type
FormEventHandler<HTMLDivElement>
onChangeCapture
- Type
FormEventHandler<HTMLDivElement>
onClick
- Type
MouseEventHandler<HTMLDivElement>
onClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onCompositionEnd
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionEndCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStart
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionStartCapture
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdate
- Type
CompositionEventHandler<HTMLDivElement>
onCompositionUpdateCapture
- Type
CompositionEventHandler<HTMLDivElement>
onContextMenu
- Type
MouseEventHandler<HTMLDivElement>
onContextMenuCapture
- Type
MouseEventHandler<HTMLDivElement>
onCopy
- Type
ClipboardEventHandler<HTMLDivElement>
onCopyCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onCut
- Type
ClipboardEventHandler<HTMLDivElement>
onCutCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onDoubleClick
- Type
MouseEventHandler<HTMLDivElement>
onDoubleClickCapture
- Type
MouseEventHandler<HTMLDivElement>
onDrag
- Type
DragEventHandler<HTMLDivElement>
onDragCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnd
- Type
DragEventHandler<HTMLDivElement>
onDragEndCapture
- Type
DragEventHandler<HTMLDivElement>
onDragEnter
- Type
DragEventHandler<HTMLDivElement>
onDragEnterCapture
- Type
DragEventHandler<HTMLDivElement>
onDragExit
- Type
DragEventHandler<HTMLDivElement>
onDragExitCapture
- Type
DragEventHandler<HTMLDivElement>
onDragLeave
- Type
DragEventHandler<HTMLDivElement>
onDragLeaveCapture
- Type
DragEventHandler<HTMLDivElement>
onDragOver
- Type
DragEventHandler<HTMLDivElement>
onDragOverCapture
- Type
DragEventHandler<HTMLDivElement>
onDragStart
- Type
DragEventHandler<HTMLDivElement>
onDragStartCapture
- Type
DragEventHandler<HTMLDivElement>
onDrop
- Type
DragEventHandler<HTMLDivElement>
onDropCapture
- Type
DragEventHandler<HTMLDivElement>
onDurationChange
- Type
ReactEventHandler<HTMLDivElement>
onDurationChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onEmptied
- Type
ReactEventHandler<HTMLDivElement>
onEmptiedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEncrypted
- Type
ReactEventHandler<HTMLDivElement>
onEncryptedCapture
- Type
ReactEventHandler<HTMLDivElement>
onEnded
- Type
ReactEventHandler<HTMLDivElement>
onEndedCapture
- Type
ReactEventHandler<HTMLDivElement>
onError
- Type
ReactEventHandler<HTMLDivElement>
onErrorCapture
- Type
ReactEventHandler<HTMLDivElement>
onFocus
- Type
FocusEventHandler<HTMLDivElement>
onFocusCapture
- Type
FocusEventHandler<HTMLDivElement>
onGotPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onGotPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onInput
- Type
FormEventHandler<HTMLDivElement>
onInputCapture
- Type
FormEventHandler<HTMLDivElement>
onInvalid
- Type
FormEventHandler<HTMLDivElement>
onInvalidCapture
- Type
FormEventHandler<HTMLDivElement>
onKeyDown
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyDownCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPress
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyPressCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUp
- Type
KeyboardEventHandler<HTMLDivElement>
onKeyUpCapture
- Type
KeyboardEventHandler<HTMLDivElement>
onLoad
- Type
ReactEventHandler<HTMLDivElement>
onLoadCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedData
- Type
ReactEventHandler<HTMLDivElement>
onLoadedDataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadata
- Type
ReactEventHandler<HTMLDivElement>
onLoadedMetadataCapture
- Type
ReactEventHandler<HTMLDivElement>
onLoadStart
- Type
ReactEventHandler<HTMLDivElement>
onLoadStartCapture
- Type
ReactEventHandler<HTMLDivElement>
onLostPointerCapture
- Type
PointerEventHandler<HTMLDivElement>
onLostPointerCaptureCapture
- Type
PointerEventHandler<HTMLDivElement>
onMouseDown
- Type
MouseEventHandler<HTMLDivElement>
onMouseDownCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseEnter
- Type
MouseEventHandler<HTMLDivElement>
onMouseLeave
- Type
MouseEventHandler<HTMLDivElement>
onMouseMove
- Type
MouseEventHandler<HTMLDivElement>
onMouseMoveCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOut
- Type
MouseEventHandler<HTMLDivElement>
onMouseOutCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseOver
- Type
MouseEventHandler<HTMLDivElement>
onMouseOverCapture
- Type
MouseEventHandler<HTMLDivElement>
onMouseUp
- Type
MouseEventHandler<HTMLDivElement>
onMouseUpCapture
- Type
MouseEventHandler<HTMLDivElement>
onPaste
- Type
ClipboardEventHandler<HTMLDivElement>
onPasteCapture
- Type
ClipboardEventHandler<HTMLDivElement>
onPause
- Type
ReactEventHandler<HTMLDivElement>
onPauseCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlay
- Type
ReactEventHandler<HTMLDivElement>
onPlayCapture
- Type
ReactEventHandler<HTMLDivElement>
onPlaying
- Type
ReactEventHandler<HTMLDivElement>
onPlayingCapture
- Type
ReactEventHandler<HTMLDivElement>
onPointerCancel
- Type
PointerEventHandler<HTMLDivElement>
onPointerCancelCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerDown
- Type
PointerEventHandler<HTMLDivElement>
onPointerDownCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnter
- Type
PointerEventHandler<HTMLDivElement>
onPointerEnterCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeave
- Type
PointerEventHandler<HTMLDivElement>
onPointerLeaveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerMove
- Type
PointerEventHandler<HTMLDivElement>
onPointerMoveCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOut
- Type
PointerEventHandler<HTMLDivElement>
onPointerOutCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerOver
- Type
PointerEventHandler<HTMLDivElement>
onPointerOverCapture
- Type
PointerEventHandler<HTMLDivElement>
onPointerUp
- Type
PointerEventHandler<HTMLDivElement>
onPointerUpCapture
- Type
PointerEventHandler<HTMLDivElement>
onProgress
- Type
ReactEventHandler<HTMLDivElement>
onProgressCapture
- Type
ReactEventHandler<HTMLDivElement>
onRateChange
- Type
ReactEventHandler<HTMLDivElement>
onRateChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onReset
- Type
FormEventHandler<HTMLDivElement>
onResetCapture
- Type
FormEventHandler<HTMLDivElement>
onResize
- Type
ReactEventHandler<HTMLDivElement>
onResizeCapture
- Type
ReactEventHandler<HTMLDivElement>
onScroll
- Type
UIEventHandler<HTMLDivElement>
onScrollCapture
- Type
UIEventHandler<HTMLDivElement>
onSeeked
- Type
ReactEventHandler<HTMLDivElement>
onSeekedCapture
- Type
ReactEventHandler<HTMLDivElement>
onSeeking
- Type
ReactEventHandler<HTMLDivElement>
onSeekingCapture
- Type
ReactEventHandler<HTMLDivElement>
onSelect
- Type
ReactEventHandler<HTMLDivElement>
onSelectCapture
- Type
ReactEventHandler<HTMLDivElement>
onStalled
- Type
ReactEventHandler<HTMLDivElement>
onStalledCapture
- Type
ReactEventHandler<HTMLDivElement>
onSubmit
- Type
FormEventHandler<HTMLDivElement>
onSubmitCapture
- Type
FormEventHandler<HTMLDivElement>
onSuspend
- Type
ReactEventHandler<HTMLDivElement>
onSuspendCapture
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdate
- Type
ReactEventHandler<HTMLDivElement>
onTimeUpdateCapture
- Type
ReactEventHandler<HTMLDivElement>
onTouchCancel
- Type
TouchEventHandler<HTMLDivElement>
onTouchCancelCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchEnd
- Type
TouchEventHandler<HTMLDivElement>
onTouchEndCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchMove
- Type
TouchEventHandler<HTMLDivElement>
onTouchMoveCapture
- Type
TouchEventHandler<HTMLDivElement>
onTouchStart
- Type
TouchEventHandler<HTMLDivElement>
onTouchStartCapture
- Type
TouchEventHandler<HTMLDivElement>
onTransitionEnd
- Type
TransitionEventHandler<HTMLDivElement>
onTransitionEndCapture
- Type
TransitionEventHandler<HTMLDivElement>
onVolumeChange
- Type
ReactEventHandler<HTMLDivElement>
onVolumeChangeCapture
- Type
ReactEventHandler<HTMLDivElement>
onWaiting
- Type
ReactEventHandler<HTMLDivElement>
onWaitingCapture
- Type
ReactEventHandler<HTMLDivElement>
onWheel
- Type
WheelEventHandler<HTMLDivElement>
onWheelCapture
- Type
WheelEventHandler<HTMLDivElement>
placeholder
- Type
string
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
vocab
- Type
string
aria-label RequiredRequired
Accessible description of the list
- Type
string
first RequiredRequired
Moves focus to the first item.
- Type
() => void
items RequiredRequired
Lists all the composite items with their id
, DOM ref
, disabled
state
and groupId
if any. This state is automatically updated when
registerItem
and unregisterItem
are called.
- Type
Item[]
last RequiredRequired
Moves focus to the last item.
- Type
() => void
move RequiredRequired
Moves focus to a given item ID.
- Type
(id: string | null) => void
setCurrentId RequiredRequired
Sets currentId
. This is different from composite.move
as this only
updates the currentId
state without moving focus. When the composite
widget gets focused by the user, the item referred by the currentId
state will get focus.
- Type
Dispatch<SetStateAction<string | null | undefined>>
as
- Type
As<any>
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG_LIST
variant
- Type
ListboxPrimitiveVariants
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
baseId
ID that will serve as a base for all the items IDs.
- Type
string
className
- Type
string
color
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
currentId
The current focused item id
.
undefined
will automatically focus the first enabled composite item.null
will focus the base composite element and users will be able to navigate out of it using arrow keys.- If
currentId
is initially set tonull
, the base composite element itself will have focus and users will be able to navigate to it using arrow keys.
- Type
string
- Default
undefined
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
disabled
Same as the HTML attribute.
- Type
boolean
draggable
- Type
Booleanish
focusable
When an element is disabled
, it may still be focusable
. It works
similarly to readOnly
on form elements. In this case, only
aria-disabled
will be set.
- Type
boolean
groups
Lists all the composite groups with their id
and DOM ref
. This state
is automatically updated when registerGroup
and unregisterGroup
are
called.
- Type
Group[]
hidden
- Type
boolean
id
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
nonce
- Type
string
onAbort
- Type
ReactEventHandler<any>
onAbortCapture
- Type
ReactEventHandler<any>
onAnimationEnd
- Type
AnimationEventHandler<any>
onAnimationEndCapture
- Type
AnimationEventHandler<any>
onAnimationIteration
- Type
AnimationEventHandler<any>
onAnimationIterationCapture
- Type
AnimationEventHandler<any>
onAnimationStart
- Type
AnimationEventHandler<any>
onAnimationStartCapture
- Type
AnimationEventHandler<any>
onAuxClick
- Type
MouseEventHandler<any>
onAuxClickCapture
- Type
MouseEventHandler<any>
onBeforeInput
- Type
FormEventHandler<any>
onBeforeInputCapture
- Type
FormEventHandler<any>
onBlur
- Type
FocusEventHandler<any>
onBlurCapture
- Type
FocusEventHandler<any>
onCanPlay
- Type
ReactEventHandler<any>
onCanPlayCapture
- Type
ReactEventHandler<any>
onCanPlayThrough
- Type
ReactEventHandler<any>
onCanPlayThroughCapture
- Type
ReactEventHandler<any>
onChange
- Type
FormEventHandler<any>
onChangeCapture
- Type
FormEventHandler<any>
onClick
- Type
MouseEventHandler<any>
onClickCapture
- Type
MouseEventHandler<any>
onCompositionEnd
- Type
CompositionEventHandler<any>
onCompositionEndCapture
- Type
CompositionEventHandler<any>
onCompositionStart
- Type
CompositionEventHandler<any>
onCompositionStartCapture
- Type
CompositionEventHandler<any>
onCompositionUpdate
- Type
CompositionEventHandler<any>
onCompositionUpdateCapture
- Type
CompositionEventHandler<any>
onContextMenu
- Type
MouseEventHandler<any>
onContextMenuCapture
- Type
MouseEventHandler<any>
onCopy
- Type
ClipboardEventHandler<any>
onCopyCapture
- Type
ClipboardEventHandler<any>
onCut
- Type
ClipboardEventHandler<any>
onCutCapture
- Type
ClipboardEventHandler<any>
onDoubleClick
- Type
MouseEventHandler<any>
onDoubleClickCapture
- Type
MouseEventHandler<any>
onDrag
- Type
DragEventHandler<any>
onDragCapture
- Type
DragEventHandler<any>
onDragEnd
- Type
DragEventHandler<any>
onDragEndCapture
- Type
DragEventHandler<any>
onDragEnter
- Type
DragEventHandler<any>
onDragEnterCapture
- Type
DragEventHandler<any>
onDragExit
- Type
DragEventHandler<any>
onDragExitCapture
- Type
DragEventHandler<any>
onDragLeave
- Type
DragEventHandler<any>
onDragLeaveCapture
- Type
DragEventHandler<any>
onDragOver
- Type
DragEventHandler<any>
onDragOverCapture
- Type
DragEventHandler<any>
onDragStart
- Type
DragEventHandler<any>
onDragStartCapture
- Type
DragEventHandler<any>
onDrop
- Type
DragEventHandler<any>
onDropCapture
- Type
DragEventHandler<any>
onDurationChange
- Type
ReactEventHandler<any>
onDurationChangeCapture
- Type
ReactEventHandler<any>
onEmptied
- Type
ReactEventHandler<any>
onEmptiedCapture
- Type
ReactEventHandler<any>
onEncrypted
- Type
ReactEventHandler<any>
onEncryptedCapture
- Type
ReactEventHandler<any>
onEnded
- Type
ReactEventHandler<any>
onEndedCapture
- Type
ReactEventHandler<any>
onError
- Type
ReactEventHandler<any>
onErrorCapture
- Type
ReactEventHandler<any>
onFocus
- Type
FocusEventHandler<any>
onFocusCapture
- Type
FocusEventHandler<any>
onGotPointerCapture
- Type
PointerEventHandler<any>
onGotPointerCaptureCapture
- Type
PointerEventHandler<any>
onInput
- Type
FormEventHandler<any>
onInputCapture
- Type
FormEventHandler<any>
onInvalid
- Type
FormEventHandler<any>
onInvalidCapture
- Type
FormEventHandler<any>
onKeyDown
- Type
KeyboardEventHandler<any>
onKeyDownCapture
- Type
KeyboardEventHandler<any>
onKeyPress
- Type
KeyboardEventHandler<any>
onKeyPressCapture
- Type
KeyboardEventHandler<any>
onKeyUp
- Type
KeyboardEventHandler<any>
onKeyUpCapture
- Type
KeyboardEventHandler<any>
onLoad
- Type
ReactEventHandler<any>
onLoadCapture
- Type
ReactEventHandler<any>
onLoadedData
- Type
ReactEventHandler<any>
onLoadedDataCapture
- Type
ReactEventHandler<any>
onLoadedMetadata
- Type
ReactEventHandler<any>
onLoadedMetadataCapture
- Type
ReactEventHandler<any>
onLoadStart
- Type
ReactEventHandler<any>
onLoadStartCapture
- Type
ReactEventHandler<any>
onLostPointerCapture
- Type
PointerEventHandler<any>
onLostPointerCaptureCapture
- Type
PointerEventHandler<any>
onMouseDown
- Type
MouseEventHandler<any>
onMouseDownCapture
- Type
MouseEventHandler<any>
onMouseEnter
- Type
MouseEventHandler<any>
onMouseLeave
- Type
MouseEventHandler<any>
onMouseMove
- Type
MouseEventHandler<any>
onMouseMoveCapture
- Type
MouseEventHandler<any>
onMouseOut
- Type
MouseEventHandler<any>
onMouseOutCapture
- Type
MouseEventHandler<any>
onMouseOver
- Type
MouseEventHandler<any>
onMouseOverCapture
- Type
MouseEventHandler<any>
onMouseUp
- Type
MouseEventHandler<any>
onMouseUpCapture
- Type
MouseEventHandler<any>
onPaste
- Type
ClipboardEventHandler<any>
onPasteCapture
- Type
ClipboardEventHandler<any>
onPause
- Type
ReactEventHandler<any>
onPauseCapture
- Type
ReactEventHandler<any>
onPlay
- Type
ReactEventHandler<any>
onPlayCapture
- Type
ReactEventHandler<any>
onPlaying
- Type
ReactEventHandler<any>
onPlayingCapture
- Type
ReactEventHandler<any>
onPointerCancel
- Type
PointerEventHandler<any>
onPointerCancelCapture
- Type
PointerEventHandler<any>
onPointerDown
- Type
PointerEventHandler<any>
onPointerDownCapture
- Type
PointerEventHandler<any>
onPointerEnter
- Type
PointerEventHandler<any>
onPointerEnterCapture
- Type
PointerEventHandler<any>
onPointerLeave
- Type
PointerEventHandler<any>
onPointerLeaveCapture
- Type
PointerEventHandler<any>
onPointerMove
- Type
PointerEventHandler<any>
onPointerMoveCapture
- Type
PointerEventHandler<any>
onPointerOut
- Type
PointerEventHandler<any>
onPointerOutCapture
- Type
PointerEventHandler<any>
onPointerOver
- Type
PointerEventHandler<any>
onPointerOverCapture
- Type
PointerEventHandler<any>
onPointerUp
- Type
PointerEventHandler<any>
onPointerUpCapture
- Type
PointerEventHandler<any>
onProgress
- Type
ReactEventHandler<any>
onProgressCapture
- Type
ReactEventHandler<any>
onRateChange
- Type
ReactEventHandler<any>
onRateChangeCapture
- Type
ReactEventHandler<any>
onReset
- Type
FormEventHandler<any>
onResetCapture
- Type
FormEventHandler<any>
onResize
- Type
ReactEventHandler<any>
onResizeCapture
- Type
ReactEventHandler<any>
onScroll
- Type
UIEventHandler<any>
onScrollCapture
- Type
UIEventHandler<any>
onSeeked
- Type
ReactEventHandler<any>
onSeekedCapture
- Type
ReactEventHandler<any>
onSeeking
- Type
ReactEventHandler<any>
onSeekingCapture
- Type
ReactEventHandler<any>
onSelect
- Type
ReactEventHandler<any>
onSelectCapture
- Type
ReactEventHandler<any>
onStalled
- Type
ReactEventHandler<any>
onStalledCapture
- Type
ReactEventHandler<any>
onSubmit
- Type
FormEventHandler<any>
onSubmitCapture
- Type
FormEventHandler<any>
onSuspend
- Type
ReactEventHandler<any>
onSuspendCapture
- Type
ReactEventHandler<any>
onTimeUpdate
- Type
ReactEventHandler<any>
onTimeUpdateCapture
- Type
ReactEventHandler<any>
onTouchCancel
- Type
TouchEventHandler<any>
onTouchCancelCapture
- Type
TouchEventHandler<any>
onTouchEnd
- Type
TouchEventHandler<any>
onTouchEndCapture
- Type
TouchEventHandler<any>
onTouchMove
- Type
TouchEventHandler<any>
onTouchMoveCapture
- Type
TouchEventHandler<any>
onTouchStart
- Type
TouchEventHandler<any>
onTouchStartCapture
- Type
TouchEventHandler<any>
onTransitionEnd
- Type
TransitionEventHandler<any>
onTransitionEndCapture
- Type
TransitionEventHandler<any>
onVolumeChange
- Type
ReactEventHandler<any>
onVolumeChangeCapture
- Type
ReactEventHandler<any>
onWaiting
- Type
ReactEventHandler<any>
onWaitingCapture
- Type
ReactEventHandler<any>
onWheel
- Type
WheelEventHandler<any>
onWheelCapture
- Type
WheelEventHandler<any>
orientation
Defines the orientation of the composite widget. If the composite has a
single row or column (one-dimensional), the orientation
value determines
which arrow keys can be used to move focus:
undefined
: all arrow keys work.horizontal
: only left and right arrow keys work.vertical
: only up and down arrow keys work.
It doesn't have any effect on two-dimensional composites.
- Type
Orientation
- Default
undefined
placeholder
- Type
string
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
ref
- Type
((instance: any) => void) | RefObject<any>
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
style
- Type
CSSProperties
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
vocab
- Type
string
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
baseId
ID that will serve as a base for all the items IDs.
- Type
string
currentId
The current focused item id
.
undefined
will automatically focus the first enabled composite item.null
will focus the base composite element and users will be able to navigate out of it using arrow keys.- If
currentId
is initially set tonull
, the base composite element itself will have focus and users will be able to navigate to it using arrow keys.
- Type
string
- Default
undefined
orientation
Defines the orientation of the composite widget. If the composite has a
single row or column (one-dimensional), the orientation
value determines
which arrow keys can be used to move focus:
undefined
: all arrow keys work.horizontal
: only left and right arrow keys work.vertical
: only up and down arrow keys work.
It doesn't have any effect on two-dimensional composites.
- Type
Orientation
- Default
undefined
rtl
Determines how next
and previous
functions will behave. If rtl
is
set to true
, they will be inverted. This only affects the composite
widget behavior. You still need to set dir="rtl"
on HTML/CSS.
- Type
boolean
shift
Has effect only on two-dimensional composites. If enabled, moving up or down when there's no next item or the next item is disabled will shift to the item right before it.
- Type
boolean
unstable_includesBaseElement
- Type
boolean
unstable_virtual
If enabled, the composite element will act as an aria-activedescendant container instead of roving tabindex. DOM focus will remain on the composite while its items receive virtual focus.
- Type
boolean
wrap
Has effect only on two-dimensional composites. If enabled, moving to the next item from the last one in a row or column will focus the first item in the next row or column and vice-versa.
true
wraps between rows and columns.horizontal
wraps only between rows.vertical
wraps only between columns.- If
loop
matches the value ofwrap
, it'll wrap between the last item in the last row or column and the first item in the first row or column and vice-versa.
- Type
boolean | Orientation
baseId RequiredRequired
ID that will serve as a base for all the items IDs.
- Type
string
down RequiredRequired
Moves focus to the item below.
- Type
(unstable_allTheWay?: boolean | undefined) => void
first RequiredRequired
Moves focus to the first item.
- Type
() => void
groups RequiredRequired
Lists all the composite groups with their id
and DOM ref
. This state
is automatically updated when registerGroup
and unregisterGroup
are
called.
- Type
Group[]
items RequiredRequired
Lists all the composite items with their id
, DOM ref
, disabled
state
and groupId
if any. This state is automatically updated when
registerItem
and unregisterItem
are called.
- Type
Item[]
last RequiredRequired
Moves focus to the last item.
- Type
() => void
loop RequiredRequired
On one-dimensional composites:
true
loops from the last item to the first item and vice-versa.horizontal
loops only iforientation
ishorizontal
or not set.vertical
loops only iforientation
isvertical
or not set.- If
currentId
is initially set tonull
, the composite element will be focused in between the last and first items.
On two-dimensional composites:
true
loops from the last row/column item to the first item in the same row/column and vice-versa. If it's the last item in the last row, it moves to the first item in the first row and vice-versa.horizontal
loops only from the last row item to the first item in the same row.vertical
loops only from the last column item to the first item in the column row.- If
currentId
is initially set tonull
, vertical loop will have no effect as moving down from the last row or up from the first row will focus the composite element. - If
wrap
matches the value ofloop
, it'll wrap between the last item in the last row or column and the first item in the first row or column and vice-versa.
- Type
boolean | Orientation
move RequiredRequired
Moves focus to a given item ID.
- Type
(id: string | null) => void
next RequiredRequired
Moves focus to the next item.
- Type
(unstable_allTheWay?: boolean | undefined) => void
previous RequiredRequired
Moves focus to the previous item.
- Type
(unstable_allTheWay?: boolean | undefined) => void
registerGroup RequiredRequired
Registers a composite group.
- Type
(group: Group) => void
registerItem RequiredRequired
Registers a composite item.
- Type
(item: Item) => void
reset RequiredRequired
Resets to initial state.
- Type
() => void
rtl RequiredRequired
Determines how next
and previous
functions will behave. If rtl
is
set to true
, they will be inverted. This only affects the composite
widget behavior. You still need to set dir="rtl"
on HTML/CSS.
- Type
boolean
setBaseId RequiredRequired
Sets baseId
.
- Type
Dispatch<SetStateAction<string>>
setCurrentId RequiredRequired
Sets currentId
. This is different from composite.move
as this only
updates the currentId
state without moving focus. When the composite
widget gets focused by the user, the item referred by the currentId
state will get focus.
- Type
Dispatch<SetStateAction<string | null | undefined>>
setLoop RequiredRequired
Sets loop
.
- Type
Dispatch<SetStateAction<boolean | Orientation>>
setOrientation RequiredRequired
Sets orientation
.
- Type
Dispatch<SetStateAction<Orientation | undefined>>
setRTL RequiredRequired
Sets rtl
.
- Type
Dispatch<SetStateAction<boolean>>
setShift RequiredRequired
Sets shift
.
- Type
Dispatch<SetStateAction<boolean>>
setWrap RequiredRequired
Sets wrap
.
- Type
Dispatch<SetStateAction<boolean | Orientation>>
shift RequiredRequired
Has effect only on two-dimensional composites. If enabled, moving up or down when there's no next item or the next item is disabled will shift to the item right before it.
- Type
boolean
sort RequiredRequired
Sorts the composite.items
based on the items position in the DOM. This
is especially useful after modifying the composite items order in the DOM.
Most of the time, though, you don't need to manually call this function as
the re-ordering happens automatically.
- Type
() => void
unregisterGroup RequiredRequired
Unregisters a composite group.
- Type
(id: string) => void
unregisterItem RequiredRequired
Unregisters a composite item.
- Type
(id: string) => void
unstable_hasActiveWidget RequiredRequired
- Type
boolean
unstable_idCountRef RequiredRequired
- Type
MutableRefObject<number>
unstable_includesBaseElement RequiredRequired
- Type
boolean
unstable_moves RequiredRequired
Stores the number of moves that have been performed by calling move
,
next
, previous
, up
, down
, first
or last
.
- Type
number
- Default
0
unstable_setHasActiveWidget RequiredRequired
Sets hasActiveWidget
.
- Type
Dispatch<SetStateAction<boolean>>
unstable_setIncludesBaseElement RequiredRequired
Sets includesBaseElement
.
- Type
Dispatch<SetStateAction<boolean>>
unstable_setVirtual RequiredRequired
Sets virtual
.
- Type
Dispatch<SetStateAction<boolean>>
unstable_virtual RequiredRequired
If enabled, the composite element will act as an aria-activedescendant container instead of roving tabindex. DOM focus will remain on the composite while its items receive virtual focus.
- Type
boolean
up RequiredRequired
Moves focus to the item above.
- Type
(unstable_allTheWay?: boolean | undefined) => void
wrap RequiredRequired
Has effect only on two-dimensional composites. If enabled, moving to the next item from the last one in a row or column will focus the first item in the next row or column and vice-versa.
true
wraps between rows and columns.horizontal
wraps only between rows.vertical
wraps only between columns.- If
loop
matches the value ofwrap
, it'll wrap between the last item in the last row or column and the first item in the first row or column and vice-versa.
- Type
boolean | Orientation
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
currentId
The current focused item id
.
undefined
will automatically focus the first enabled composite item.null
will focus the base composite element and users will be able to navigate out of it using arrow keys.- If
currentId
is initially set tonull
, the base composite element itself will have focus and users will be able to navigate to it using arrow keys.
- Type
string
- Default
undefined
orientation
Defines the orientation of the composite widget. If the composite has a
single row or column (one-dimensional), the orientation
value determines
which arrow keys can be used to move focus:
undefined
: all arrow keys work.horizontal
: only left and right arrow keys work.vertical
: only up and down arrow keys work.
It doesn't have any effect on two-dimensional composites.
- Type
Orientation
- Default
undefined
down RequiredRequired
Moves focus to the item below.
- Type
(unstable_allTheWay?: boolean | undefined) => void
first RequiredRequired
Moves focus to the first item.
- Type
() => void
items RequiredRequired
Lists all the composite items with their id
, DOM ref
, disabled
state
and groupId
if any. This state is automatically updated when
registerItem
and unregisterItem
are called.
- Type
Item[]
last RequiredRequired
Moves focus to the last item.
- Type
() => void
next RequiredRequired
Moves focus to the next item.
- Type
(unstable_allTheWay?: boolean | undefined) => void
previous RequiredRequired
Moves focus to the previous item.
- Type
(unstable_allTheWay?: boolean | undefined) => void
registerItem RequiredRequired
Registers a composite item.
- Type
(item: Item) => void
setCurrentId RequiredRequired
Sets currentId
. This is different from composite.move
as this only
updates the currentId
state without moving focus. When the composite
widget gets focused by the user, the item referred by the currentId
state will get focus.
- Type
Dispatch<SetStateAction<string | null | undefined>>
unregisterItem RequiredRequired
Unregisters a composite item.
- Type
(id: string) => void
up RequiredRequired
Moves focus to the item above.
- Type
(unstable_allTheWay?: boolean | undefined) => void
as
- Type
As<any>
element
Overrides the default element name to apply unique styles with the Customization Provider.
- Type
string
- Default
USER_DIALOG_LIST_ITEM
href
Providing an href will make the list item an <a>
tag
- Type
string
onSelect
Event handler to respond to selection events
- Type
( event: MouseEvent<HTMLButtonElement, MouseEvent> ) => void
selected
Applies the aria-selected attribute for accessibility purposes
- Type
boolean
Inherited props
Paste components will often extend native HTML elements and as a result will inherit or extend their available properties. Below is a list of the props this component has inherited and are also available to use.
about
- Type
string
accessKey
- Type
string
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- Type
string
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- Type
Booleanish
aria-autocomplete
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
- Type
"list" | "none" | "inline" | "both"
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
- Type
Booleanish
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- Type
boolean | "true" | "false" | "mixed"
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
- Type
number
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- Type
number
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
- Type
string
aria-current
Indicates the element that represents the current item within a container or set of related elements.
- Type
| boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date"
aria-describedby
Identifies the element (or elements) that describes the object.
- Type
string
aria-details
Identifies the element that provides a detailed, extended description for the object.
- Type
string
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- Type
Booleanish
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
- Type
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessage
Identifies the element that provides an error message for the object.
- Type
string
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- Type
Booleanish
aria-flowto
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
- Type
string
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
- Type
Booleanish
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- Type
| boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"
aria-hidden
Indicates whether the element is exposed to an accessibility API.
- Type
Booleanish
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
- Type
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- Type
string
aria-label
Defines a string value that labels the current element.
- Type
string
aria-labelledby
Identifies the element (or elements) that labels the current element.
- Type
string
aria-level
Defines the hierarchical level of an element within a structure.
- Type
number
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- Type
"off" | "assertive" | "polite"
aria-modal
Indicates whether an element is modal when displayed.
- Type
Booleanish
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
- Type
Booleanish
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
- Type
Booleanish
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- Type
"horizontal" | "vertical"
aria-owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- Type
string
aria-placeholder
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
- Type
string
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-pressed
Indicates the current "pressed" state of toggle buttons.
- Type
boolean | "true" | "false" | "mixed"
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
- Type
Booleanish
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- Type
| "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
aria-required
Indicates that user input is required on the element before a form may be submitted.
- Type
Booleanish
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
- Type
string
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
- Type
number
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- Type
number
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- Type
number
aria-selected
Indicates the current "selected" state of various widgets.
- Type
Booleanish
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- Type
number
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
- Type
"none" | "ascending" | "descending" | "other"
aria-valuemax
Defines the maximum allowed value for a range widget.
- Type
number
aria-valuemin
Defines the minimum allowed value for a range widget.
- Type
number
aria-valuenow
Defines the current value for a range widget.
- Type
number
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
- Type
string
autoCapitalize
- Type
string
autoCorrect
- Type
string
autoSave
- Type
string
baseId
ID that will serve as a base for all the items IDs.
- Type
string
className
- Type
string
color
- Type
string
contentEditable
- Type
Booleanish | "inherit"
contextMenu
- Type
string
currentId
The current focused item id
.
undefined
will automatically focus the first enabled composite item.null
will focus the base composite element and users will be able to navigate out of it using arrow keys.- If
currentId
is initially set tonull
, the base composite element itself will have focus and users will be able to navigate to it using arrow keys.
- Type
string
- Default
undefined
dangerouslySetInnerHTML
- Type
{ __html: string }
datatype
- Type
string
defaultChecked
- Type
boolean
defaultValue
- Type
string | number | readonly string[]
dir
- Type
string
disabled
Same as the HTML attribute.
- Type
boolean
draggable
- Type
Booleanish
focusable
When an element is disabled
, it may still be focusable
. It works
similarly to readOnly
on form elements. In this case, only
aria-disabled
will be set.
- Type
boolean
hidden
- Type
boolean
id
Same as the HTML attribute.
- Type
string
inlist
- Type
any
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
- Type
| "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"
is
Specify that a standard HTML element should behave like a defined custom built-in element
- Type
string
itemID
- Type
string
itemProp
- Type
string
itemRef
- Type
string
itemScope
- Type
boolean
itemType
- Type
string
key
- Type
Key
lang
- Type
string
nonce
- Type
string
onAbort
- Type
ReactEventHandler<any>
onAbortCapture
- Type
ReactEventHandler<any>
onAnimationEnd
- Type
AnimationEventHandler<any>
onAnimationEndCapture
- Type
AnimationEventHandler<any>
onAnimationIteration
- Type
AnimationEventHandler<any>
onAnimationIterationCapture
- Type
AnimationEventHandler<any>
onAnimationStart
- Type
AnimationEventHandler<any>
onAnimationStartCapture
- Type
AnimationEventHandler<any>
onAuxClick
- Type
MouseEventHandler<any>
onAuxClickCapture
- Type
MouseEventHandler<any>
onBeforeInput
- Type
FormEventHandler<any>
onBeforeInputCapture
- Type
FormEventHandler<any>
onBlur
- Type
FocusEventHandler<any>
onBlurCapture
- Type
FocusEventHandler<any>
onCanPlay
- Type
ReactEventHandler<any>
onCanPlayCapture
- Type
ReactEventHandler<any>
onCanPlayThrough
- Type
ReactEventHandler<any>
onCanPlayThroughCapture
- Type
ReactEventHandler<any>
onChange
- Type
FormEventHandler<any>
onChangeCapture
- Type
FormEventHandler<any>
onClick
- Type
MouseEventHandler<any>
onClickCapture
- Type
MouseEventHandler<any>
onCompositionEnd
- Type
CompositionEventHandler<any>
onCompositionEndCapture
- Type
CompositionEventHandler<any>
onCompositionStart
- Type
CompositionEventHandler<any>
onCompositionStartCapture
- Type
CompositionEventHandler<any>
onCompositionUpdate
- Type
CompositionEventHandler<any>
onCompositionUpdateCapture
- Type
CompositionEventHandler<any>
onContextMenu
- Type
MouseEventHandler<any>
onContextMenuCapture
- Type
MouseEventHandler<any>
onCopy
- Type
ClipboardEventHandler<any>
onCopyCapture
- Type
ClipboardEventHandler<any>
onCut
- Type
ClipboardEventHandler<any>
onCutCapture
- Type
ClipboardEventHandler<any>
onDoubleClick
- Type
MouseEventHandler<any>
onDoubleClickCapture
- Type
MouseEventHandler<any>
onDrag
- Type
DragEventHandler<any>
onDragCapture
- Type
DragEventHandler<any>
onDragEnd
- Type
DragEventHandler<any>
onDragEndCapture
- Type
DragEventHandler<any>
onDragEnter
- Type
DragEventHandler<any>
onDragEnterCapture
- Type
DragEventHandler<any>
onDragExit
- Type
DragEventHandler<any>
onDragExitCapture
- Type
DragEventHandler<any>
onDragLeave
- Type
DragEventHandler<any>
onDragLeaveCapture
- Type
DragEventHandler<any>
onDragOver
- Type
DragEventHandler<any>
onDragOverCapture
- Type
DragEventHandler<any>
onDragStart
- Type
DragEventHandler<any>
onDragStartCapture
- Type
DragEventHandler<any>
onDrop
- Type
DragEventHandler<any>
onDropCapture
- Type
DragEventHandler<any>
onDurationChange
- Type
ReactEventHandler<any>
onDurationChangeCapture
- Type
ReactEventHandler<any>
onEmptied
- Type
ReactEventHandler<any>
onEmptiedCapture
- Type
ReactEventHandler<any>
onEncrypted
- Type
ReactEventHandler<any>
onEncryptedCapture
- Type
ReactEventHandler<any>
onEnded
- Type
ReactEventHandler<any>
onEndedCapture
- Type
ReactEventHandler<any>
onError
- Type
ReactEventHandler<any>
onErrorCapture
- Type
ReactEventHandler<any>
onFocus
- Type
FocusEventHandler<any>
onFocusCapture
- Type
FocusEventHandler<any>
onGotPointerCapture
- Type
PointerEventHandler<any>
onGotPointerCaptureCapture
- Type
PointerEventHandler<any>
onInput
- Type
FormEventHandler<any>
onInputCapture
- Type
FormEventHandler<any>
onInvalid
- Type
FormEventHandler<any>
onInvalidCapture
- Type
FormEventHandler<any>
onKeyDown
- Type
KeyboardEventHandler<any>
onKeyDownCapture
- Type
KeyboardEventHandler<any>
onKeyPress
- Type
KeyboardEventHandler<any>
onKeyPressCapture
- Type
KeyboardEventHandler<any>
onKeyUp
- Type
KeyboardEventHandler<any>
onKeyUpCapture
- Type
KeyboardEventHandler<any>
onLoad
- Type
ReactEventHandler<any>
onLoadCapture
- Type
ReactEventHandler<any>
onLoadedData
- Type
ReactEventHandler<any>
onLoadedDataCapture
- Type
ReactEventHandler<any>
onLoadedMetadata
- Type
ReactEventHandler<any>
onLoadedMetadataCapture
- Type
ReactEventHandler<any>
onLoadStart
- Type
ReactEventHandler<any>
onLoadStartCapture
- Type
ReactEventHandler<any>
onLostPointerCapture
- Type
PointerEventHandler<any>
onLostPointerCaptureCapture
- Type
PointerEventHandler<any>
onMouseDown
- Type
MouseEventHandler<any>
onMouseDownCapture
- Type
MouseEventHandler<any>
onMouseEnter
- Type
MouseEventHandler<any>
onMouseLeave
- Type
MouseEventHandler<any>
onMouseMove
- Type
MouseEventHandler<any>
onMouseMoveCapture
- Type
MouseEventHandler<any>
onMouseOut
- Type
MouseEventHandler<any>
onMouseOutCapture
- Type
MouseEventHandler<any>
onMouseOver
- Type
MouseEventHandler<any>
onMouseOverCapture
- Type
MouseEventHandler<any>
onMouseUp
- Type
MouseEventHandler<any>
onMouseUpCapture
- Type
MouseEventHandler<any>
onPaste
- Type
ClipboardEventHandler<any>
onPasteCapture
- Type
ClipboardEventHandler<any>
onPause
- Type
ReactEventHandler<any>
onPauseCapture
- Type
ReactEventHandler<any>
onPlay
- Type
ReactEventHandler<any>
onPlayCapture
- Type
ReactEventHandler<any>
onPlaying
- Type
ReactEventHandler<any>
onPlayingCapture
- Type
ReactEventHandler<any>
onPointerCancel
- Type
PointerEventHandler<any>
onPointerCancelCapture
- Type
PointerEventHandler<any>
onPointerDown
- Type
PointerEventHandler<any>
onPointerDownCapture
- Type
PointerEventHandler<any>
onPointerEnter
- Type
PointerEventHandler<any>
onPointerEnterCapture
- Type
PointerEventHandler<any>
onPointerLeave
- Type
PointerEventHandler<any>
onPointerLeaveCapture
- Type
PointerEventHandler<any>
onPointerMove
- Type
PointerEventHandler<any>
onPointerMoveCapture
- Type
PointerEventHandler<any>
onPointerOut
- Type
PointerEventHandler<any>
onPointerOutCapture
- Type
PointerEventHandler<any>
onPointerOver
- Type
PointerEventHandler<any>
onPointerOverCapture
- Type
PointerEventHandler<any>
onPointerUp
- Type
PointerEventHandler<any>
onPointerUpCapture
- Type
PointerEventHandler<any>
onProgress
- Type
ReactEventHandler<any>
onProgressCapture
- Type
ReactEventHandler<any>
onRateChange
- Type
ReactEventHandler<any>
onRateChangeCapture
- Type
ReactEventHandler<any>
onReset
- Type
FormEventHandler<any>
onResetCapture
- Type
FormEventHandler<any>
onResize
- Type
ReactEventHandler<any>
onResizeCapture
- Type
ReactEventHandler<any>
onScroll
- Type
UIEventHandler<any>
onScrollCapture
- Type
UIEventHandler<any>
onSeeked
- Type
ReactEventHandler<any>
onSeekedCapture
- Type
ReactEventHandler<any>
onSeeking
- Type
ReactEventHandler<any>
onSeekingCapture
- Type
ReactEventHandler<any>
onSelectCapture
- Type
ReactEventHandler<any>
onStalled
- Type
ReactEventHandler<any>
onStalledCapture
- Type
ReactEventHandler<any>
onSubmit
- Type
FormEventHandler<any>
onSubmitCapture
- Type
FormEventHandler<any>
onSuspend
- Type
ReactEventHandler<any>
onSuspendCapture
- Type
ReactEventHandler<any>
onTimeUpdate
- Type
ReactEventHandler<any>
onTimeUpdateCapture
- Type
ReactEventHandler<any>
onTouchCancel
- Type
TouchEventHandler<any>
onTouchCancelCapture
- Type
TouchEventHandler<any>
onTouchEnd
- Type
TouchEventHandler<any>
onTouchEndCapture
- Type
TouchEventHandler<any>
onTouchMove
- Type
TouchEventHandler<any>
onTouchMoveCapture
- Type
TouchEventHandler<any>
onTouchStart
- Type
TouchEventHandler<any>
onTouchStartCapture
- Type
TouchEventHandler<any>
onTransitionEnd
- Type
TransitionEventHandler<any>
onTransitionEndCapture
- Type
TransitionEventHandler<any>
onVolumeChange
- Type
ReactEventHandler<any>
onVolumeChangeCapture
- Type
ReactEventHandler<any>
onWaiting
- Type
ReactEventHandler<any>
onWaitingCapture
- Type
ReactEventHandler<any>
onWheel
- Type
WheelEventHandler<any>
onWheelCapture
- Type
WheelEventHandler<any>
orientation
Defines the orientation of the composite widget. If the composite has a
single row or column (one-dimensional), the orientation
value determines
which arrow keys can be used to move focus:
undefined
: all arrow keys work.horizontal
: only left and right arrow keys work.vertical
: only up and down arrow keys work.
It doesn't have any effect on two-dimensional composites.
- Type
Orientation
- Default
undefined
placeholder
- Type
string
prefix
- Type
string
property
- Type
string
radioGroup
- Type
string
ref
- Type
((instance: any) => void) | RefObject<any>
resource
- Type
string
results
- Type
number
role
- Type
AriaRole
security
- Type
string
slot
- Type
string
spellCheck
- Type
Booleanish
style
- Type
CSSProperties
suppressContentEditableWarning
- Type
boolean
suppressHydrationWarning
- Type
boolean
tabIndex
- Type
number
title
- Type
string
translate
- Type
"yes" | "no"
typeof
- Type
string
unselectable
- Type
"on" | "off"
unstable_clickOnEnter
Whether or not trigger click on pressing Enter.
- Type
boolean
unstable_clickOnSpace
Whether or not trigger click on pressing Space.
- Type
boolean
unstable_hasActiveWidget
- Type
boolean
unstable_idCountRef
- Type
MutableRefObject<number>
vocab
- Type
string