Show HN: Prefab – A generative UI framework for Python
Category: devtools
Tags: ui-framework, python, declarative-ui, mcp, react
Score: 7.0/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 6)
Prefab is a generative UI framework for Python that allows developers to build rich, interactive web interfaces using a Python DSL with 100+ prebuilt components. It's particularly interesting because it compiles to a JSON protocol rendered by a bundled React frontend, enabling UI creation entirely in Python for MCP apps, dashboards, and tools without JavaScript.
Target audience: backend devs, data engineers, ai engineers
Repository: https://prefab.prefect.io/docs/welcome · HTML · Apache-2.0 · 175 stars
View on Hacker News