One build, fourteen apps: see the showcase

Server-driven UI

Server-driven UI, decided by your users.

A server-driven UI describes a screen as data and draws it with components already in the app. TweakLane applies the idea per user. Each person arranges their own screens, and the SDK validates every layout against your catalog and locks before it draws.

Request accessRead the docs

What server-driven UI means

In a server-driven UI the app ships a set of components, and a document from a server says which of them appear on a screen and in what order. Change the document and the screen changes, with no new app build. The server decides what the user sees.

TweakLane keeps the mechanism and moves the decision. A screen's layout is a JSON document stored per user, so the person using the app decides how it is arranged, and the hosted backend carries that choice from device to device.

Dynamic UI without downloaded code

A dynamic UI is one that changes after the app is installed. In TweakLane that change is always data. A layout document holds ids, keys and values from your catalog: no code, no expressions, no URLs. The SDK draws it only with components your app compiled in and registered, so every feature is already in the binary you submitted for review. See App Review for how this relates to App Store guideline 2.5.2 and Google Play's device and network abuse policy.

How a screen is drawn

  • You register components in a catalog: a stable id, a builder, a props schema, the alternatives a component may be swapped for and a lock level.
  • You provide a default document per screen. It is the screen as you ship it and the fallback for every failure.
  • The engine reads the user's saved layout, validates it and draws it. A structural or lock failure renders your default document.
  • Layouts use stacks, grids, scrolling sections, lists, forms and pagers. Users move, hide, resize, swap and restyle parts within what you allow.

Validation on the device and on the server

Every stored or received document passes the same order of checks: field types, schema version, screen id, each component against the catalog, size hints, structure, locks from your default document and limits of 1 to 500 nodes and 64 KB. On the server a document with any issue is refused with HTTP 422 and the list of issues. The SDKs and the server run the same shared fixture cases, so a layout valid on one platform is valid on all of them. Layout documents lists the format.

Offline-first sync and kill switches

At launch the cached layout renders straight from disk and the network is never awaited. Edits are marked pending on the device before any network call, retried with backoff and pushed in the background. When two devices save at the same time, the server answers HTTP 409 with its current copy and the default resolver keeps the later edit per screen. A fetched layout is never swapped in while the user is looking at the screen.

Kill switches give you the server's side of control. Switch off the whole app, one screen or one component in the dashboard and every affected screen renders your default document for every user, without deleting anything. Switch it back and their designs return. Read Sync and kill switches for the details.

Compared with other tools

Weighing TweakLane against something else? Read how it differs from DivKit, LaunchDarkly, Firebase Remote Config and Airship.

Platforms

The same document format runs on iOS, macOS, Android, Windows, Linux, the web (React), Flutter, .NET and Qt. Each platform listed on the site passed its own test run before it was named: the documentation has a quickstart for each.

FAQ

Server-driven UI,
question by question

The format and every check are in the layout documents reference.

What is server-driven UI?

Server-driven UI is an approach where a server sends a description of a screen, usually JSON, and the app draws it with components it already contains. The layout can change without shipping a new build. In TweakLane the description is a layout document stored per user.

How is TweakLane different from a classic server-driven UI?

In a classic setup your team edits the server's screens for everyone. In TweakLane each user edits their own copy within your catalog and locks, and you keep control with kill switches. A new default layout ships in your next app build, not from the dashboard.

Does it download or run code?

No. A layout is data with ids, keys and values from your catalog. The SDK draws it only with components your app compiled in, and a design cannot add a feature that is not in the binary you submitted.

What happens when the network is down?

The cached layout renders from disk. Edits are saved on the device first and pushed when the connection returns. If there is no cached layout, your default document is drawn.

What if a layout is invalid?

On the device a structural or lock failure renders your default document, and a repairable issue drops just that value. The server refuses the write with HTTP 422 and the list of issues.

Which platforms are supported?

iOS, macOS, Android, Windows, Linux, web with React, Flutter, .NET and Qt, all reading the same document format and the same shared validation fixtures.

Give every user the app
they arrange.

Your catalog, your locks, a layout per user. SDKs, hosted backend, AI and dashboard, all in one.

MIT-licensed SDKs · Read the docs