API Reference

Public Hooks

Import from @verbb/plugin-kit-react/hooks.

Available hooks

HookPurpose
useTranslationTranslate UI strings using the configured package translator.

useTranslation

ts
import { useTranslation } from '@verbb/plugin-kit-react/hooks';

const t = useTranslation();
return <span>{t('Save')}</span>;

Delegates to translate from @verbb/plugin-kit-forms, which respects setTranslationCategory / setTranslateFunction — configured via PluginKitProvider or configurePluginKitReact.

Also re-exported from the package root @verbb/plugin-kit-react.

Fault hooks

Error-boundary hooks (useAppFault, useUiWatchdog) live on the @verbb/plugin-kit-react/fault subpath — see React App APIs.

Edit this page
Last updated: Jul 19, 2026, 4:42 PM