• Public
  • Public/Protected
  • All

Interface HrElementStyleProps<V>

Type parameters





Optional about

about: string

Optional accessKey

accessKey: string

Optional aria-activedescendant

aria-activedescendant: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

Optional aria-atomic

aria-atomic: boolean | "true" | "false"

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.

Optional aria-autocomplete

aria-autocomplete: "none" | "list" | "inline" | "both"

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.

Optional aria-busy

aria-busy: boolean | "true" | "false"

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.

Optional aria-checked

aria-checked: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.


aria-pressed @see aria-selected.

Optional aria-colcount

aria-colcount: number

Defines the total number of columns in a table, grid, or treegrid.



Optional aria-colindex

aria-colindex: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.


aria-colcount @see aria-colspan.

Optional aria-colspan

aria-colspan: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.


aria-colindex @see aria-rowspan.

Optional aria-controls

aria-controls: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.



Optional aria-current

aria-current: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date"

Indicates the element that represents the current item within a container or set of related elements.

Optional aria-describedby

aria-describedby: string

Identifies the element (or elements) that describes the object.



Optional aria-details

aria-details: string

Identifies the element that provides a detailed, extended description for the object.



Optional aria-disabled

aria-disabled: boolean | "true" | "false"

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.


aria-hidden @see aria-readonly.

Optional aria-dropeffect

aria-dropeffect: "link" | "none" | "copy" | "execute" | "move" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.


in ARIA 1.1

Optional aria-errormessage

aria-errormessage: string

Identifies the element that provides an error message for the object.


aria-invalid @see aria-describedby.

Optional aria-expanded

aria-expanded: boolean | "true" | "false"

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

Optional aria-flowto

aria-flowto: string

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.

Optional aria-grabbed

aria-grabbed: boolean | "true" | "false"

Indicates an element's "grabbed" state in a drag-and-drop operation.


in ARIA 1.1

Optional aria-haspopup

aria-haspopup: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

Optional aria-hidden

aria-hidden: boolean | "true" | "false"

Indicates whether the element is exposed to an accessibility API.



Optional aria-invalid

aria-invalid: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.



Optional aria-keyshortcuts

aria-keyshortcuts: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

Optional aria-label

aria-label: string

Defines a string value that labels the current element.



Optional aria-labelledby

aria-labelledby: string

Identifies the element (or elements) that labels the current element.



Optional aria-level

aria-level: number

Defines the hierarchical level of an element within a structure.

Optional aria-live

aria-live: "off" | "assertive" | "polite"

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.

Optional aria-modal

aria-modal: boolean | "true" | "false"

Indicates whether an element is modal when displayed.

Optional aria-multiline

aria-multiline: boolean | "true" | "false"

Indicates whether a text box accepts multiple lines of input or only a single line.

Optional aria-multiselectable

aria-multiselectable: boolean | "true" | "false"

Indicates that the user may select more than one item from the current selectable descendants.

Optional aria-orientation

aria-orientation: "horizontal" | "vertical"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

Optional aria-owns

aria-owns: string

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.



Optional aria-placeholder

aria-placeholder: string

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.

Optional aria-posinset

aria-posinset: number

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.



Optional aria-pressed

aria-pressed: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.


aria-checked @see aria-selected.

Optional aria-readonly

aria-readonly: boolean | "true" | "false"

Indicates that the element is not editable, but is otherwise operable.



Optional aria-relevant

aria-relevant: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.



Optional aria-required

aria-required: boolean | "true" | "false"

Indicates that user input is required on the element before a form may be submitted.

Optional aria-roledescription

aria-roledescription: string

Defines a human-readable, author-localized description for the role of an element.

Optional aria-rowcount

aria-rowcount: number

Defines the total number of rows in a table, grid, or treegrid.



Optional aria-rowindex

aria-rowindex: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.


aria-rowcount @see aria-rowspan.

Optional aria-rowspan

aria-rowspan: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.


aria-rowindex @see aria-colspan.

Optional aria-selected

aria-selected: boolean | "true" | "false"

Indicates the current "selected" state of various widgets.


aria-checked @see aria-pressed.

Optional aria-setsize

aria-setsize: number

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.



Optional aria-sort

aria-sort: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

Optional aria-valuemax

aria-valuemax: number

Defines the maximum allowed value for a range widget.

Optional aria-valuemin

aria-valuemin: number

Defines the minimum allowed value for a range widget.

