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

# StyleSelector

> **StyleSelector** = `object`

Defined in: toolbar/src/use-style-selector.ts:123

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

## Properties

### send()

> **send**: (`event`) => `void`

Defined in: toolbar/src/use-style-selector.ts:130

#### Parameters

##### event

[`StyleSelectorEvent`](/api/toolbar/type-aliases/styleselectorevent/)

#### Returns

`void`

***

### snapshot

> **snapshot**: `object`

Defined in: toolbar/src/use-style-selector.ts:124

#### context

> **context**: `object`

##### context.activeStyle

> **activeStyle**: `StyleSchemaType`\[`"name"`\] \| `undefined`

#### matches()

> **matches**: (`state`) => `boolean`

##### Parameters

###### state

`"disabled"` | `"enabled"`

##### Returns

`boolean`