# Select.makeCollection

Creates a scoped Collection for Select items.

## Signatures

```ts
export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;
```



## Examples

```ts
import * as Effect from "effect/Effect";
import * as Select from "@typed/ui/Select";

const program = Effect.scoped(
  Effect.gen(function* () {
    const collection = yield* Select.makeCollection();
    return yield* collection;
  }),
);
```