Optional aria-valuenow

aria-valuenow: number

Defines the current value for a range widget.



Optional aria-valuetext

aria-valuetext: string

Defines the human readable text alternative of aria-valuenow for a range widget.

Optional as

as: string | Element


attributes: { data-slate-inline?: true; data-slate-node: "element"; data-slate-void?: true; dir?: "rtl"; ref: any }

Type declaration

  • Optional data-slate-inline?: true
  • data-slate-node: "element"
  • Optional data-slate-void?: true
  • Optional dir?: "rtl"
  • ref: any

Optional autoCapitalize

autoCapitalize: string

Optional autoCorrect

autoCorrect: string

Optional autoSave

autoSave: string


children: any

Optional className

className: string

Optional classNames

classNames: RootClassName & Record<"hr", string>

Class names for the root component and the subcomponents.

Optional color

color: string

Optional contentEditable

contentEditable: "inherit" | Booleanish

Optional contextMenu

contextMenu: string

Optional css

css: CSSProp<any>

Optional dangerouslySetInnerHTML

dangerouslySetInnerHTML: { __html: string }

Type declaration

  • __html: string

Optional datatype

datatype: string

Optional defaultChecked

defaultChecked: boolean

Optional defaultValue

defaultValue: string | number | readonly string[]

Optional dir

dir: string

Optional draggable

draggable: Booleanish


editor: PlateEditor<V>


element: TElement

Optional focused

focused: boolean

Optional hidden

hidden: boolean

Optional id

id: string

Optional inlist

inlist: any

Optional inputMode

inputMode: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents



Optional is

is: string

Specify that a standard HTML element should behave like a defined custom built-in element



Optional itemID

itemID: string

Optional itemProp

itemProp: string

Optional itemRef

itemRef: string

Optional itemScope

itemScope: boolean

Optional itemType

itemType: string

Optional lang

lang: string

Optional nodeProps

nodeProps: AnyObject

{@link NodeProps}

Optional onAbort

onAbort: ReactEventHandler<HTMLElement>

Optional onAbortCapture

onAbortCapture: ReactEventHandler<HTMLElement>

Optional onAnimationEnd

onAnimationEnd: AnimationEventHandler<HTMLElement>

Optional onAnimationEndCapture

onAnimationEndCapture: AnimationEventHandler<HTMLElement>

Optional onAnimationIteration

onAnimationIteration: AnimationEventHandler<HTMLElement>

Optional onAnimationIterationCapture

onAnimationIterationCapture: AnimationEventHandler<HTMLElement>

Optional onAnimationStart

onAnimationStart: AnimationEventHandler<HTMLElement>

Optional onAnimationStartCapture

onAnimationStartCapture: AnimationEventHandler<HTMLElement>

Optional onAuxClick

onAuxClick: MouseEventHandler<HTMLElement>

Optional onAuxClickCapture

onAuxClickCapture: MouseEventHandler<HTMLElement>

Optional onBeforeInput

onBeforeInput: FormEventHandler<HTMLElement>

Optional onBeforeInputCapture

onBeforeInputCapture: FormEventHandler<HTMLElement>

Optional onBlur

onBlur: FocusEventHandler<HTMLElement>

Optional onBlurCapture

onBlurCapture: FocusEventHandler<HTMLElement>

Optional onCanPlay

onCanPlay: ReactEventHandler<HTMLElement>

Optional onCanPlayCapture

onCanPlayCapture: ReactEventHandler<HTMLElement>

Optional onCanPlayThrough

onCanPlayThrough: ReactEventHandler<HTMLElement>

Optional onCanPlayThroughCapture

onCanPlayThroughCapture: ReactEventHandler<HTMLElement>

Optional onChange

onChange: FormEventHandler<HTMLElement>

Optional onChangeCapture

onChangeCapture: FormEventHandler<HTMLElement>

Optional onClick

onClick: MouseEventHandler<HTMLElement>

Optional onClickCapture

onClickCapture: MouseEventHandler<HTMLElement>

Optional onCompositionEnd

onCompositionEnd: CompositionEventHandler<HTMLElement>

Optional onCompositionEndCapture

onCompositionEndCapture: CompositionEventHandler<HTMLElement>

Optional onCompositionStart

onCompositionStart: CompositionEventHandler<HTMLElement>

Optional onCompositionStartCapture

onCompositionStartCapture: CompositionEventHandler<HTMLElement>

