For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/core/interfaces/CreateOpenUiLibraryOptions.md.
Lynx
  • English
  • Interface: CreateOpenUiLibraryOptions

    Options for creating a ReactLynx OpenUI component library.

    Properties

    componentGroups?

    optional componentGroups?: ComponentGroup[]

    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

    All built-in components.

    Example

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

    components?

    optional components?: DefinedComponent<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'

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.