Fieldia

Open source · MIT · 0.36 What’s new in 0.36

Write the screen once.
Fieldia runs it in your app.

Customer records, orders, invoices, bookings: the screens your team works in, in your look and your language.

Each screen is a JSON file, not a component. Fieldia draws it in React, Vue, Angular or plain JavaScript, and hands every record to your backend.

Get started
customer.page.json The whole page
{
  "fieldia": "0.13",
  "id": "customer",
  "title": "Customer",
  "data": { "kind": "record",
    "model": "customer" },
  "records": { "one": "customer",
    "other": "customers",
    "a": "a customer" },
  "phone": { "country": "DE" },
  "fields": {
    "name": { "type": "char",
      "label": "Name",
      "required": true },
    "phone": { "type": "char",
      "label": "Phone" },
    "company": { "type": "boolean",
      "label": "A company" },
    "vat": { "type": "char",
      "label": "VAT number" },
    "credit": { "type": "monetary",
      "label": "Credit limit",
      "currency": "EUR" },
    "stage": {
      "type": "selection",
      "label": "Stage",
      "options": [
        { "value": "lead",
          "label": "Lead" },
        { "value": "customer",
          "label": "Customer" }
      ]
    }
  },
  "layout": {
    "type": "sheet", "id": "sheet",
    "title": { "field": "name" },
    "statusbar": { "field": "stage" },
    "children": [
      {
        "type": "section",
        "id": "about", "columns": 2,
        "children": [
          { "type": "field",
            "id": "phone",
            "field": "phone",
            "widget": "phone" },
          { "type": "field",
            "id": "credit",
            "field": "credit" },
          { "type": "field",
            "id": "company",
            "field": "company",
            "widget": "toggle" },
          { "type": "field",
            "id": "vat",
            "field": "vat",
            "invisible": "not company",
            "required": "company" }
        ]
      },
      {
        "type": "related",
        "id": "invoices",
        "title": "Their invoices",
        "model": "invoice",
        "field": "customer",
        "fields": {
          "number": {
            "type": "char",
            "label": "Number"
          },
          "due": { "type": "date",
            "label": "Due" },
          "amount": {
            "type": "monetary",
            "label": "Amount",
            "currency": "EUR"
          },
          "state": {
            "type": "selection",
            "label": "Status",
            "options": [
              { "value": "sent",
                "label": "Sent" },
              { "value": "paid",
                "label": "Paid" }
            ]
          }
        },
        "columns": [
          "number", "due", "amount",
          "state"
        ],
        "rowTones": [
          { "tone": "danger",
            "label": "Overdue",
            "when": "state == 'sent' and due < today()" }
        ],
        "viewAll": {
          "page": "invoices"
        }
      }
    ]
  }
}

1 · A question

It starts as a form someone answers

Fill it in. Leave your name out and send it: Fieldia says what is missing, in the reader’s language. Pick “Something else” and the page asks which one, because the page says so, not your code. Switch the skin or the language: Arabic turns the whole form right to left.

  • Conditions such as framework != 'other', checked as people type
  • Two looks, underline and outlined, scoped to the form
  • English, Arabic, German and French, each a small add-on script; Turkish, Persian, Urdu and Spanish too, machine-assisted, not yet reviewed by a native speaker

2 · A record

Then the same engine runs the business

The page grows into a record: a status bar that moves, counters that open related records, lines that add up, totals in the record’s currency. Watch the quotation get sent, a line change, the totals follow and the order confirm. It is the same viewer as the form above, given a bigger page.

  • Status bar, stat buttons, badges, ribbons, alerts and tabs
  • Lines as a table or a spreadsheet grid, with sections and notes
  • Values worked out as you type: sum(order_line, 'subtotal')

S00071 · a quotation for Dar El Shifa Hospital

Everything a business record has →

3 · Everything in it

Watch one record grow into everything a business screen needs