Optional onCompositionUpdate

onCompositionUpdate: CompositionEventHandler<HTMLElement>

Optional onCompositionUpdateCapture

onCompositionUpdateCapture: CompositionEventHandler<HTMLElement>

Optional onContextMenu

onContextMenu: MouseEventHandler<HTMLElement>

Optional onContextMenuCapture

onContextMenuCapture: MouseEventHandler<HTMLElement>

Optional onCopy

onCopy: ClipboardEventHandler<HTMLElement>

Optional onCopyCapture

onCopyCapture: ClipboardEventHandler<HTMLElement>

Optional onCut

onCut: ClipboardEventHandler<HTMLElement>

Optional onCutCapture

onCutCapture: ClipboardEventHandler<HTMLElement>

Optional onDoubleClick

onDoubleClick: MouseEventHandler<HTMLElement>

Optional onDoubleClickCapture

onDoubleClickCapture: MouseEventHandler<HTMLElement>

Optional onDrag

onDrag: DragEventHandler<HTMLElement>

Optional onDragCapture

onDragCapture: DragEventHandler<HTMLElement>

Optional onDragEnd

onDragEnd: DragEventHandler<HTMLElement>

Optional onDragEndCapture

onDragEndCapture: DragEventHandler<HTMLElement>

Optional onDragEnter

onDragEnter: DragEventHandler<HTMLElement>

Optional onDragEnterCapture

onDragEnterCapture: DragEventHandler<HTMLElement>

Optional onDragExit

onDragExit: DragEventHandler<HTMLElement>

Optional onDragExitCapture

onDragExitCapture: DragEventHandler<HTMLElement>

Optional onDragLeave

onDragLeave: DragEventHandler<HTMLElement>

Optional onDragLeaveCapture

onDragLeaveCapture: DragEventHandler<HTMLElement>

Optional onDragOver

onDragOver: DragEventHandler<HTMLElement>

Optional onDragOverCapture

onDragOverCapture: DragEventHandler<HTMLElement>

Optional onDragStart

onDragStart: DragEventHandler<HTMLElement>

Optional onDragStartCapture

onDragStartCapture: DragEventHandler<HTMLElement>

Optional onDrop

onDrop: DragEventHandler<HTMLElement>

Optional onDropCapture

onDropCapture: DragEventHandler<HTMLElement>

Optional onDurationChange

onDurationChange: ReactEventHandler<HTMLElement>

Optional onDurationChangeCapture

onDurationChangeCapture: ReactEventHandler<HTMLElement>

Optional onEmptied

onEmptied: ReactEventHandler<HTMLElement>

Optional onEmptiedCapture

onEmptiedCapture: ReactEventHandler<HTMLElement>

Optional onEncrypted

onEncrypted: ReactEventHandler<HTMLElement>

Optional onEncryptedCapture

onEncryptedCapture: ReactEventHandler<HTMLElement>

Optional onEnded

onEnded: ReactEventHandler<HTMLElement>

Optional onEndedCapture

onEndedCapture: ReactEventHandler<HTMLElement>

Optional onError

onError: ReactEventHandler<HTMLElement>

Optional onErrorCapture

onErrorCapture: ReactEventHandler<HTMLElement>

Optional onFocus

onFocus: FocusEventHandler<HTMLElement>

Optional onFocusCapture

onFocusCapture: FocusEventHandler<HTMLElement>

Optional onGotPointerCapture

onGotPointerCapture: PointerEventHandler<HTMLElement>

Optional onGotPointerCaptureCapture

onGotPointerCaptureCapture: PointerEventHandler<HTMLElement>

Optional onInput

onInput: FormEventHandler<HTMLElement>

Optional onInputCapture

onInputCapture: FormEventHandler<HTMLElement>

Optional onInvalid

onInvalid: FormEventHandler<HTMLElement>

Optional onInvalidCapture

onInvalidCapture: FormEventHandler<HTMLElement>

Optional onKeyDown

onKeyDown: KeyboardEventHandler<HTMLElement>

Optional onKeyDownCapture

onKeyDownCapture: KeyboardEventHandler<HTMLElement>

Optional onKeyPress

onKeyPress: KeyboardEventHandler<HTMLElement>

Optional onKeyPressCapture

onKeyPressCapture: KeyboardEventHandler<HTMLElement>

Optional onKeyUp

onKeyUp: KeyboardEventHandler<HTMLElement>

Optional onKeyUpCapture

