

Data Viz DC: Generative User Interfaces with Prefab
Join Data Viz DC for a meetup on Generative UI with a talk about the Prefab framework from Prefect!
Prefab is a UI framework for building rich, interactive interfaces in Python. Create MCP Apps, data dashboards, interactive tools, and more with 100+ prebuilt components. A bundled React renderer turns everything into a self-contained application.
Composing frontends in Python is blasphemous surprisingly natural. Prefab’s DSL uses context managers for nesting components, making it both token-efficient and streaming-compatible. As a result, you (or your agent) can declare UIs in advance or generate them on the fly. A reactive state system handles client-side interactivity with no JavaScript required, and MCP and REST backends are (optionally!) supported out of the box
Data Viz DC is a part of Data Community DC: http://www.dc2.org/