Skip to content

Connect it to your data

Connect a design to one of your apps, so a frame repeats for every record and a form saves one.

A design connected to an app stops using placeholder text. A list shows your real products; a form saves a real record. And when the design becomes an app, those connections are working code rather than something to build afterwards.

Connect an app#

In the Data tab on the right, pick one of your apps. Its collections and their fields load, and the rest of this page becomes available.

The app supplies the data model. If it has no collections yet, build them there first — see Collections and fields — or let an AI client create them over MCP.

A list#

Select a frame and make it a list. Choose the collection it shows.

The first child of the frame is the template. It repeats, once per record. Everything else about the frame — its auto layout, its gap, its padding — decides how the repetitions are arranged.

So: a frame with vertical auto layout and one card inside it is a list of cards. The same frame with horizontal layout and scrolling is a carousel.

Setting
Records ofThe collection
MaxThe most records the app will fetch
ShowHow many to draw on the canvas, so the design stays readable
When emptyWhat to show when there are no records

A form#

Make a frame a form and choose the collection it saves to.

Each input inside it is bound to a field. A button inside it, set to Send the form under Prototype, saves the record.

You can say what happens afterwards: stay and show a thank-you message, or go to a screen.

Binding a field#

Select a text, an image or an input inside a list or a form, and pick the field it shows — or, in a form, the field it saves to. The panel lists the collection's fields with their types.

A text bound to a field shows that field's value. An image bound to an image field shows the picture. An input bound to a field writes to it.

Outside a list or a form there is nothing to bind to, and the panel says so — a field only means something in the context of a record.

Quick add#

Under Blocks, and again at the bottom of the Data tab, each collection has List and Form buttons. They generate a working list or form for that collection, with the fields already bound, which you then restyle.

For a first pass this is much faster than drawing one. The result is ordinary layers.

What it becomes#

In the generated app:

  • A list becomes a fetch of that collection's records and a loop over them.
  • A form becomes a save to it.
  • A bound text becomes a field reference.

Lists and forms are the two things the review step before generating reports on, so you can see exactly which collections the app will read and write — see Make it an app.

Next#