A chat interface demonstrating the power of Markdown UI - interactive widgets embedded directly in markdown content.
This is a live demonstration of Markdown UI, a library that allows you to embed interactive UI components directly within markdown content. Instead of just static text, AI responses can include buttons, forms, sliders, and other interactive elements that users can engage with.
- Interactive Widgets: AI responses can include buttons, forms, dropdowns, sliders, and text inputs
- Streaming Chat: Real-time streaming responses from OpenAI's GPT models
- System Message Configuration: Customize the AI's behavior and personality
- Markdown UI Integration: Live rendering of interactive widgets in chat responses
- Clean Interface: Modern, responsive design with floating input and auto-scroll
The AI assistant is configured to demonstrate Markdown UI capabilities by:
- Using interactive widgets like button groups and forms in responses
- Starting with simple widgets that require minimal user effort
- Progressing to more complex forms after user engagement
- Keeping responses concise while showcasing widget functionality
- Button Groups: Multiple choice selections
- Forms: Multi-field input collection
- Sliders: Numeric value selection
- Select Dropdowns: Single or multi-select options
- Text Inputs: Free-form text entry
- Clone this repository
- Install dependencies:
npm install - Start the development server:
npm run dev - Add your OpenAI API key when prompted
- Start chatting and see interactive widgets in action!
Markdown UI transforms static markdown into interactive experiences. Learn more at:
- Main Repository: https://github.com/BlueprintDesignLab/markdown-ui/
- Documentation: Available in the main repo
- Examples: See this chat demo in action
- SvelteKit: Modern web framework
- TypeScript: Type-safe development
- Tailwind CSS: Utility-first styling
- OpenAI API: AI chat completions
- Markdown UI: Interactive widget rendering
- Marked: Markdown parsing
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
This is a demo project showcasing Markdown UI capabilities. For contributions to the core Markdown UI library, please visit the main repository.
MIT License - see the main Markdown UI repository for full license details.