
svelte-markdown · streaming markdown + HTML renderer for Svelte 5
Render markdown, raw HTML, and LLM streams in Svelte 5 with 24 markdown renderers, 83 HTML tag renderers, allow/deny utilities, and secure defaults.
Frontend developers using Svelte who want to build prompt‑driven, component‑based user interfaces
**@json-render/svelte** provides Svelte 5 components, providers, and helpers for rendering json-render specifications from prompts, constrained to defined components.
Installation requires npm install @json-render/core @json-render/svelte with peer dependencies svelte ^5.0.0 and zod ^4.0.0. Key elements include Renderer for specs, JsonUIProvider wrapper, DefineRegistry for typed registries and actions, context helpers like getStateValue and getAction, plus streaming functions CreateUIStream and CreateChatUI.