Skip to main content

Frontend Integration

The CRUD package ships with React components that connect to your BaseCrudView endpoints and render the full UI — no custom table or detail code required for standard cases.

Components

ComponentImport fromPurpose
CrudHandler@zango-core/crud/tableFull list + detail view for a CRUD endpoint
TableBody@zango-core/crud/tableTable body — swap to change list layout
FormRenderer@zango-core/crud/formRenders a form from a backend schema
WorkflowStatus@zango-core/crud/tableStandalone workflow status + transitions UI
WorkflowTags@zango-core/crud/tableStandalone workflow tags UI

When to Use What

ScenarioApproach
Standard list/create/edit/delete on one modelCrudHandler with page_type: "crud" in AppBuilder
Same as above but with a custom detail drawerCrudHandler with customDrawerDetail prop
Full-page detail view (navigate on row click)CrudHandler with customTableBody + customMainDetail
Custom list layout (kanban, calendar, cards)CrudHandler with customTableBody
Dashboard, wizard, or no list/detail patternFully custom React component

Sections

SectionDescription
CrudHandlerAll CrudHandler variants and props
FormRendererServer-driven and local RJSF forms
WorkflowStatus & TagsStandalone workflow components