onKeyUpCapture: KeyboardEventHandler<HTMLElement>

Optional onLoad

onLoad: ReactEventHandler<HTMLElement>

Optional onLoadCapture

onLoadCapture: ReactEventHandler<HTMLElement>

Optional onLoadStart

onLoadStart: ReactEventHandler<HTMLElement>

Optional onLoadStartCapture

onLoadStartCapture: ReactEventHandler<HTMLElement>

Optional onLoadedData

onLoadedData: ReactEventHandler<HTMLElement>

Optional onLoadedDataCapture

onLoadedDataCapture: ReactEventHandler<HTMLElement>

Optional onLoadedMetadata

onLoadedMetadata: ReactEventHandler<HTMLElement>

Optional onLoadedMetadataCapture

onLoadedMetadataCapture: ReactEventHandler<HTMLElement>

Optional onLostPointerCapture

onLostPointerCapture: PointerEventHandler<HTMLElement>

Optional onLostPointerCaptureCapture

onLostPointerCaptureCapture: PointerEventHandler<HTMLElement>

Optional onMouseDown

onMouseDown: MouseEventHandler<HTMLElement>

Optional onMouseDownCapture

onMouseDownCapture: MouseEventHandler<HTMLElement>

Optional onMouseEnter

onMouseEnter: MouseEventHandler<HTMLElement>

Optional onMouseLeave

onMouseLeave: MouseEventHandler<HTMLElement>

Optional onMouseMove

onMouseMove: MouseEventHandler<HTMLElement>

Optional onMouseMoveCapture

onMouseMoveCapture: MouseEventHandler<HTMLElement>

Optional onMouseOut

onMouseOut: MouseEventHandler<HTMLElement>

Optional onMouseOutCapture

onMouseOutCapture: MouseEventHandler<HTMLElement>

Optional onMouseOver

onMouseOver: MouseEventHandler<HTMLElement>

Optional onMouseOverCapture

onMouseOverCapture: MouseEventHandler<HTMLElement>

Optional onMouseUp

onMouseUp: MouseEventHandler<HTMLElement>

Optional onMouseUpCapture

onMouseUpCapture: MouseEventHandler<HTMLElement>

Optional onPaste

onPaste: ClipboardEventHandler<HTMLElement>

Optional onPasteCapture

onPasteCapture: ClipboardEventHandler<HTMLElement>

Optional onPause

onPause: ReactEventHandler<HTMLElement>

Optional onPauseCapture

onPauseCapture: ReactEventHandler<HTMLElement>

Optional onPlay

onPlay: ReactEventHandler<HTMLElement>

Optional onPlayCapture

onPlayCapture: ReactEventHandler<HTMLElement>

Optional onPlaying

onPlaying: ReactEventHandler<HTMLElement>

Optional onPlayingCapture

onPlayingCapture: ReactEventHandler<HTMLElement>

Optional onPointerCancel

onPointerCancel: PointerEventHandler<HTMLElement>

Optional onPointerCancelCapture

onPointerCancelCapture: PointerEventHandler<HTMLElement>

Optional onPointerDown

onPointerDown: PointerEventHandler<HTMLElement>

Optional onPointerDownCapture

onPointerDownCapture: PointerEventHandler<HTMLElement>

Optional onPointerEnter

onPointerEnter: PointerEventHandler<HTMLElement>

Optional onPointerEnterCapture

onPointerEnterCapture: PointerEventHandler<HTMLElement>

Optional onPointerLeave

onPointerLeave: PointerEventHandler<HTMLElement>

Optional onPointerLeaveCapture

onPointerLeaveCapture: PointerEventHandler<HTMLElement>

Optional onPointerMove

onPointerMove: PointerEventHandler<HTMLElement>

Optional onPointerMoveCapture

onPointerMoveCapture: PointerEventHandler<HTMLElement>

Optional onPointerOut

onPointerOut: PointerEventHandler<HTMLElement>

Optional onPointerOutCapture

onPointerOutCapture: PointerEventHandler<HTMLElement>

Optional onPointerOver

onPointerOver: PointerEventHandler<HTMLElement>

Optional onPointerOverCapture

onPointerOverCapture: PointerEventHandler<HTMLElement>

Optional onPointerUp

onPointerUp: PointerEventHandler<HTMLElement>

Optional onPointerUpCapture

onPointerUpCapture: PointerEventHandler<HTMLElement>

