Library
A component library: the components the model may use, how to render them, and what the system prompt says about them (port of Library). Start from openuiChatLibrary or openuiLibrary, and restyle or drop components with replacingView and removing.
Functions
Link copied to clipboard
Link copied to clipboard
A library in which view draws the component named name, which keeps its props, such as to restyle the chat library's buttons. view gets the component's props, and the library's own view of it, ComponentRenderProps.DefaultView, to wrap or restyle. It is the same library when it has no such component, or when the component is data its parent reads.