Skip to main content

Module render

Module render 

Source
Expand description

HTML render engine for JSON-UI views.

Walks a JsonUiView component tree and produces an HTML fragment using Tailwind CSS utility classes. All 26 built-in component types plus plugin components are supported. Plugin components are dispatched to the plugin registry; their CSS/JS assets are collected and returned separately.

Structs§

RenderResult
Result of rendering a view with plugin support.

Functions§

render_to_html
Render a JSON-UI view to an HTML fragment.
render_to_html_with_plugins
Render a JSON-UI view to HTML and collect plugin assets.