Skip to main content

Function: AlertDialogTitle()

@arolariu/components


@arolariu/components / AlertDialogTitle

Function: AlertDialogTitle()

AlertDialogTitle(props): ReactElement

Defined in: components/ui/alert-dialog.tsx:306

Renders the accessible heading for alert dialog content.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

  • Renders an <h2> element by default
  • Built on Base UI Alert Dialog
  • Supports the render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<AlertDialogTitle>Are you sure?</AlertDialogTitle>

See

Base UI Documentation

// was this page useful?