> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-actions-triggers-prototype.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UsePasskeyAutofillResult

The return type of [`usePasskeyAutofill`](/docs/libraries/acul/react-sdk/API-Reference/Hooks/usePasskeyAutofill).

```typescript theme={null}
interface UsePasskeyAutofillResult {
  inputRef: RefObject<HTMLInputElement>;
}
```

## Properties

<ParamField body="inputRef" type="RefObject<HTMLInputElement>" required>
  A React ref to attach to the username input element. When bound, the SDK automatically configures the input's `autocomplete` attribute to `"username webauthn"`, enabling browser Conditional UI for passkey autofill. Binding this ref is optional if `autocomplete="username webauthn"` is already declared in your markup.
</ParamField>
