Skip to main content

Function: DialogTitle()

@arolariu/components


@arolariu/components / DialogTitle

Function: DialogTitle()

DialogTitle(props): ReactElement

Defined in: components/ui/dialog.tsx:337

Renders the accessible heading for dialog content.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

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

Example

<DialogTitle>Details</DialogTitle>

See

Base UI Documentation

// was this page useful?