Optional onProgress

onProgress: ReactEventHandler<HTMLElement>

Optional onProgressCapture

onProgressCapture: ReactEventHandler<HTMLElement>

Optional onRateChange

onRateChange: ReactEventHandler<HTMLElement>

Optional onRateChangeCapture

onRateChangeCapture: ReactEventHandler<HTMLElement>

Optional onReset

onReset: FormEventHandler<HTMLElement>

Optional onResetCapture

onResetCapture: FormEventHandler<HTMLElement>

Optional onScroll

onScroll: UIEventHandler<HTMLElement>

Optional onScrollCapture

onScrollCapture: UIEventHandler<HTMLElement>

Optional onSeeked

onSeeked: ReactEventHandler<HTMLElement>

Optional onSeekedCapture

onSeekedCapture: ReactEventHandler<HTMLElement>

Optional onSeeking

onSeeking: ReactEventHandler<HTMLElement>

Optional onSeekingCapture

onSeekingCapture: ReactEventHandler<HTMLElement>

Optional onSelect

onSelect: ReactEventHandler<HTMLElement>

Optional onSelectCapture

onSelectCapture: ReactEventHandler<HTMLElement>

Optional onStalled

onStalled: ReactEventHandler<HTMLElement>

Optional onStalledCapture

onStalledCapture: ReactEventHandler<HTMLElement>

Optional onSubmit

onSubmit: FormEventHandler<HTMLElement>

Optional onSubmitCapture

onSubmitCapture: FormEventHandler<HTMLElement>

Optional onSuspend

onSuspend: ReactEventHandler<HTMLElement>

Optional onSuspendCapture

onSuspendCapture: ReactEventHandler<HTMLElement>

Optional onTimeUpdate

onTimeUpdate: ReactEventHandler<HTMLElement>

Optional onTimeUpdateCapture

onTimeUpdateCapture: ReactEventHandler<HTMLElement>

Optional onTouchCancel

onTouchCancel: TouchEventHandler<HTMLElement>

Optional onTouchCancelCapture

onTouchCancelCapture: TouchEventHandler<HTMLElement>

Optional onTouchEnd

onTouchEnd: TouchEventHandler<HTMLElement>

Optional onTouchEndCapture

onTouchEndCapture: TouchEventHandler<HTMLElement>

Optional onTouchMove

onTouchMove: TouchEventHandler<HTMLElement>

Optional onTouchMoveCapture

onTouchMoveCapture: TouchEventHandler<HTMLElement>

Optional onTouchStart

onTouchStart: TouchEventHandler<HTMLElement>

Optional onTouchStartCapture

onTouchStartCapture: TouchEventHandler<HTMLElement>

Optional onTransitionEnd

onTransitionEnd: TransitionEventHandler<HTMLElement>

Optional onTransitionEndCapture

onTransitionEndCapture: TransitionEventHandler<HTMLElement>

Optional onVolumeChange

onVolumeChange: ReactEventHandler<HTMLElement>

Optional onVolumeChangeCapture

onVolumeChangeCapture: ReactEventHandler<HTMLElement>

Optional onWaiting

onWaiting: ReactEventHandler<HTMLElement>

Optional onWaitingCapture

onWaitingCapture: ReactEventHandler<HTMLElement>

Optional onWheel

onWheel: WheelEventHandler<HTMLElement>

Optional onWheelCapture

onWheelCapture: WheelEventHandler<HTMLElement>

Optional placeholder

placeholder: string

Optional prefix

prefix: string

Optional prefixClassNames

prefixClassNames: string

Optional property

property: string

Optional radioGroup

radioGroup: string

Optional resource

resource: string

Optional results

results: number

Optional role

role: string

Optional security

security: string

Optional selected

selected: boolean

Optional slot

slot: string

Optional spellCheck

spellCheck: Booleanish

Optional style

style: CSSProperties

Optional styles

styles: Partial<RootStyles> & Partial<HrElementStyles>

Customized styling that will layer on top of the default rules.

Optional suppressContentEditableWarning

suppressContentEditableWarning: boolean

Optional suppressHydrationWarning

suppressHydrationWarning: boolean

Optional tabIndex

tabIndex: number

Optional title

title: string

Optional translate

translate: "no" | "yes"

Optional tw

tw: string

Optional typeof

typeof: string

Optional unselectable

unselectable: "on" | "off"

Optional vocab

vocab: string

Generated using TypeDoc