Overlays

Preview card.

A supplementary preview of a linked person, document or destination.

Install the source

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/preview-card.json

Registry setup · Examples · API and behavior · Open the playground

COMPLETE EXAMPLES

Use it in context.

Each example includes its imports, data and state. The preview runs that same source. Include the stylesheet once in your application.

Person information beside a real link

Preview a project owner before following their link. The complete information remains in the destination section for touch, keyboard and assistive technology users.

Keyboard

  • Tab focuses the person link; Enter follows its real destination.
  • Base UI may show a visual preview on keyboard focus after the same delay.
  • Escape dismisses a shown preview. Its supplementary content is outside the tab and screen reader order.

States covered

  • Hover and focus timing
  • Real destination
  • Supplementary person metadata
  • No popup actions

Install this complete example and its component dependencies.

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/example-preview-person.json
Complete source
React / TypeScript
/*!
MIT License

Copyright (c) 2026 Jaison

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
'use client';
import '@bld8/ui/styles.css';
import { PreviewCard, PreviewCardTrigger, PreviewCardPopup } from '@bld8/ui/preview-card';

export function PersonPreviewExample() {
  return <div style={{ width: '100%', display: 'grid', gap: 28 }}>
    <PreviewCard>
      <p style={{ margin: 0 }}>Project owner: <PreviewCardTrigger href="#preview-person-details" delay={350} closeDelay={200}>Maya Chen</PreviewCardTrigger></p>
      <PreviewCardPopup className="person-preview">
        <div className="bui-preview-heading"><span className="bui-preview-avatar">MC</span><div><p className="bui-preview-title">Maya Chen</p><p className="bui-preview-meta">Design systems · Sydney</p></div></div>
        <p className="bui-preview-description">Maintains the shared component library and reviews interaction changes.</p>
        <div className="bui-preview-facts"><span>Owner of Atlas</span><span>UTC+11</span></div>
      </PreviewCardPopup>
    </PreviewCard>
    <section id="preview-person-details" style={{ paddingTop: 16, borderTop: '1px solid var(--bui-line)' }}><strong>Maya Chen</strong><p className="bui-hint">Design systems, Sydney (UTC+11). Maintains the shared component library, reviews interaction changes and owns the Atlas project.</p></section>
    <p className="bui-hint">Sample person data. Follow the link to read the same information; use a Popover when the popup needs actions.</p>
  </div>;
}

One preview shared by linked records

Detached triggers pass typed project data to a shared popup. Moving between links updates the content and viewport without mounting separate cards.

Keyboard

  • Each project is an ordinary link in document order.
  • Enter follows the focused project destination; Escape dismisses the visual preview.
  • No project action is available only in the preview.

States covered

  • Typed trigger payloads
  • Detached multiple triggers
  • Shared content transition
  • Different content heights
  • Complete destination content

Install this complete example and its component dependencies.

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/example-preview-linked-records.json
Complete source
React / TypeScript
/*!
MIT License

Copyright (c) 2026 Jaison

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
'use client';
import '@bld8/ui/styles.css';
import { useState } from 'react';
import { Layers } from 'lucide-react';
import { PreviewCard, PreviewCardTrigger, PreviewCardPopup, createPreviewCardHandle } from '@bld8/ui/preview-card';

type Project = { id: string; name: string; owner: string; summary: string; status: string };
const projects: Project[] = [
  { id: 'atlas', name: 'Atlas', owner: 'Maya Chen', summary: 'Shared components, interaction guidance and editable source examples.', status: 'In review' },
  { id: 'harbour', name: 'Harbour', owner: 'Eli Morgan', summary: 'An internal record directory with saved filters, ownership review and clear recovery for failed saves. The next review focuses on narrow screens.', status: 'In progress' },
];
export function LinkedRecordPreviewExample() {
  const [handle] = useState(() => createPreviewCardHandle<Project>());
  return <div style={{ width: '100%', display: 'grid', gap: 24 }}>
    <p style={{ margin: 0 }}>Related projects: {projects.map((project, index) => <span key={project.id}>{index > 0 && ' and '}<PreviewCardTrigger handle={handle} payload={project} href={'#preview-project-' + project.id} delay={250}>{project.name}</PreviewCardTrigger></span>)}.</p>
    <PreviewCard handle={handle}>{({ payload }) => <PreviewCardPopup className="record-preview">{payload && <>
      <div className="bui-preview-heading"><span className="bui-preview-avatar"><Layers size={18} aria-hidden="true" /></span><div><p className="bui-preview-title">{payload.name}</p><p className="bui-preview-meta">{payload.status}</p></div></div>
      <p className="bui-preview-description">{payload.summary}</p><div className="bui-preview-facts"><span>Owner: {payload.owner}</span></div>
    </>}</PreviewCardPopup>}</PreviewCard>
    {projects.map(project => <section key={project.id} id={'preview-project-' + project.id}><strong>{project.name}</strong><p className="bui-hint">{project.status} · Owner: {project.owner}. {project.summary}</p></section>)}
  </div>;
}

Controlled visual reference preview

Control the preview with an explicit trigger ID and observe its lifecycle. Outside show and hide actions demonstrate host state while the linked reference stays independently usable.

Keyboard

  • Tab reaches the reference link and the separate show and hide actions.
  • Enter on the link navigates; Enter or Space on a preview action changes visual preview state.
  • Escape dismisses the card. Focus remains in the surrounding page.

States covered

  • Controlled open state
  • Explicit trigger association
  • Open and close completion
  • Actions outside the popup

Install this complete example and its component dependencies.

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/example-preview-controlled.json
Complete source
React / TypeScript
/*!
MIT License

Copyright (c) 2026 Jaison

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
'use client';
import '@bld8/ui/styles.css';
import { useId, useState } from 'react';
import { Button, Checkbox } from '@bld8/ui/core';
import { PreviewCard, PreviewCardTrigger, PreviewCardPopup } from '@bld8/ui/preview-card';

export function ControlledReferencePreviewExample() {
  const triggerId = useId();
  const [open, setOpen] = useState(false);
  const [complete, setComplete] = useState('No transition yet');
  return <div style={{ width: '100%', display: 'grid', gap: 20 }}>
    <div style={{ display: 'flex', flexWrap: 'wrap', gap: 12 }}><Button variant="secondary" disabled={open} onClick={() => setOpen(true)}>Show visual preview</Button><Button variant="secondary" disabled={!open} onClick={() => setOpen(false)}>Hide visual preview</Button></div>
    <PreviewCard open={open} triggerId={triggerId} onOpenChange={setOpen} onOpenChangeComplete={value => setComplete(value ? 'Preview entered' : 'Preview exited')}>
      <p style={{ margin: 0 }}>Read the <PreviewCardTrigger id={triggerId} href="#preview-controlled-reference" delay={400}>source update checklist</PreviewCardTrigger> before replacing customised files.</p>
      <PreviewCardPopup className="controlled-preview" side="bottom" collisionAvoidance={{ side: 'none', align: 'shift' }}><p className="bui-preview-title">Source update checklist</p><p className="bui-preview-description" style={{ marginTop: 8 }}>Compare local changes, retain licence notices and verify the updated interaction in your application.</p><p className="bui-preview-meta">Reference · 3 review steps</p></PreviewCardPopup>
    </PreviewCard>
    <p role="status">{open ? 'Visual preview open' : 'Visual preview closed'} · {complete}</p>
    <section id="preview-controlled-reference"><strong>Source update checklist</strong><ol className="bui-hint"><li>Compare upstream changes with your local customisations.</li><li>Retain copyright, permission and dependency notices.</li><li>Verify keyboard paths, failure recovery and responsive layout in your application.</li></ol></section>
  </div>;
}

Abortable reference metadata

Load optional metadata only while the preview is open. Closing or retrying cancels the previous request; recovery controls and the complete reference remain outside the popup.

Keyboard

  • The reference link remains navigable while metadata loads or fails.
  • Use the outside Simulate failure checkbox and Retry metadata button to inspect recovery.
  • Escape closes the visual preview and cancels pending metadata.

States covered

  • Loading
  • Resolved metadata
  • Recoverable failure
  • Abort on close and retry
  • Stale result protection
  • Host-owned service boundary

Install this complete example and its component dependencies.

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/example-preview-async-reference.json
Complete source
React / TypeScript
/*!
MIT License

Copyright (c) 2026 Jaison

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
'use client';
import '@bld8/ui/styles.css';
import { useEffect, useState } from 'react';
import { Button, Checkbox } from '@bld8/ui/core';
import { PreviewCard, PreviewCardTrigger, PreviewCardPopup } from '@bld8/ui/preview-card';

type Metadata = { title: string; updated: string; summary: string };
function loadMetadata(signal: AbortSignal, fail: boolean): Promise<Metadata> {
  // Local timed adapter. Replace with fetch(url, { signal }) and validate the response.
  return new Promise((resolve, reject) => {
    const cancel = () => { clearTimeout(timer); reject(new DOMException('Aborted', 'AbortError')); };
    const timer = setTimeout(() => {
      signal.removeEventListener('abort', cancel);
      if (fail) reject(new Error('Metadata could not be loaded. The reference link still works.'));
      else resolve({ title: 'Interaction review', updated: 'Updated 12 November 2026', summary: 'Check focus entry and return, interrupted transitions and live reduced-motion settings.' });
    }, 650);
    if (signal.aborted) cancel(); else signal.addEventListener('abort', cancel, { once: true });
  });
}
export function AsyncReferencePreviewExample() {
  const [open, setOpen] = useState(false);
  const [fail, setFail] = useState(false);
  const [attempt, setAttempt] = useState(0);
  const [result, setResult] = useState<{ status: 'idle' | 'loading' | 'ready' | 'error'; data?: Metadata; error?: string }>({ status: 'idle' });
  useEffect(() => {
    if (!open) return;
    const controller = new AbortController();
    setResult({ status: 'loading' });
    loadMetadata(controller.signal, fail).then(data => {
      if (!controller.signal.aborted) setResult({ status: 'ready', data });
    }).catch(error => {
      if (!controller.signal.aborted) setResult({ status: 'error', error: error instanceof Error ? error.message : 'Metadata unavailable.' });
    });
    return () => controller.abort();
  }, [open, fail, attempt]);
  return <div style={{ width: '100%', display: 'grid', gap: 20 }}>
    <PreviewCard open={open} onOpenChange={setOpen}>
      <p style={{ margin: 0 }}>Review the <PreviewCardTrigger href="#preview-async-reference-details" delay={300}>interaction checklist</PreviewCardTrigger> with the component change.</p>
      <PreviewCardPopup className="async-reference-preview">
        <p className="bui-preview-title">{result.data?.title ?? 'Interaction review'}</p>
        {result.status === 'loading' && <p className="bui-preview-description">Loading optional metadata…</p>}
        {result.status === 'error' && <p className="bui-preview-description">{result.error}</p>}
        {result.status === 'ready' && <><p className="bui-preview-description">{result.data?.summary}</p><p className="bui-preview-meta">{result.data?.updated}</p></>}
      </PreviewCardPopup>
    </PreviewCard>
    <Checkbox label="Simulate metadata failure" checked={fail} onCheckedChange={setFail} />
    <Button variant="secondary" onClick={() => { setAttempt(value => value + 1); setOpen(true); }}>Retry metadata</Button>
    <p className="bui-hint">Local timed sample, no network service. Preview metadata is {open ? result.status : 'closed'}.</p>
    <section id="preview-async-reference-details"><strong>Interaction review</strong><p className="bui-hint">Updated 12 November 2026. Check focus entry and return, interrupted transitions and live reduced-motion settings. Confirm that the same information remains available when a visual preview is closed or unavailable.</p></section>
  </div>;
}

Quick reference

React / TypeScript
<PreviewCard><PreviewCardTrigger href="/docs">Documentation</PreviewCardTrigger><PreviewCardPopup>Installation and component reference.</PreviewCardPopup></PreviewCard>

In the workspace or ZIP starter, import components from @bld8/ui and include @bld8/ui/styles.css once. Registry installations use your local bld8/ source path. Wrap overlays in UIProvider.

API & behaviour

The trigger remains a real link. Previews provide supplementary context and preserve navigation, focus and dismissal behavior from Base UI. Use Popover or Dialog for interactive actions and essential content. Delay, controlled state, collision placement and shared trigger payloads are available.

PreviewCard

PreviewCard public properties
PropTypeDefault
actionsRefReact.RefObject<PreviewCardRootActions | null> | undefined

A ref to imperative actions. - `unmount`: Unmounts the preview card popup. - `close`: Closes the preview card imperatively when called.

—
childrenReact.ReactNode | PayloadChildRenderFunction<Payload>

The content of the preview card. This can be a regular React node or a render function that receives the `payload` of the active trigger.

—
defaultOpenboolean | undefined

Whether the preview card is initially open. To render a controlled preview card, use the `open` prop instead.

—
defaultTriggerIdstring | null | undefined

ID of the trigger that the preview card is associated with. This is useful in conjunction with the `defaultOpen` prop to create an initially open preview card.

—
handlePreviewCardHandle<Payload> | undefined

A handle to associate the preview card with a trigger. If specified, allows external triggers to control the card's open state. Can be created with the PreviewCard.createHandle() method.

—
onOpenChange((open: boolean, eventDetails: PreviewCardRoot.ChangeEventDetails) => void) | undefined

Event handler called when the preview card is opened or closed.

—
onOpenChangeComplete((open: boolean) => void) | undefined

Event handler called after any animations complete when the preview card is opened or closed.

—
openboolean | undefined

Whether the preview card is currently open.

—
triggerIdstring | null | undefined

ID of the trigger that the preview card is associated with. This is useful in conjunction with the `open` prop to create a controlled preview card. There's no need to specify this prop when the preview card is uncontrolled (that is, when the `open` prop is not set).

—

PreviewCardTrigger

PreviewCardTrigger public properties
PropTypeDefault
classNamestring | undefined—
closeDelaynumber | undefined

How long to wait before closing the preview card. Specified in milliseconds.

—
delaynumber | undefined

How long to wait before the preview card opens. Specified in milliseconds.

—
handlePreviewCardHandle<Payload> | undefined

A handle to associate the trigger with a preview card.

—
payloadPayload | undefined

A payload to pass to the preview card when it is opened.

—
ref((((instance: HTMLAnchorElement | null) => void | (() => VoidOrUndefinedOnly) | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLAnchorElement | null>) & (RefObject<HTMLElement | null> | ((instance: HTMLElement | null) => void | (() => VoidOrUndefinedOnly) | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]))) | null | undefined

Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).

—
renderReact.ReactElement<unknown, string | React.JSXElementConstructor<any>> | ComponentRenderFn<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, PreviewCardTriggerState> | undefined

Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.

—
styleReact.CSSProperties | ((state: PreviewCardTriggerState) => React.CSSProperties | undefined) | undefined

Style applied to the element, or a function that returns a style object based on the component's state.

—
Forwarded React / HTML props 282
PreviewCardTrigger native public properties
PropTypeDefault
aboutstring | undefined—
accessKeystring | undefined—
aria-activedescendantstring | undefined

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

—
aria-atomicBooleanish | undefined

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.

—
aria-autocomplete"none" | "list" | "inline" | "both" | undefined

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.

—
aria-braillelabelstring | undefined

Defines a string value that labels the current element, which is intended to be converted into Braille.

—
aria-brailleroledescriptionstring | undefined

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

—
aria-busyBooleanish | undefined—
aria-checkedboolean | "true" | "false" | "mixed" | undefined

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

—
aria-colcountnumber | undefined

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

—
aria-colindexnumber | undefined

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

—
aria-colindextextstring | undefined

Defines a human readable text alternative of aria-colindex.

—
aria-colspannumber | undefined

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

—
aria-controlsstring | undefined

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

—
aria-currentboolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined

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

—
aria-describedbystring | undefined

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

—
aria-descriptionstring | undefined

Defines a string value that describes or annotates the current element.

—
aria-detailsstring | undefined

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

—
aria-disabledBooleanish | undefined

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

—
aria-dropeffect"none" | "link" | "copy" | "execute" | "move" | "popup" | undefined

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

—
aria-errormessagestring | undefined

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

—
aria-expandedBooleanish | undefined

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

—
aria-flowtostring | undefined

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.

—
aria-grabbedBooleanish | undefined

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

—
aria-haspopupboolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined

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

—
aria-hiddenBooleanish | undefined

Indicates whether the element is exposed to an accessibility API.

—
aria-invalidboolean | "true" | "false" | "grammar" | "spelling" | undefined

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

—
aria-keyshortcutsstring | undefined

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

—
aria-labelstring | undefined

Defines a string value that labels the current element.

—
aria-labelledbystring | undefined

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

—
aria-levelnumber | undefined

Defines the hierarchical level of an element within a structure.

—
aria-live"off" | "assertive" | "polite" | undefined

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.

—
aria-modalBooleanish | undefined

Indicates whether an element is modal when displayed.

—
aria-multilineBooleanish | undefined

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

—
aria-multiselectableBooleanish | undefined

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

—
aria-orientation"horizontal" | "vertical" | undefined

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

—
aria-ownsstring | undefined

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.

—
aria-placeholderstring | undefined

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.

—
aria-posinsetnumber | undefined

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.

—
aria-pressedboolean | "true" | "false" | "mixed" | undefined

Indicates the current "pressed" state of toggle buttons.

—
aria-readonlyBooleanish | undefined

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

—
aria-relevant"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined

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

—
aria-requiredBooleanish | undefined

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

—
aria-roledescriptionstring | undefined

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

—
aria-rowcountnumber | undefined

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

—
aria-rowindexnumber | undefined

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

—
aria-rowindextextstring | undefined

Defines a human readable text alternative of aria-rowindex.

—
aria-rowspannumber | undefined

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

—
aria-selectedBooleanish | undefined

Indicates the current "selected" state of various widgets.

—
aria-setsizenumber | undefined

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.

—
aria-sort"none" | "ascending" | "descending" | "other" | undefined

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

—
aria-valuemaxnumber | undefined

Defines the maximum allowed value for a range widget.

—
aria-valueminnumber | undefined

Defines the minimum allowed value for a range widget.

—
aria-valuenownumber | undefined

Defines the current value for a range widget.

—
aria-valuetextstring | undefined

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

—
autoCapitalize"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined—
autoCorrectstring | undefined—
autoFocusboolean | undefined—
autoSavestring | undefined—
childrenReactNode—
contentstring | undefined—
contentEditableBooleanish | "inherit" | "plaintext-only" | undefined—
contextMenustring | undefined—
dangerouslySetInnerHTML{ __html: string | TrustedHTML; } | undefined—
datatypestring | undefined—
dirstring | undefined—
downloadany—
draggableBooleanish | undefined—
enterKeyHint"enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined—
exportpartsstring | undefined—
hiddenboolean | undefined—
hrefstring | undefined—
hrefLangstring | undefined—
idstring | undefined—
inertboolean | undefined—
inlistany—
inputMode"none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined

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

—
isstring | undefined

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

—
itemIDstring | undefined—
itemPropstring | undefined—
itemRefstring | undefined—
itemScopeboolean | undefined—
itemTypestring | undefined—
keyKey | null | undefined—
langstring | undefined—
mediastring | undefined—
noncestring | undefined—
onAbort((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onAbortCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onAnimationEnd((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAnimationEndCapture((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAnimationIteration((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAnimationIterationCapture((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAnimationStart((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAnimationStartCapture((event: BaseUIEvent<AnimationEvent<HTMLAnchorElement>>) => void) | undefined—
onAuxClick((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onAuxClickCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onBeforeInput((event: BaseUIEvent<InputEvent<HTMLAnchorElement>>) => void) | undefined—
onBeforeInputCapture((event: BaseUIEvent<InputEvent<HTMLAnchorElement>>) => void) | undefined—
onBeforeToggle((event: BaseUIEvent<ToggleEvent<HTMLAnchorElement>>) => void) | undefined—
onBlur((event: BaseUIEvent<FocusEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onBlurCapture((event: BaseUIEvent<FocusEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onCanPlay((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onCanPlayCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onCanPlayThrough((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onCanPlayThroughCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onChange((event: BaseUIEvent<ChangeEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onChangeCapture((event: BaseUIEvent<ChangeEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onClick((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onClickCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onCompositionEnd((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onCompositionEndCapture((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onCompositionStart((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onCompositionStartCapture((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onCompositionUpdate((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onCompositionUpdateCapture((event: BaseUIEvent<CompositionEvent<HTMLAnchorElement>>) => void) | undefined—
onContextMenu((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onContextMenuCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onCopy((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onCopyCapture((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onCut((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onCutCapture((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onDoubleClick((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onDoubleClickCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onDrag((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragEnd((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragEndCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragEnter((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragEnterCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragExit((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragExitCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragLeave((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragLeaveCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragOver((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragOverCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragStart((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDragStartCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDrop((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDropCapture((event: BaseUIEvent<DragEvent<HTMLAnchorElement>>) => void) | undefined—
onDurationChange((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onDurationChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEmptied((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEmptiedCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEncrypted((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEncryptedCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEnded((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onEndedCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onError((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onErrorCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onFocus((event: BaseUIEvent<FocusEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onFocusCapture((event: BaseUIEvent<FocusEvent<HTMLAnchorElement, Element>>) => void) | undefined—
onGotPointerCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onGotPointerCaptureCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onInput((event: BaseUIEvent<InputEvent<HTMLAnchorElement>>) => void) | undefined—
onInputCapture((event: BaseUIEvent<InputEvent<HTMLAnchorElement>>) => void) | undefined—
onInvalid((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onInvalidCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onKeyDown((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onKeyDownCapture((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onKeyPress((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onKeyPressCapture((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onKeyUp((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onKeyUpCapture((event: BaseUIEvent<KeyboardEvent<HTMLAnchorElement>>) => void) | undefined—
onLoad((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadedData((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadedDataCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadedMetadata((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadedMetadataCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadStart((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLoadStartCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onLostPointerCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onLostPointerCaptureCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onMouseDown((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseDownCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseEnter((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseLeave((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseMove((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseMoveCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOut((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOutCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOver((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOverCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseUp((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseUpCapture((event: BaseUIEvent<MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>>) => void) | undefined—
onPaste((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onPasteCapture((event: BaseUIEvent<ClipboardEvent<HTMLAnchorElement>>) => void) | undefined—
onPause((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPauseCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPlay((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPlayCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPlaying((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPlayingCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onPointerCancel((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerCancelCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerDown((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerDownCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerEnter((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerLeave((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerMove((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerMoveCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerOut((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerOutCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerOver((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerOverCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerUp((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onPointerUpCapture((event: BaseUIEvent<PointerEvent<HTMLAnchorElement>>) => void) | undefined—
onProgress((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onProgressCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onRateChange((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onRateChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onReset((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onResetCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onScroll((event: BaseUIEvent<UIEvent<HTMLAnchorElement, globalThis.UIEvent>>) => void) | undefined—
onScrollCapture((event: BaseUIEvent<UIEvent<HTMLAnchorElement, globalThis.UIEvent>>) => void) | undefined—
onScrollEnd((event: BaseUIEvent<UIEvent<HTMLAnchorElement, globalThis.UIEvent>>) => void) | undefined—
onScrollEndCapture((event: BaseUIEvent<UIEvent<HTMLAnchorElement, globalThis.UIEvent>>) => void) | undefined—
onSeeked((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSeekedCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSeeking((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSeekingCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSelect((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSelectCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onStalled((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onStalledCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSubmit((event: BaseUIEvent<SubmitEvent<HTMLAnchorElement>>) => void) | undefined—
onSubmitCapture((event: BaseUIEvent<SubmitEvent<HTMLAnchorElement>>) => void) | undefined—
onSuspend((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onSuspendCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onTimeUpdate((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onTimeUpdateCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onToggle((event: BaseUIEvent<ToggleEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchCancel((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchCancelCapture((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchEnd((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchEndCapture((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchMove((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchMoveCapture((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchStart((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTouchStartCapture((event: BaseUIEvent<TouchEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionCancel((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionCancelCapture((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionEnd((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionEndCapture((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionRun((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionRunCapture((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionStart((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onTransitionStartCapture((event: BaseUIEvent<TransitionEvent<HTMLAnchorElement>>) => void) | undefined—
onVolumeChange((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onVolumeChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onWaiting((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onWaitingCapture((event: BaseUIEvent<SyntheticEvent<HTMLAnchorElement, Event>>) => void) | undefined—
onWheel((event: BaseUIEvent<WheelEvent<HTMLAnchorElement>>) => void) | undefined—
onWheelCapture((event: BaseUIEvent<WheelEvent<HTMLAnchorElement>>) => void) | undefined—
partstring | undefined—
pingstring | undefined—
popover"" | "auto" | "manual" | "hint" | undefined—
popoverTargetstring | undefined—
popoverTargetAction"toggle" | "show" | "hide" | undefined—
prefixstring | undefined—
propertystring | undefined—
radioGroupstring | undefined—
referrerPolicyHTMLAttributeReferrerPolicy | undefined—
relstring | undefined—
resourcestring | undefined—
resultsnumber | undefined—
revstring | undefined—
roleAriaRole | undefined—
securitystring | undefined—
slotstring | undefined—
spellCheckBooleanish | undefined—
suppressContentEditableWarningboolean | undefined—
suppressHydrationWarningboolean | undefined—
tabIndexnumber | undefined—
targetHTMLAttributeAnchorTarget | undefined—
titlestring | undefined—
translate"yes" | "no" | undefined—
typestring | undefined—
typeofstring | undefined—
unselectable"off" | "on" | undefined—
vocabstring | undefined—

PreviewCardPopup

PreviewCardPopup public properties
PropTypeDefault
alignAlign | undefined

How to align the popup relative to the specified side.

—
alignOffsetnumber | OffsetFunction | undefined

Additional offset along the alignment axis in pixels. Also accepts a function that returns the offset to read the dimensions of the anchor and positioner elements, along with its side and alignment. The function takes a `data` object parameter with the following properties: - `data.anchor`: the dimensions of the anchor element with properties `width` and `height`. - `data.positioner`: the dimensions of the positioner element with properties `width` and `height`. - `data.side`: which side of the anchor element the positioner is aligned against. - `data.align`: how the positioner is aligned relative to the specified side.

—
anchorElement | VirtualElement | React.RefObject<Element | null> | (() => Element | VirtualElement | null) | null | undefined

An element to position the popup against. By default, the popup will be positioned against the trigger.

—
arrowPaddingnumber | undefined

Minimum distance to maintain between the arrow and the edges of the popup. Use it to prevent the arrow element from hanging out of the rounded corners of a popup.

—
childrenReactNode—
classNamestring | undefined—
collisionAvoidanceCollisionAvoidance | undefined

Determines how to handle collisions when positioning the popup. `side` controls overflow on the preferred placement axis (`top`/`bottom` or `left`/`right`): - `'flip'`: keep the requested side when it fits; otherwise try the opposite side (`top` and `bottom`, or `left` and `right`). - `'shift'`: never change side; keep the requested side and move the popup within the clipping boundary so it stays visible. - `'none'`: do not correct side-axis overflow. `align` controls overflow on the alignment axis (`start`/`center`/`end`): - `'flip'`: keep side, but swap `start` and `end` when the requested alignment overflows. - `'shift'`: keep side and requested alignment, then nudge the popup along the alignment axis to fit. - `'none'`: do not correct alignment-axis overflow. `fallbackAxisSide` controls fallback behavior on the perpendicular axis when the preferred axis cannot fit: - `'start'`: allow perpendicular fallback and try the logical start side first (`top` before `bottom`, or `left` before `right` in LTR). - `'end'`: allow perpendicular fallback and try the logical end side first (`bottom` before `top`, or `right` before `left` in LTR). - `'none'`: do not fallback to the perpendicular axis. When `side` is `'shift'`, explicitly setting `align` only supports `'shift'` or `'none'`. If `align` is omitted, it defaults to `'flip'`.

—
collisionBoundaryBoundary | undefined

An element or a rectangle that delimits the area that the popup is confined to.

—
collisionPaddingPadding | undefined

Additional space to maintain from the edge of the collision boundary.

—
disableAnchorTrackingboolean | undefined

Whether to disable the popup from tracking any layout shift of its positioning anchor.

—
popupPropsOmit<PreviewCardPopupProps, "className" | "ref" | "style" | "children"> | undefined—
portalContainerHTMLElement | ShadowRoot | RefObject<HTMLElement | ShadowRoot | null> | null | undefined—
positionerClassNamestring | undefined—
positionerRefRef<HTMLDivElement> | undefined—
positionMethod"absolute" | "fixed" | undefined

Determines which CSS `position` property to use.

—
renderReact.ReactElement<unknown, string | React.JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, PreviewCardPositionerState> | undefined

Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.

—
sideSide | undefined

Which side of the anchor element to align the popup against. May automatically change to avoid collisions.

—
sideOffsetnumber | OffsetFunction | undefined

Distance between the anchor and the popup in pixels. Also accepts a function that returns the distance to read the dimensions of the anchor and positioner elements, along with its side and alignment. The function takes a `data` object parameter with the following properties: - `data.anchor`: the dimensions of the anchor element with properties `width` and `height`. - `data.positioner`: the dimensions of the positioner element with properties `width` and `height`. - `data.side`: which side of the anchor element the positioner is aligned against. - `data.align`: how the positioner is aligned relative to the specified side.

—
stickyboolean | undefined

Whether to maintain the popup in the viewport after the anchor element was scrolled out of view.

—
styleCSSProperties | undefined—
widthProperty.Width<string | number> | undefined—
Forwarded React / HTML props 274
PreviewCardPopup native public properties
PropTypeDefault
aboutstring | undefined—
accessKeystring | undefined—
aria-activedescendantstring | undefined

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

—
aria-atomicBooleanish | undefined

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.

—
aria-autocomplete"none" | "list" | "inline" | "both" | undefined

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.

—
aria-braillelabelstring | undefined

Defines a string value that labels the current element, which is intended to be converted into Braille.

—
aria-brailleroledescriptionstring | undefined

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

—
aria-busyBooleanish | undefined—
aria-checkedboolean | "true" | "false" | "mixed" | undefined

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

—
aria-colcountnumber | undefined

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

—
aria-colindexnumber | undefined

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

—
aria-colindextextstring | undefined

Defines a human readable text alternative of aria-colindex.

—
aria-colspannumber | undefined

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

—
aria-controlsstring | undefined

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

—
aria-currentboolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined

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

—
aria-describedbystring | undefined

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

—
aria-descriptionstring | undefined

Defines a string value that describes or annotates the current element.

—
aria-detailsstring | undefined

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

—
aria-disabledBooleanish | undefined

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

—
aria-dropeffect"none" | "link" | "copy" | "execute" | "move" | "popup" | undefined

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

—
aria-errormessagestring | undefined

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

—
aria-expandedBooleanish | undefined

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

—
aria-flowtostring | undefined

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.

—
aria-grabbedBooleanish | undefined

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

—
aria-haspopupboolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined

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

—
aria-hiddenBooleanish | undefined

Indicates whether the element is exposed to an accessibility API.

—
aria-invalidboolean | "true" | "false" | "grammar" | "spelling" | undefined

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

—
aria-keyshortcutsstring | undefined

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

—
aria-labelstring | undefined

Defines a string value that labels the current element.

—
aria-labelledbystring | undefined

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

—
aria-levelnumber | undefined

Defines the hierarchical level of an element within a structure.

—
aria-live"off" | "assertive" | "polite" | undefined

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.

—
aria-modalBooleanish | undefined

Indicates whether an element is modal when displayed.

—
aria-multilineBooleanish | undefined

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

—
aria-multiselectableBooleanish | undefined

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

—
aria-orientation"horizontal" | "vertical" | undefined

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

—
aria-ownsstring | undefined

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.

—
aria-placeholderstring | undefined

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.

—
aria-posinsetnumber | undefined

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.

—
aria-pressedboolean | "true" | "false" | "mixed" | undefined

Indicates the current "pressed" state of toggle buttons.

—
aria-readonlyBooleanish | undefined

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

—
aria-relevant"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined

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

—
aria-requiredBooleanish | undefined

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

—
aria-roledescriptionstring | undefined

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

—
aria-rowcountnumber | undefined

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

—
aria-rowindexnumber | undefined

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

—
aria-rowindextextstring | undefined

Defines a human readable text alternative of aria-rowindex.

—
aria-rowspannumber | undefined

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

—
aria-selectedBooleanish | undefined

Indicates the current "selected" state of various widgets.

—
aria-setsizenumber | undefined

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.

—
aria-sort"none" | "ascending" | "descending" | "other" | undefined

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

—
aria-valuemaxnumber | undefined

Defines the maximum allowed value for a range widget.

—
aria-valueminnumber | undefined

Defines the minimum allowed value for a range widget.

—
aria-valuenownumber | undefined

Defines the current value for a range widget.

—
aria-valuetextstring | undefined

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

—
autoCapitalize"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined—
autoCorrectstring | undefined—
autoFocusboolean | undefined—
autoSavestring | undefined—
contentstring | undefined—
contentEditableBooleanish | "inherit" | "plaintext-only" | undefined—
contextMenustring | undefined—
dangerouslySetInnerHTML{ __html: string | TrustedHTML; } | undefined—
datatypestring | undefined—
dirstring | undefined—
draggableBooleanish | undefined—
enterKeyHint"enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined—
exportpartsstring | undefined—
hiddenboolean | undefined—
idstring | undefined—
inertboolean | undefined—
inlistany—
inputMode"none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined

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

—
isstring | undefined

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

—
itemIDstring | undefined—
itemPropstring | undefined—
itemRefstring | undefined—
itemScopeboolean | undefined—
itemTypestring | undefined—
keyKey | null | undefined—
langstring | undefined—
noncestring | undefined—
onAbort((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onAbortCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onAnimationEnd((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAnimationEndCapture((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAnimationIteration((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAnimationIterationCapture((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAnimationStart((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAnimationStartCapture((event: BaseUIEvent<AnimationEvent<HTMLDivElement>>) => void) | undefined—
onAuxClick((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onAuxClickCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onBeforeInput((event: BaseUIEvent<InputEvent<HTMLDivElement>>) => void) | undefined—
onBeforeInputCapture((event: BaseUIEvent<InputEvent<HTMLDivElement>>) => void) | undefined—
onBeforeToggle((event: BaseUIEvent<ToggleEvent<HTMLDivElement>>) => void) | undefined—
onBlur((event: BaseUIEvent<FocusEvent<HTMLDivElement, Element>>) => void) | undefined—
onBlurCapture((event: BaseUIEvent<FocusEvent<HTMLDivElement, Element>>) => void) | undefined—
onCanPlay((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onCanPlayCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onCanPlayThrough((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onCanPlayThroughCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onChange((event: BaseUIEvent<ChangeEvent<HTMLDivElement, Element>>) => void) | undefined—
onChangeCapture((event: BaseUIEvent<ChangeEvent<HTMLDivElement, Element>>) => void) | undefined—
onClick((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onClickCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onCompositionEnd((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onCompositionEndCapture((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onCompositionStart((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onCompositionStartCapture((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onCompositionUpdate((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onCompositionUpdateCapture((event: BaseUIEvent<CompositionEvent<HTMLDivElement>>) => void) | undefined—
onContextMenu((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onContextMenuCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onCopy((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onCopyCapture((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onCut((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onCutCapture((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onDoubleClick((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onDoubleClickCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onDrag((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragEnd((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragEndCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragEnter((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragEnterCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragExit((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragExitCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragLeave((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragLeaveCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragOver((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragOverCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragStart((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDragStartCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDrop((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDropCapture((event: BaseUIEvent<DragEvent<HTMLDivElement>>) => void) | undefined—
onDurationChange((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onDurationChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEmptied((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEmptiedCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEncrypted((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEncryptedCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEnded((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onEndedCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onError((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onErrorCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onFocus((event: BaseUIEvent<FocusEvent<HTMLDivElement, Element>>) => void) | undefined—
onFocusCapture((event: BaseUIEvent<FocusEvent<HTMLDivElement, Element>>) => void) | undefined—
onGotPointerCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onGotPointerCaptureCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onInput((event: BaseUIEvent<InputEvent<HTMLDivElement>>) => void) | undefined—
onInputCapture((event: BaseUIEvent<InputEvent<HTMLDivElement>>) => void) | undefined—
onInvalid((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onInvalidCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onKeyDown((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onKeyDownCapture((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onKeyPress((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onKeyPressCapture((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onKeyUp((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onKeyUpCapture((event: BaseUIEvent<KeyboardEvent<HTMLDivElement>>) => void) | undefined—
onLoad((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadedData((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadedDataCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadedMetadata((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadedMetadataCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadStart((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLoadStartCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onLostPointerCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onLostPointerCaptureCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onMouseDown((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseDownCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseEnter((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseLeave((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseMove((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseMoveCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOut((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOutCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOver((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseOverCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseUp((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onMouseUpCapture((event: BaseUIEvent<MouseEvent<HTMLDivElement, globalThis.MouseEvent>>) => void) | undefined—
onPaste((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onPasteCapture((event: BaseUIEvent<ClipboardEvent<HTMLDivElement>>) => void) | undefined—
onPause((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPauseCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPlay((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPlayCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPlaying((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPlayingCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onPointerCancel((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerCancelCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerDown((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerDownCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerEnter((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerLeave((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerMove((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerMoveCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerOut((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerOutCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerOver((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerOverCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerUp((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onPointerUpCapture((event: BaseUIEvent<PointerEvent<HTMLDivElement>>) => void) | undefined—
onProgress((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onProgressCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onRateChange((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onRateChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onReset((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onResetCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onScroll((event: BaseUIEvent<UIEvent<HTMLDivElement, globalThis.UIEvent>>) => void) | undefined—
onScrollCapture((event: BaseUIEvent<UIEvent<HTMLDivElement, globalThis.UIEvent>>) => void) | undefined—
onScrollEnd((event: BaseUIEvent<UIEvent<HTMLDivElement, globalThis.UIEvent>>) => void) | undefined—
onScrollEndCapture((event: BaseUIEvent<UIEvent<HTMLDivElement, globalThis.UIEvent>>) => void) | undefined—
onSeeked((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSeekedCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSeeking((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSeekingCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSelect((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSelectCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onStalled((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onStalledCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSubmit((event: BaseUIEvent<SubmitEvent<HTMLDivElement>>) => void) | undefined—
onSubmitCapture((event: BaseUIEvent<SubmitEvent<HTMLDivElement>>) => void) | undefined—
onSuspend((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onSuspendCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onTimeUpdate((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onTimeUpdateCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onToggle((event: BaseUIEvent<ToggleEvent<HTMLDivElement>>) => void) | undefined—
onTouchCancel((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchCancelCapture((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchEnd((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchEndCapture((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchMove((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchMoveCapture((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchStart((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTouchStartCapture((event: BaseUIEvent<TouchEvent<HTMLDivElement>>) => void) | undefined—
onTransitionCancel((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionCancelCapture((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionEnd((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionEndCapture((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionRun((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionRunCapture((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionStart((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onTransitionStartCapture((event: BaseUIEvent<TransitionEvent<HTMLDivElement>>) => void) | undefined—
onVolumeChange((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onVolumeChangeCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onWaiting((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onWaitingCapture((event: BaseUIEvent<SyntheticEvent<HTMLDivElement, Event>>) => void) | undefined—
onWheel((event: BaseUIEvent<WheelEvent<HTMLDivElement>>) => void) | undefined—
onWheelCapture((event: BaseUIEvent<WheelEvent<HTMLDivElement>>) => void) | undefined—
partstring | undefined—
popover"" | "auto" | "manual" | "hint" | undefined—
popoverTargetstring | undefined—
popoverTargetAction"toggle" | "show" | "hide" | undefined—
prefixstring | undefined—
propertystring | undefined—
radioGroupstring | undefined—
refRef<HTMLDivElement> | undefined

Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).

—
relstring | undefined—
resourcestring | undefined—
resultsnumber | undefined—
revstring | undefined—
roleAriaRole | undefined—
securitystring | undefined—
slotstring | undefined—
spellCheckBooleanish | undefined—
suppressContentEditableWarningboolean | undefined—
suppressHydrationWarningboolean | undefined—
tabIndexnumber | undefined—
titlestring | undefined—
translate"yes" | "no" | undefined—
typeofstring | undefined—
unselectable"off" | "on" | undefined—
vocabstring | undefined—

Tables come from the public TypeScript declarations. Related types and function parameters are shown alongside their component. A dash means no default is declared at the public function boundary.

Related controls

Notes to self

Test this component with real content, keyboard input and both themes. The example is a starting point; labels, error handling and behaviour still need to fit the application.