Docs
Examples
Examples
llm-ui provides example code to get you started.
Browse the examples
View on GitHubMarkdown example
An example of how to use the markdown fallback block.
View on GitHubCode block example
An example of how to use the code block with Shiki.
View on GitHubJson block example
An example of how to use the Json block to build your own custom components.
View on GitHubOpenAI example
An example of how to use llm-ui with OpenAI.
View on GitHubVercel AI example
An example of how to use llm-ui with vercel-ai
View on GitHub