pdfrx_web
    Preparing search index...

    Function PdfSearchBox

    • A search field with previous/next buttons and a 3 / 27 counter.

      Typing starts a debounced search (500 ms) that scans page by page, so the count keeps climbing while the trailing is shown. Enter goes to the next match, Shift+Enter to the previous one, Escape clears.

      Parameters

      • __namedParameters: PdfSearchBoxProps

        The destructured component props or operation options.

      Returns ReactNode

      The resulting ReactNode.

      <PdfrxProvider src="/manual.pdf">
      <PdfSearchBox placeholder="Find in document" />
      <PdfViewerSurface style={{ flex: 1 }} />
      </PdfrxProvider>