Skip to main content

Variable: DialogTrigger

@arolariu/components


@arolariu/components / DialogTrigger

Variable: DialogTrigger

const DialogTrigger: ForwardRefExoticComponent<Omit<DialogTriggerProps, "ref"> & RefAttributes<HTMLButtonElement>>

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

Opens the dialog from an interactive trigger element.

Remarks

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

Example

<DialogTrigger>Open</DialogTrigger>

See

Base UI Documentation

// was this page useful?