# StateSchema

Effect Schema used by makeState to encode, decode, and hydrate Combobox state.

## Signatures

```ts
export declare const StateSchema: Schema.Struct<{
    readonly id: Schema.String;
    readonly value: Schema.String;
    readonly open: Schema.Boolean;
    readonly activeId: Schema.NullOr<Schema.String>;
    readonly orientation: Schema.Literals<readonly [
        "vertical"
    ]>;
    readonly loop: Schema.Boolean;
    readonly rtl: Schema.Boolean;
    readonly virtualFocus: Schema.Boolean;
}>;
```



## Examples

```ts
import * as Schema from "effect/Schema";
import * as Combobox from "@typed/ui/Combobox";

const decodeState = Schema.decodeUnknownEffect(Combobox.StateSchema);
```
