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.

Edit this page
Last updated: Aug 7, 2026, 11:51 AM