> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# useApplicableSchema

> **useApplicableSchema**(): [`ApplicableSchema`](/api/toolbar/type-aliases/applicableschema/)

Defined in: toolbar/src/use-applicable-schema.ts:21

React hook that subscribes to getApplicableSchema for the active
editor and returns a stable reference across editor ticks while the
applicable set is unchanged.

Pair with [useToolbarSchema](/api/toolbar/functions/usetoolbarschema/) to render a static toolbar whose
buttons stay stable across selection moves and gate their enabled state
on whether the corresponding name is in the relevant set.

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Returns

[`ApplicableSchema`](/api/toolbar/type-aliases/applicableschema/)