ferro-json-ui
JSON-based server-driven UI schema types for the Ferro web framework.
Define UI components, layouts, and data bindings as structured JSON. Ferro renders them to HTML on the server — no frontend build step required.
Features
- 30+ built-in components — tables, forms, cards, alerts, badges, buttons, tabs, charts, and more
- Layout system — stack, grid, sidebar, and dashboard layout primitives
- Action system — navigate, submit form, call API, open modal, trigger events
- Data binding — field-level value extraction with validation error resolution
- Plugin system — register custom components with associated CSS/JS assets
- Compile-time validation — component schema is checked at compile time via schemars
Usage
use ;
let view = JsonUiView ;
// In a Ferro handler, return the view directly
Ok
Documentation
Full documentation at docs.ferro-rs.dev.
License
MIT