Skip to main content
Supports CID lookup, file upload, or both modes simultaneously. Results are returned via the onResult callback.

Props

PropTypeDefaultDescription
mode"upload" | "cid" | "both""both"Search input modes
acceptstringMIME types for file upload (e.g. "image/*")
maxSizenumberMax file size in bytes
onResult(result: { cid: string }) => voidCalled when a result is selected
classNamestringAdditional CSS classes