Skip to main content

Function: DialogHeader()

@arolariu/components


@arolariu/components / DialogHeader

Function: DialogHeader()

DialogHeader(props): ReactElement

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

Lays out the title and supporting content at the top of a dialog.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

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

Example

<DialogHeader>
<DialogTitle>Details</DialogTitle>
</DialogHeader>

See

Base UI Documentation

// was this page useful?