Alert Dialog
A neo-brutalist confirmation dialog that requires user interaction. Built on top of reka-ui's AlertDialog primitive.
Demo
Installation
pnpm dlx brutx-vue@latest add alert-dialogUsage
<script setup>
import { AlertDialogRoot as AlertDialog, AlertDialogTrigger } from 'reka-ui'
import { AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel } from 'brutx-ui-vue'
import { Button } from 'brutx-ui-vue'
</script>
<template>
<AlertDialog>
<AlertDialogTrigger as-child>
<Button variant="danger">Delete Account</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This will permanently delete your account and remove your data.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
</template>Sub-components
| Component | Description |
|---|---|
AlertDialog | Root component (import directly from reka-ui: import { AlertDialogRoot as AlertDialog } from 'reka-ui') |
AlertDialogTrigger | Button that opens the dialog (import directly from reka-ui: import { AlertDialogTrigger } from 'reka-ui') |
AlertDialogPortal | Portal component (import directly from reka-ui: import { AlertDialogPortal } from 'reka-ui') |
AlertDialogContent | Dialog content panel |
AlertDialogHeader | Header container for title and description |
AlertDialogFooter | Footer container for action buttons |
AlertDialogTitle | Dialog title |
AlertDialogDescription | Dialog description text |
AlertDialogAction | Confirm action button |
AlertDialogCancel | Cancel button that closes the dialog |
API Reference
AlertDialogContent
| Name | Type | Default | Description |
|---|---|---|---|
classNullable | ClassValue | — | Additional CSS classes merged into the dialog content panel. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogContent.vue | |||
overlayClassNullable | ClassValue | — | Additional CSS classes merged into the overlay for styling its backdrop. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogContent.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | The dialog panel content, usually composing a title, description, and action buttons; it is rendered through the built-in Portal. |
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogContent.vue | ||
AlertDialogAction
| Name | Type | Default | Description |
|---|---|---|---|
variant | "accent" | "danger" | "default" | "ghost" | "link" | "outline" | "primary" | "secondary" | "success" | undefined | "default" | The action button’s color, border, and interaction-state style variant. |
DetailsDeclared typeNonNullable<"default" | "ghost" | "primary" | "secondary" | "success" | "danger" | "accent" | "outline" | "link" | null | undefined> | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
classNullable | ClassValue | undefined | Additional CSS classes merged into the action button root. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
asChild | boolean | undefined | undefinedRuntime fallback: | Merges root props, styles, and closure behavior into the single default-slot child, which must retain accessible button interaction. |
DetailsDeclared typeboolean | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
as | AsTag | Component | undefined | undefinedRuntime fallback: | Selects the root tag or component; asChild uses the child from the default slot instead. |
DetailsDeclared typeAsTag | Component | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
disabled | Booleanish | undefined | — | Disables normal user activation of a native button. A custom root element must implement its own disabled behavior. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
dir | string | undefined | — | Sets the text direction of the root element, such as ltr, rtl, or auto. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
type | "button" | "submit" | "reset" | undefined | —Runtime fallback: | Selects native button behavior: a regular button, form submission, or form reset. |
DetailsDeclared type"button" | "submit" | "reset" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
form | string | undefined | — | Associates the button with a form by its element ID, including a form outside its DOM ancestors. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
value | string | number | readonly string[] | undefined | — | The value included with name in form data when this button is the submitter. Visible button text comes from the default slot. |
DetailsDeclared typestring | number | readonly string[] | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
id | string | undefined | — | The root element’s DOM ID, used by label references, selectors, and fragment links. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCopy | ((payload: ClipboardEvent) => void) | undefined | — | Handles copy operations with access to clipboard data through ClipboardEvent. |
DetailsDeclared type((payload: ClipboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCut | ((payload: ClipboardEvent) => void) | undefined | — | Handles cut operations and can customize clipboard content through ClipboardEvent. |
DetailsDeclared type((payload: ClipboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPaste | ((payload: ClipboardEvent) => void) | undefined | — | Handles paste operations and exposes incoming clipboard content through ClipboardEvent. |
DetailsDeclared type((payload: ClipboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCompositionend | ((payload: CompositionEvent) => void) | undefined | — | Handles the end or cancellation of an IME composition session on an editable root. |
DetailsDeclared type((payload: CompositionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCompositionstart | ((payload: CompositionEvent) => void) | undefined | — | Handles the start of an IME composition session on an editable root. |
DetailsDeclared type((payload: CompositionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCompositionupdate | ((payload: CompositionEvent) => void) | undefined | — | Handles changes to IME composition text on an editable root. |
DetailsDeclared type((payload: CompositionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDrag | ((payload: DragEvent) => void) | undefined | — | Handles repeated drag events on the source during native drag and drop. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragend | ((payload: DragEvent) => void) | undefined | — | Handles the end of native dragging, including successful drops and cancellation. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragenter | ((payload: DragEvent) => void) | undefined | — | Handles a dragged element or text entering the drop target. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragexit | ((payload: DragEvent) => void) | undefined | — | Handles the legacy dragexit event when an element ceases to be the immediate drag target; dispatch depends on browser support. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragleave | ((payload: DragEvent) => void) | undefined | — | Handles a dragged element or text leaving the drop target. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragover | ((payload: DragEvent) => void) | undefined | — | Handles dragging over a drop target; accepting a drop typically requires preventDefault(). |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDragstart | ((payload: DragEvent) => void) | undefined | — | Handles the start of native dragging and can populate DragEvent.dataTransfer. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDrop | ((payload: DragEvent) => void) | undefined | — | Handles a drop on a valid target and exposes transferred data through dataTransfer. |
DetailsDeclared type((payload: DragEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFocus | ((payload: FocusEvent) => void) | undefined | — | Handles the root gaining focus; native focus events do not bubble. |
DetailsDeclared type((payload: FocusEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFocusin | ((payload: FocusEvent) => void) | undefined | — | Handles bubbling focus-in events from the root or its descendants. |
DetailsDeclared type((payload: FocusEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFocusout | ((payload: FocusEvent) => void) | undefined | — | Handles bubbling focus-out events from the root or its descendants. |
DetailsDeclared type((payload: FocusEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onBlur | ((payload: FocusEvent) => void) | undefined | — | Handles the root losing focus; native blur events do not bubble. |
DetailsDeclared type((payload: FocusEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onChange | ((payload: Event) => void) | undefined | — | Handles committed value changes from an input or selection control; activating a regular button does not produce this event. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onBeforeinput | ((payload: InputEvent) => void) | undefined | — | Handles impending user edits to editable content on a supporting root element. |
DetailsDeclared type((payload: InputEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFormdata | ((payload: FormDataEvent) => void) | undefined | — | Handles completion of form-data construction on a form root element. |
DetailsDeclared type((payload: FormDataEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onInput | ((payload: InputEvent) => void) | undefined | — | Handles user-driven value changes on an editable root element. |
DetailsDeclared type((payload: InputEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onReset | ((payload: Event) => void) | undefined | — | Handles a form reset on a form root; the event is dispatched on the form. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSubmit | ((payload: SubmitEvent) => void) | undefined | — | Handles submission on a form root; a regular submit button causes its owning form to dispatch this event. |
DetailsDeclared type((payload: SubmitEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onInvalid | ((payload: Event) => void) | undefined | — | Handles failed constraint validation on a supporting root control; native invalid events do not bubble. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFullscreenchange | ((payload: Event) => void) | undefined | — | Handles fullscreen-state changes when the root or a descendant enters or leaves fullscreen. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onFullscreenerror | ((payload: Event) => void) | undefined | — | Handles a failed fullscreen request from the root or a descendant. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onLoad | ((payload: Event) => void) | undefined | — | Handles completed resource loading when the root is an element that supports load events. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onError | ((payload: Event) => void) | undefined | — | Handles root resource failures, such as image or media errors; it is not a handler for arbitrary Vue component exceptions. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onKeydown | ((payload: KeyboardEvent) => void) | undefined | — | Handles key presses, including browser-generated repeats while a key remains held. |
DetailsDeclared type((payload: KeyboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onKeypress | ((payload: KeyboardEvent) => void) | undefined | — | Handles the deprecated keypress character-key event; use keydown or beforeinput for new keyboard interactions. |
DetailsDeclared type((payload: KeyboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onKeyup | ((payload: KeyboardEvent) => void) | undefined | — | Handles the release of a keyboard key. |
DetailsDeclared type((payload: KeyboardEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDblclick | ((payload: MouseEvent) => void) | undefined | — | Handles a completed double-click with the primary mouse button. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMousedown | ((payload: MouseEvent) => void) | undefined | — | Handles a mouse button being pressed over the element. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMouseenter | ((payload: MouseEvent) => void) | undefined | — | Handles the mouse entering the element’s boundary; unlike mouseover, it does not bubble. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMouseleave | ((payload: MouseEvent) => void) | undefined | — | Handles the mouse leaving the element and its descendants; this event does not bubble. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMousemove | ((payload: MouseEvent) => void) | undefined | — | Handles mouse movement over the element. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMouseout | ((payload: MouseEvent) => void) | undefined | — | Handles bubbling mouse-out events when leaving the current hit target, including movement into a child. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMouseover | ((payload: MouseEvent) => void) | undefined | — | Handles bubbling mouse-over events when entering the current hit target. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onMouseup | ((payload: MouseEvent) => void) | undefined | — | Handles a mouse button being released over the element. |
DetailsDeclared type((payload: MouseEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAbort | ((payload: UIEvent) => void) | undefined | — | Handles aborted loading on a media root when the interruption is not caused by a loading error. |
DetailsDeclared type((payload: UIEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCanplay | ((payload: Event) => void) | undefined | — | Handles a media root becoming able to start playback without assurance of uninterrupted playback to the end. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onCanplaythrough | ((payload: Event) => void) | undefined | — | Handles the browser estimating that a media root can play through without pausing to buffer. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onDurationchange | ((payload: Event) => void) | undefined | — | Handles a change to the media root’s duration information. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onEmptied | ((payload: Event) => void) | undefined | — | Handles a media root returning from a loaded state to an empty state, such as when reloading. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onEncrypted | ((payload: MediaEncryptedEvent) => void) | undefined | — | Handles encrypted initialization data encountered by a media root through MediaEncryptedEvent. |
DetailsDeclared type((payload: MediaEncryptedEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onEnded | ((payload: Event) => void) | undefined | — | Handles a media root reaching the end of playback and stopping. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onLoadeddata | ((payload: Event) => void) | undefined | — | Handles the first loading of data at the media root’s current playback position, usually the first frame. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onLoadedmetadata | ((payload: Event) => void) | undefined | — | Handles a media root’s metadata becoming available, such as duration or video dimensions. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onLoadstart | ((payload: Event) => void) | undefined | — | Handles a media root beginning to load its resource. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPause | ((payload: Event) => void) | undefined | — | Handles a media root entering the paused state. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPlay | ((payload: Event) => void) | undefined | — | Handles a media root’s paused state becoming false when playback is requested. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPlaying | ((payload: Event) => void) | undefined | — | Handles a media root actually starting or resuming playback. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onProgress | ((payload: ProgressEvent<EventTarget>) => void) | undefined | — | Handles data-loading progress on a root that emits resource progress events, such as a media element. |
DetailsDeclared type((payload: ProgressEvent<EventTarget>) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onRatechange | ((payload: Event) => void) | undefined | — | Handles a change to the media root’s playback rate. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSeeked | ((payload: Event) => void) | undefined | — | Handles a media root completing a seek to a playback position. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSeeking | ((payload: Event) => void) | undefined | — | Handles a media root beginning to seek to a new playback position. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onStalled | ((payload: Event) => void) | undefined | — | Handles a media root still attempting to fetch data when delivery unexpectedly stops. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSuspend | ((payload: Event) => void) | undefined | — | Handles the browser intentionally suspending data fetching for a media root. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTimeupdate | ((payload: Event) => void) | undefined | — | Handles updates to a media root’s currentTime. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onVolumechange | ((payload: Event) => void) | undefined | — | Handles changes to a media root’s volume or muted state. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onWaiting | ((payload: Event) => void) | undefined | — | Handles a media root waiting to continue playback because data is temporarily unavailable. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSelect | ((payload: Event) => void) | undefined | — | Handles text selection in an input root that supports text selection. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onScroll | ((payload: Event) => void) | undefined | — | Handles changes to the scroll position of a scrollable root. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onScrollend | ((payload: Event) => void) | undefined | — | Handles scrolling finishing on a scrollable root once the associated scrolling gesture has ended. |
DetailsDeclared type((payload: Event) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTouchcancel | ((payload: TouchEvent) => void) | undefined | — | Handles the browser or device interrupting a sequence of touch contacts. |
DetailsDeclared type((payload: TouchEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTouchend | ((payload: TouchEvent) => void) | undefined | — | Handles one or more touch contacts leaving the touch surface. |
DetailsDeclared type((payload: TouchEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTouchmove | ((payload: TouchEvent) => void) | undefined | — | Handles touch contacts moving across the touch surface. |
DetailsDeclared type((payload: TouchEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTouchstart | ((payload: TouchEvent) => void) | undefined | — | Handles one or more touch contacts beginning on the touch surface. |
DetailsDeclared type((payload: TouchEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAuxclick | ((payload: PointerEvent) => void) | undefined | — | Handles a completed click with a non-primary pointing-device button, such as the middle mouse button. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onClick | ((payload: PointerEvent) => void) | undefined | — | Handles native activation clicks, typically from a mouse, touch, or keyboard; Reka’s click handler also requests dialog closure.
|
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onContextmenu | ((payload: PointerEvent) => void) | undefined | — | Handles a request to open a context menu, such as a right-click or the context-menu key. |
onGotpointercapture | ((payload: PointerEvent) => void) | undefined | — | Handles the element gaining capture of a pointer so subsequent pointer events target it. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onLostpointercapture | ((payload: PointerEvent) => void) | undefined | — | Handles the element losing capture of a pointer. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerdown | ((payload: PointerEvent) => void) | undefined | — | Handles a pointer becoming active, such as touch contact or the first mouse-button press. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointermove | ((payload: PointerEvent) => void) | undefined | — | Handles changes to pointer position or properties such as pressure. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerup | ((payload: PointerEvent) => void) | undefined | — | Handles a pointer leaving its active pressed state. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointercancel | ((payload: PointerEvent) => void) | undefined | — | Handles the browser cancelling pointer interaction, such as when taking over a touch-scrolling gesture. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerenter | ((payload: PointerEvent) => void) | undefined | — | Handles a pointer entering the hit boundaries of the element or its descendants; it does not bubble. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerleave | ((payload: PointerEvent) => void) | undefined | — | Handles a pointer leaving the hit boundaries of the element and its descendants; it does not bubble. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerover | ((payload: PointerEvent) => void) | undefined | — | Handles bubbling pointer-over events when a pointer enters the current hit target. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onPointerout | ((payload: PointerEvent) => void) | undefined | — | Handles bubbling pointer-out events when leaving the current hit target, including movement into a child. |
DetailsDeclared type((payload: PointerEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onBeforetoggle | ((payload: ToggleEvent) => void) | undefined | — | Handles an impending open or close on a root supporting toggle events, such as a native popover or dialog. |
DetailsDeclared type((payload: ToggleEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onToggle | ((payload: ToggleEvent) => void) | undefined | — | Handles a completed open or close on a supporting root, such as details, a popover, or a native dialog. |
DetailsDeclared type((payload: ToggleEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onWheel | ((payload: WheelEvent) => void) | undefined | — | Handles wheel-device scrolling or zooming input; it does not necessarily mean the scroll position changed. |
DetailsDeclared type((payload: WheelEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAnimationcancel | ((payload: AnimationEvent) => void) | undefined | — | Handles a CSS animation being cancelled before normal completion. |
DetailsDeclared type((payload: AnimationEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAnimationstart | ((payload: AnimationEvent) => void) | undefined | — | Handles a CSS animation starting after its delay. |
DetailsDeclared type((payload: AnimationEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAnimationend | ((payload: AnimationEvent) => void) | undefined | — | Handles a CSS animation completing normally. |
DetailsDeclared type((payload: AnimationEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onAnimationiteration | ((payload: AnimationEvent) => void) | undefined | — | Handles a CSS animation finishing an iteration and beginning another. |
DetailsDeclared type((payload: AnimationEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onSecuritypolicyviolation | ((payload: SecurityPolicyViolationEvent) => void) | undefined | — | Handles content-security-policy violation events reaching the root; browsers normally dispatch these on document, so a button listener does not receive every document-level violation. |
DetailsDeclared type((payload: SecurityPolicyViolationEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTransitioncancel | ((payload: TransitionEvent) => void) | undefined | — | Handles a CSS transition being cancelled before completion. |
DetailsDeclared type((payload: TransitionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTransitionend | ((payload: TransitionEvent) => void) | undefined | — | Handles a CSS transition completing normally. |
DetailsDeclared type((payload: TransitionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTransitionrun | ((payload: TransitionEvent) => void) | undefined | — | Handles a CSS transition being created, before any transition delay. |
DetailsDeclared type((payload: TransitionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
onTransitionstart | ((payload: TransitionEvent) => void) | undefined | — | Handles a CSS transition starting after its delay. |
DetailsDeclared type((payload: TransitionEvent) => void) | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
autofocus | Booleanish | undefined | — | Requests browser autofocus. Reka still performs its focus management when the dialog opens. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
formaction | string | undefined | — | The destination URL used when this button submits its form, overriding the form action. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
formenctype | string | undefined | — | The data encoding used when this button submits its form, overriding the form enctype. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
formmethod | string | undefined | — | The submission method used by this button, overriding the form method. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
formnovalidate | Booleanish | undefined | — | Skips browser constraint validation when this button submits its form. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
formtarget | string | undefined | — | Selects the browsing context that displays this button’s form response, overriding the form target. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
name | string | undefined | — | The field name included in form data with value when this button is the submitter. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
innerHTML | string | undefined | — | Writes an HTML string into the root element, replacing the children rendered by its default slot. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
accesskey | string | undefined | — | Provides an access-key hint for the root element; the browser and operating system determine the key combination. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
contenteditable | Booleanish | "inherit" | "plaintext-only" | undefined | — | Controls whether root content is editable; plaintext-only allows plain-text editing, while inherit inherits the editing state. |
DetailsDeclared typeBooleanish | "inherit" | "plaintext-only" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
contextmenu | string | undefined | — | A legacy HTML context-menu association containing a menu element ID; it does not create or open a BrutxUI menu. |
draggable | Booleanish | undefined | — | Controls whether the root element can be a source for native browser drag and drop. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
enterkeyhint | "done" | "enter" | "go" | "next" | "previous" | "search" | "send" | undefined | — | Suggests the virtual keyboard’s Enter-key label or icon for an editable root element. |
DetailsDeclared type"done" | "enter" | "go" | "next" | "previous" | "search" | "send" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
enterKeyHint | "done" | "enter" | "go" | "next" | "previous" | "search" | "send" | undefined | — | Vue’s deprecated camel-case alias for the virtual keyboard Enter-key hint; use enterkeyhint. |
DetailsDeclared type"done" | "enter" | "go" | "next" | "previous" | "search" | "send" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
inert | Booleanish | undefined | — | Makes the root and its flat-tree descendants inert, preventing focus and normal user interaction. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
lang | string | undefined | — | Identifies the language of the root content for screen-reader pronunciation and browser text processing. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
placeholder | string | undefined | — | Passes an input placeholder to a supporting input root; a regular button does not display placeholder text. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
spellcheck | Booleanish | undefined | — | Controls the browser’s spell-checking hint for editable content. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
tabindex | Numberish | undefined | — | Sets root focus order: 0 uses document order, while -1 allows programmatic focus outside sequential keyboard navigation. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
title | string | undefined | — | Provides supplementary text through the browser’s native title behavior. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
translate | "yes" | "no" | undefined | — | Indicates whether translation tools should translate the root element’s translatable text and attributes. |
DetailsDeclared type"yes" | "no" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
radiogroup | string | undefined | — | The group name for legacy HTML radio commands; it does not give the action button radio-group behavior. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
role | string | undefined | — | Sets the root’s role for assistive technology; it must match the rendered element and its interaction behavior. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
about | string | undefined | — | Identifies the subject resource described by RDFa metadata. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
datatype | string | undefined | — | Specifies the datatype of an RDFa literal value. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
inlist | any | — | Adds the RDFa relationship object to its predicate’s list; presence matters and the attribute value is ignored. |
DetailsDeclared typeany Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
prefix | string | undefined | — | Declares RDFa prefix-to-IRI mappings for abbreviated metadata identifiers. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
property | string | undefined | — | Declares RDFa properties relating a subject to a resource or literal. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
resource | string | undefined | — | Supplies a resource identifier used in an RDFa relationship. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
typeof | string | undefined | — | Declares the types of the resource described by RDFa. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
vocab | string | undefined | — | Sets the default vocabulary IRI used for RDFa terms. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
autocapitalize | string | undefined | — | Suggests automatic capitalization for editable content, such as sentences, words, or all characters. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
autocorrect | string | undefined | — | Provides an autocorrection hint for an editable root that supports it. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
autosave | string | undefined | — | A Safari search-input extension naming stored search history; a regular button does not save searches. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
color | string | undefined | — | Passes the legacy HTML color presentation attribute; the action button’s colors are controlled by variant and CSS classes. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
itemprop | string | undefined | — | Names the properties supplied by the root element in HTML microdata. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
itemscope | Booleanish | undefined | — | Creates an HTML microdata item scope on the root element. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
itemtype | string | undefined | — | Specifies vocabulary type URLs for the microdata item created by itemscope. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
itemid | string | undefined | — | Provides a global identifier for a microdata item, together with itemscope and itemtype. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
itemref | string | undefined | — | Lists space-separated IDs of elements outside the scope that contribute microdata properties. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
results | Numberish | undefined | — | A Safari search-input extension limiting search-history menu entries; a regular button has no such menu. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
security | string | undefined | — | A legacy Internet Explorer iframe security-zone attribute; the action button does not use it to implement a security policy. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
unselectable | "on" | "off" | undefined | — | A legacy selection attribute: on prevents starting text selection on the element, while off allows it. |
DetailsDeclared type"on" | "off" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
inputmode | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined | — | Suggests a virtual keyboard layout for an editable root, such as numeric or email; it does not validate input. |
DetailsDeclared type"none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
is | string | undefined | — | Names a registered customized built-in element for the HTML root; support depends on the browser and rendering path. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
exportparts | string | undefined | — | Maps and exposes names of internal shadow parts to outer ::part selectors. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
part | string | undefined | — | Names the root element’s shadow parts for external styling through ::part. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-activedescendant | string | undefined | — | References the active item in a composite widget while DOM focus stays on the widget root. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-atomic | Booleanish | undefined | — | Indicates whether a live-region change is announced as the whole region or only its changed parts. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-autocomplete | "none" | "both" | "inline" | "list" | undefined | — | Describes text-input completion as inline, list-based, both, or absent. |
DetailsDeclared type"none" | "both" | "inline" | "list" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-busy | Booleanish | undefined | — | Marks a region as updating so assistive technology can defer presenting its changes. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-checked | Booleanish | "mixed" | undefined | — | Describes the checked state of checkable controls; mixed represents partial selection for roles that support it. |
DetailsDeclared typeBooleanish | "mixed" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-colcount | Numberish | undefined | — | Provides the total column count of a table, grid, or treegrid, including columns absent from the DOM. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-colindex | Numberish | undefined | — | Provides an element’s one-based column position in a table or grid. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-colspan | Numberish | undefined | — | Provides the number of columns spanned by a table or grid cell. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-controls | string | undefined | — | Lists space-separated IDs of elements whose content or presence this control manages. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-current | Booleanish | "page" | "step" | "location" | "date" | "time" | undefined | — | Identifies the current item in a related set, optionally as a page, step, location, date, or time. |
DetailsDeclared typeBooleanish | "page" | "step" | "location" | "date" | "time" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-describedby | string | undefined | — | Lists space-separated IDs of elements that provide a supplementary description for the root. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-details | string | undefined | — | References an element containing structured details that users can explore further. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-disabled | Booleanish | undefined | — | Communicates that the control is unavailable; this attribute alone does not prevent clicks or dialog closure. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-dropeffect | "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined | — | Deprecated drag-and-drop semantics describing operations available when an object is dropped on the target. |
DetailsDeclared type"none" | "link" | "copy" | "execute" | "move" | "popup" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-errormessage | string | undefined | — | References the current error-message element, together with aria-invalid to express an invalid state. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-expanded | Booleanish | undefined | — | Describes whether the control or its controlled content is expanded; application logic manages expansion. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-flowto | string | undefined | — | References subsequent elements in an alternative reading order that assistive technology can offer to users. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-grabbed | Booleanish | undefined | — | A deprecated drag-and-drop state indicating whether the element is grabbed for dragging. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-haspopup | Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | — | Declares the kind of interactive popup the control can open, such as menu or dialog; it does not create a popup. |
DetailsDeclared typeBooleanish | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-invalid | Booleanish | "grammar" | "spelling" | undefined | — | Describes invalid input, including grammar or spelling errors. |
DetailsDeclared typeBooleanish | "grammar" | "spelling" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-keyshortcuts | string | undefined | — | Advertises keyboard shortcuts already implemented by the application; it does not register key handlers. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-label | string | undefined | — | Provides the root’s accessible name directly, such as the action name of an icon-only confirmation button. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-labelledby | string | undefined | — | Lists space-separated IDs of elements that supply the root’s accessible name. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-level | Numberish | undefined | — | Provides the one-based level of a hierarchical item, such as a heading or tree item. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-live | "off" | "assertive" | "polite" | undefined | — | Sets live-region announcement priority: off, polite, or assertive. |
DetailsDeclared type"off" | "assertive" | "polite" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-modal | Booleanish | undefined | — | Declares a supported dialog role as modal; dialog primitives implement the actual focus containment. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-multiline | Booleanish | undefined | — | Describes whether a textbox accepts multiple lines of input. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-multiselectable | Booleanish | undefined | — | Describes whether a selectable collection allows multiple selected items. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-orientation | "vertical" | "horizontal" | undefined | — | Describes whether a widget uses horizontal or vertical orientation. |
DetailsDeclared type"vertical" | "horizontal" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-owns | string | undefined | — | Uses element IDs to establish accessibility ownership not expressed by the DOM hierarchy. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-placeholder | string | undefined | — | Provides an expected-value or format hint for an empty input control; it does not replace the control’s name. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-posinset | Numberish | undefined | — | Describes a list or tree item’s one-based position in its set. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-pressed | Booleanish | "mixed" | undefined | — | Describes a toggle button’s pressed state; mixed indicates a mixed state, and application logic manages changes. |
DetailsDeclared typeBooleanish | "mixed" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-readonly | Booleanish | undefined | — | Declares that a supporting widget remains operable while its value cannot be edited. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-relevant | "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined | — | Selects which live-region changes warrant announcements, including additions, removals, and text changes. |
DetailsDeclared type"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-required | Booleanish | undefined | — | Declares that an input control requires a value; native constraints or application logic perform validation. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-roledescription | string | undefined | — | Provides a localized, user-facing description of the element’s existing role. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-rowcount | Numberish | undefined | — | Provides the total row count of a table, grid, or treegrid, including rows absent from the DOM. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-rowindex | Numberish | undefined | — | Provides an element’s one-based row position in a table or grid. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-rowspan | Numberish | undefined | — | Provides the number of rows spanned by a table or grid cell. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-selected | Booleanish | undefined | — | Describes selection for supporting roles such as options, tabs, and grid rows. |
DetailsDeclared typeBooleanish | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-setsize | Numberish | undefined | — | Provides the total item count in the set containing a list or tree item. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-sort | "none" | "ascending" | "descending" | "other" | undefined | — | Describes the sort direction of data associated with a table or grid header. |
DetailsDeclared type"none" | "ascending" | "descending" | "other" | undefined Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-valuemax | Numberish | undefined | — | Provides the maximum permitted value of a range widget. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-valuemin | Numberish | undefined | — | Provides the minimum permitted value of a range widget. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-valuenow | Numberish | undefined | — | Provides the current numeric value of a range widget. |
DetailsDeclared typeNumberish | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
aria-valuetext | string | undefined | — | Expresses a range widget’s current value as meaningful text, such as a named level. |
DetailsDeclared typestring | undefined Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | The action button’s text or icon; with asChild, provide a single child that receives the props and interaction behavior. |
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogAction.vue | ||
AlertDialogCancel
| Name | Type | Default | Description |
|---|---|---|---|
classNullable | ClassValue | — | Additional CSS classes merged into the cancel button root, which uses the outline variant. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogCancel.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | The cancel button content; activation requests closure, and Reka attempts to focus this button when the dialog opens. |
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogCancel.vue | ||
AlertDialogDescription
| Name | Type | Default | Description |
|---|---|---|---|
classNullable | ClassValue | — | Additional CSS classes merged into the dialog description element. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogDescription.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | Content explaining the operation and its consequences, associated by Reka with the dialog’s accessible description. |
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogDescription.vue | ||
AlertDialogHeader
| Name | Type | Default | Description |
|---|---|---|---|
classNullable | ClassValue | — | Additional CSS classes merged into the header container for the title and description. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogHeader.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | Header content, usually combining AlertDialogTitle and AlertDialogDescription. |
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogHeader.vue | ||
AlertDialogTitle
| Name | Type | Default | Description |
|---|---|---|---|
classNullable | ClassValue | — | Additional CSS classes merged into the dialog title element. |
DetailsDeclared typeClassValue Literal values
Default value details
Sourcepackages/ui/src/components/alert-dialog/AlertDialogTitle.vue | |||
| Name | Signature or type | Description |
|---|---|---|
#default | {} | The dialog title, associated by Reka with its accessible name; supply a title describing the operation to confirm.
|
DetailsDeclared type{}Sourcepackages/ui/src/components/alert-dialog/AlertDialogTitle.vue | ||
Reka UI Primitives
Import AlertDialogRoot (named AlertDialog in the example), AlertDialogTrigger, and AlertDialogPortal from reka-ui. The API list above covers the seven public BrutxUI sub-components. AlertDialogContent already composes a Portal and overlay internally, and forwards additional attributes and listeners to its content primitive, including aria-*, data-*, style, and @escape-key-down.
AlertDialogCancel uses the outline button variant. Provide the title through the default slot of AlertDialogTitle; without renderable content it displays the English fallback Alert, so applications should supply a meaningful localized title.
Native Attributes and Events
AlertDialogAction explicitly inherits Reka PrimitiveProps and Vue ButtonHTMLAttributes. The API list retains these inherited members, including HTML attributes, ARIA attributes, and on* event listeners. The root defaults to button, with a button type fallback of button. When using as or asChild, actual behavior depends on the rendered element: media events require a media root, form events occur on forms, and ARIA states must suit the element’s role.
Listeners such as onClick can be written as @click in templates. Activating AlertDialogAction requests dialog closure; an asynchronous handler does not delay that request. Use controlled open state on AlertDialogRoot when application logic must determine when to close.
See the HTML button attributes and RDFa attribute definitions for inherited attribute semantics. The Safari HTML attribute reference describes browser extensions such as autosave and results.
Accessibility
- Keyboard: Press
Escapeto close the dialog;AlertDialogCancelcloses the dialog on click;AlertDialogActionconfirms and closes the dialog - ARIA Attributes: The dialog uses the semantic
role="alertdialog"attribute - Focus Management: When the dialog opens, focus is trapped inside