> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: createOpenUiLibrary()

> **createOpenUiLibrary**(`options?`: [`CreateOpenUiLibraryOptions`](/next/api/genui/openui/core/interfaces/CreateOpenUiLibraryOptions.md)): [`Library`](/next/api/genui/openui/core/type-aliases/Library.md)

Create a ReactLynx OpenUI library with caller-provided components and,
unless disabled, the built-in components.

## Parameters

| Parameter  | Type                                                                                                 |
| ---------- | ---------------------------------------------------------------------------------------------------- |
| `options?` | [`CreateOpenUiLibraryOptions`](/next/api/genui/openui/core/interfaces/CreateOpenUiLibraryOptions.md) |

## Returns

[`Library`](/next/api/genui/openui/core/type-aliases/Library.md)
