Skip to content

Composed pages

  • Composed pages: Pages built from a JSX layout, with their own address, sidebar entry and role limits, reading the API under the same access rules as the lists.
  • Layout checks: The build refuses a layout with code, unknown props or unknown fields, and names the file and place.
  • Page parameters (beta): A page holds a choice in its address with SelectInput, reads it in its layout, and shows the details of a row chosen in a table.
  • Conditions: Part of a page shows only while a condition on a record, a count or the time, now() + 7d, holds.
  • Typed layouts (beta): layout() and recordLayout() write a page’s tree with the record and the app’s tables in hand, so TypeScript checks every resource, column, sort and field against the app, and record blocks take a function of their record.
  • The condition builder (beta): A filter is an arrow, (f) => f.status.eq('open').and(f.due_at.lt(now().plus('7d'))), and a condition the same builder’s, written as AIP-160 for you.
  • Paths and scopes (beta): Layout values resolve through the records around them with paths relative to those records, such as ../name, this.name and @index; typos and reads that would wait on other reads fail the build, and Show, Switch and Match choose what is drawn.
  • Field values and expanding lines (beta): Layouts show a record’s values inline in text and links with react-admin’s field components, such as DateField and NumberField, and a line that opens to show more with Details and Summary.
  • App addresses: Links to lists, records, create forms and pages are typed addresses that can carry filters and prefilled values.
  • Component fallbacks: A custom component declares what a client that cannot draw it shows instead, or nothing, and the web shows it too when the component is missing or throws.
  • Text form: Every layout block renders to Markdown text through one shared function, built up from its children, as the last-resort fallback and for MCP clients and LLMs.
  • Per-user pages: Each user gets the page without the parts, fields and actions they cannot use.
  • Layout blocks: Pages, responsive grids, cards and links.
  • Tailwind classes (experimental): Layouts can carry Tailwind classes, on plain elements and on blocks, for pages too custom for blocks.
  • Full-width pages: A page fills the whole area beside the sidebar instead of a centred column, for a dashboard with many blocks.
  • Data blocks: Counts, tables, single records, rows of cards, field values and progress bars.
  • Related records (beta): Layouts repeat over a record’s related records, the records a JSON list of keys points at and the items of a JSON list with ReferenceManyField, ReferenceArrayField, ArrayField, RecordsIterator and ReferenceField, nested as deep as needed, and a table draws such a list.
  • Actions in a list (beta): An action placed in a list of related records runs on every loaded record of that list, with one confirmation that counts them.
  • Read plans (beta): The build plans one read per data block ahead of time, derives the fields each read needs, and checks every nested read’s indexes. Every read of a page’s records, card rows, record rows, tables, threads, charts, counts, related lists and the custom components that declare their reads starts at once when it opens, those inside the records of another block included, and a data block’s text form lists its records; record rows of favorites or saved searches, record rows inside the records of another block, and custom components that fetch their own data, still load on their own.
  • Table columns on a phone: Table blocks choose which columns show at mobile width by priority, with a sensible default, and fall back to a Markdown table.
  • Row buttons (experimental): A table’s rows carry a button labelled by a field of the row, such as its next step; the row decides where it goes: a record tab a field names, a list with a filter built from its fields, a list whose resource and filter its fields hold, or an outside https link a field holds. On mobile width the button sits under the row’s first cell.
  • Record rows: A sideways row of cards for a filter, favorites or saved searches, with a count and new-record marks.
  • Record cards: Full-width cards with fields and buttons, stacked or in a carousel.
  • Diff block (beta): A Diff block shows a unified patch the record holds, side by side on wide screens and in one column on a phone; it shows stored patches and does not compute them.
  • Image block: A picture one of the app’s API functions draws for the reader, such as a system map, at the size and theme the client asks, refreshed on a timer; a client that draws no images shows its alt text, or nothing.
  • Chart block: Counts, sums or averages by value or by date, as bars, lines or a donut, and over time split by a second field.
  • Timeline block (beta): A Timeline block draws records as bars in lanes over time, each bar’s parts coloured by a status field and its waits striped, with the chosen bar’s details under it.
  • Graph block (beta): A Graph block draws records as nodes and the records that link them as edges, laid out in layers or by force or at stored positions, each node in the region of its group, coloured by its status and drawing contents of the layout’s own, each edge with a label, a status colour and a moving, dashed or dotted line, with the chosen node’s details beside it.
  • Conversations: A chat declared in the layout: a thread of a resource’s messages under each sender’s name and time, following new ones as they arrive, and a box that sends one as the signed-in user.
  • Tool calls in threads: Conversation threads show tool calls in time order, with a status and an expandable input and result.
  • Buttons and forms: Buttons for named actions, and create or edit forms in a dialog.
  • Settings block: Each person’s own settings from a resource with one record per person, saved as they change, with defaults until the first save.
  • Users block: User management on any page: find users, set roles, block them and invite by email.