diff --git a/index.json b/index.json index adaeb49..ab448c5 100644 --- a/index.json +++ b/index.json @@ -2,11 +2,15 @@ "templates": [ { "name": "openui-cloud", - "description": "OpenUI Cloud — free hosted models, managed history, tools & artifacts; fastest setup (recommended)" + "description": "OpenUI Cloud \u2014 free hosted models, managed history, tools & artifacts; fastest setup (recommended)" }, { "name": "openui-self-hosted", - "description": "Self-hosted — bring your own provider and self-manage the entire backend" + "description": "Self-hosted \u2014 bring your own provider and self-manage the entire backend" + }, + { + "name": "shadcn-chat", + "description": "OpenUI chat using shadcn/ui components" } ] } diff --git a/shadcn-chat/README.md b/shadcn-chat/README.md new file mode 100644 index 0000000..9cb6159 --- /dev/null +++ b/shadcn-chat/README.md @@ -0,0 +1,288 @@ +# Shadcn Chat Example + +A full-stack generative UI chatbot that demonstrates wiring [OpenUI Lang](https://www.openui.com/docs/openui-lang/overview) to a custom component library built on [shadcn/ui](https://ui.shadcn.com/). Instead of replying with plain text or markdown, the LLM generates structured UI markup that the client renders as shadcn/ui components — cards, tables, charts, forms, dialogs, and more — in real time as tokens stream in. + +Features: 45+ custom shadcn/ui components, multi-step tool calling, Server-Sent Events (SSE) streaming, and automatic light/dark theme support. + +