@json-render/svelte is a Svelte‑5 focused library that enables rendering of json‑render specifications. It supplies core components, providers, and helper utilities for building generative UI dashboards, widgets, and streaming interfaces directly from prompts.
Highlights
Provides the Renderer component to render any json‑render spec with a typed registry
Includes JsonUIProvider which bundles state, visibility, validation, and action contexts
Typed defineRegistry utility for creating component catalogs and action handlers
Context helpers such as getStateValue, getBoundProp, isVisible, and getAction simplify integration
Streaming support via createUIStream and createChatUI for real‑time UI updates
auto-generated
Vercel Labs · via json-render
Context
Audience
Frontend developers using Svelte who want to build prompt‑driven, component‑based user interfaces
DomainGenerative UI development
Formatopen source library with documentation website