Docs
Examples

Examples


llm-ui provides example code to get you started.

Browse the examples

View on GitHub

Markdown example

An example of how to use the markdown fallback block.

View on GitHub

Code block example

An example of how to use the code block with Shiki.

View on GitHub

Json block example

An example of how to use the Json block to build your own custom components.

View on GitHub

OpenAI example

An example of how to use llm-ui with OpenAI.

View on GitHub

Vercel AI example

An example of how to use llm-ui with vercel-ai

View on GitHub