Keep scrolling. Every change below happens to the same page of JSON, in the real viewer.

  1. 01 / 11

    A page is a list of fields

    Write down what the record holds. Fieldia draws each field with its label, and checks what is typed in it.

  2. 02 / 11

    Over 35 widgets

    Money in its currency, a rating, tags, a date, a switch: each field drawn the way its value reads best.

  3. 03 / 11

    Rules, as people type

    Turn on the site visit and its date appears, now required, because the page says so, not your code.

  4. 04 / 11

    Buttons that act

    Confirm runs its steps: the status moves, the record is saved, and your server hears about it.

  5. 05 / 11

    Lines that add up

    Quantities change and every subtotal and the total follow, as they would in a spreadsheet.

  6. 06 / 11

    The conversation beside it

    Messages, notes, @mentions, files and to-dos stay with the record, beside the sheet.

  7. 07 / 11

    In a list, with search

    The record takes its place among the others: filter them, group them, act on several at once.

  8. 08 / 11

    In any of eight themes

    Material, Fluent, Odoo, Google Forms, Apple and more: the same page, dressed to fit your product.

  9. 09 / 11

    In Arabic, right to left

    Every part turns, from the labels to the status bar. English, Arabic, German and French are built in; Turkish, Persian, Urdu and Spanish too, machine-assisted, not yet reviewed by a native speaker.

  10. 10 / 11

    Saved by your backend

    One small interface loads and saves. Your server fills in fields as they change, and its refusals land on them.

  11. 11 / 11

    One page. Every framework.

    All of it from one JSON page, in plain JavaScript, React, Vue or Angular. Open source, MIT.

app.example.com/quotes/0142

Send messageLog noteActivity

Today Call Nadia about the delivery day

Nadia Farouk The meeting rooms first, please. Can you start on the 2nd?

You @Nadia yes, the 2nd. The plan is attached.

fit-out-plan.pdf

Status: Confirmed × Search quotes…

QuoteCustomerTotalStatus
Q-2026-0139Nile Traders$8,120.00Quotation
Q-2026-0142Delta Foods$13,360.00Confirmed
Q-2026-0144Amira Clinics$5,400.00Confirmed
Q-2026-0147Sahel Resorts$21,900.00Sent

✓ Quote confirmed

"invisible": "not site_visit"

Your serverPUT /quotes/142✓ Saved
  • JavaScript
  • React
  • Vue
  • Angular

Each part, in more depth

4 · Any framework

One page, written once, in every framework

Every binding is a thin shell around one plain-DOM viewer, so the same page draws the same form, to the pixel, wherever you mount it.

<script src="https://cdn.jsdelivr.net/npm/@fieldia/viewer@0.36.1/bundle/fieldia.js"
  integrity="sha256-dQgaaTAAs7rFub4PEFyNjjl4qIKeFCJapyCYxHKR81U="
  crossorigin="anonymous"></script>
<script>
  Fieldia.mountViewer(document.getElementById('app'), {
    page, dataSource: Fieldia.createMemoryDataSource(),
  });
</script>

5 · Ready to start

Start from a template, in the look you know

19 ready pages — contact forms, surveys, bookings, invoices, orders, tasks — each one JSON file. Eight themes dress any of them as Material, Fluent, Apple, Bootstrap, shadcn, Ant Design, Odoo or Google Forms, light or dark. This one changes as you watch; pick a theme to keep it.

const page = await fetch('/templates/newsletter.page.json')
  .then((r) => r.json());
Fieldia.mountViewer(host, { page, theme: 'fluent' });

The newsletter template

See all 19 templates

6 · Proven

Nineteen real ERP screens, already running on it

We rebuilt nineteen screens of a working ERP, from a two-field dialog to a legal case with fifteen tabs and twelve tables, each with its own records, buttons and rules. Open any of them: each works in all four frameworks.

7 · No code needed

Build it in a designer that is open too

Drag fields in, type labels where they stand, set when a field shows in plain sentences, try it at a phone’s width in Arabic, and publish a version. The designer writes the same JSON. It is MIT like the rest, where other form libraries sell their builder.

Open the designer

The Fieldia designer editing a customer record: the toolbox, the sheet on its canvas and the settings panel

8 · Tested and open

Tested on every change, and small enough for a script tag

What you can count on, what your server must still check, and which browsers each change is tested in: What Fieldia promises.

  • 2,400+browser tests, driving the demos by mouse and keyboard in every framework
  • 5,500+unit tests across the fifteen packages
  • 197KB gzipped: the engine in one script tag, no build step; its larger parts load as a page first uses them
  • AAWCAG 2.2, checked with axe on every demo, light and dark, and in Arabic

Build your first page in five minutes

One script tag, or a package for your framework. Fieldia has no backend of its own: your app loads and saves records through a small interface.