> ## Documentation Index
> Fetch the complete documentation index at: https://anvil.servicetitan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hooks

> React hooks that extend Anvil2 for common ServiceTitan app interactions.

Hooks in the Extended Common library package up interaction logic that is awkward to get right by hand — debouncing, rate-limiting, and event coordination — behind a small, declarative API. Each hook ships from the package root.

## Installation

```shell theme={null}
npm install @servicetitan/anvil2-ext-common
```

Individual hooks may add their own peer dependencies — see each hook's documentation.

## Available hooks

* **[useInputGuards](/docs/extended-libraries/common/hooks/use-input-guards)** — debounces a text input and rate-limits an expensive `onCommit` callback across typing, paste, Enter, and clear.
