Xeplr OS / React UI

@xeplr/ui-schema-handler

React components for @xeplr/schema-handler — DynamicForm, SchemaEditor, FieldEditor

Install

npm install @xeplr/ui-schema-handler

Peer dependencies you provide: react, @xeplr/schema-handler

The idea

One field schema, two views: SchemaEditor edits it as a table and DynamicForm fills it in as a form. Neither validates — applySchema does, and its errors map straight onto the form.

Where it sits

Part of React UI — model / controller / design, split apart on purpose. Take the finished page, take the hook and bring your own design, or take neither and use the model without React at all.

Documentation for @xeplr/ui-schema-handler is in its README on npm.

These packages are what Xeplr Analytics is made of

If you are assembling this yourself, it may be worth seeing the assembled version first.