UnreviewedOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedclassHTML class attribute (standard DOM).
Optional UnreviewedclassReact/Preact-style class name. Alias for class.
Optional UnreviewedstyleInline styles applied to the element.
OptionalchildrenOptional UnreviewedslotAssigns the element to a named <slot> (e.g. slot="title").
Optional UnreviewedtabTab order. Set to 0 to make the element keyboard-focusable.
Optional UnreviewedroleARIA role override.
Optional UnreviewedcopyText copied to the clipboard when the host control is activated.
Optional Unreviewedcopy-Copy a DOM node instead of a string (rich text/html + plain text). Bare
copy-node copies the nearest ancestor marked [data-copy-source]; a value
is a CSS selector resolved with closest() (an ancestor region). The copy
control is stripped from the serialized output. Presence-based for the
boolean form.
Optional Unreviewedcopy-Copy the current page URL (location.href) instead of a copy string; no
copy needed. Presence-based.
Optional Unreviewedcopy-Prefix the copied copy string with // URL: <href>. Presence-based.
Optional UnreviewedtoastShow a short confirmation label after a successful copy. It renders in the
top layer so the host's overflow cannot clip it. Presence-based. ButtonCopy
sets it when iconPlacement="none".
Optional Unreviewedcopied-Text in the success confirmation shown by toast.
Optional UnreviewedoncopydoneFired after a copy attempt (copydone, detail: { ok }, non-bubbling so a
nested copy control can't flip an ancestor's feedback). All-lowercase so it
binds in React and Preact.
Optional UnreviewedoncopyrequestFired before a string copy (copyrequest, non-bubbling). Set this element's
copy attribute to the new text; JSX applications update their copy prop
through state. Return values are ignored. Fires on pointerdown and
Enter/Space keydown. All-lowercase.
<a-copy>— the copy-to-clipboard behavior, slotted inside an activatable control (<a-button>,<a-menu-item>, nativebutton/[role]). It owns the whole feature; the base controls carry no copy knowledge.ButtonCopy/MenuItemCopyare the presets that drop it in.