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

# Interface: CreateOpenUiLibraryOptions

Options for creating a ReactLynx OpenUI component library.

## Properties

### componentGroups?

> `optional` **componentGroups?**: [`ComponentGroup`](/next/api/genui/openui/core/interfaces/ComponentGroup.md)\[]

Additional groups, or the complete set when defaults are disabled.

***

### componentNames?

> `optional` **componentNames?**: readonly `string`\[]

Limit built-ins to these names, retaining the selected root automatically.
Custom components are always appended. Ignored when defaults are disabled.

#### Default Value

```ts
All built-in components.
```

#### Example

```ts
`componentNames: ['Stack', 'Text']`
```

***

### components?

> `optional` **components?**: [`DefinedComponent`](/next/api/genui/openui/core/type-aliases/DefinedComponent.md)\<`any`>\[]

Additional components, or the complete set when defaults are disabled.

***

### includeDefaultComponents?

> `optional` **includeDefaultComponents?**: `boolean`

Whether to include the built-in components and component groups.

#### Default Value

`true`

***

### root?

> `optional` **root?**: `string`

Root component name; supply its definition when defaults are disabled.

#### Default Value

`'Stack'`
