Skip to main content

DialogTrigger

@arolariu/components


@arolariu/components / DialogTrigger

DialogTrigger

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

Type Aliases

// was this page useful?