Skip to content
Unbondr Docs
Documentation / Supabase

SUPABASE

Bind records to cards and paginate.

Turn one editable card into a collection backed by a Supabase read plan.

Choose the element to repeat

  1. 1

    Keep one representative card

    In a three-card starter, keep a copy of the layout if needed, then remove the two example siblings. Keep the outer grid in place. Select the article or div that contains one complete card.

  2. 2

    Bind the collection

    In the element’s Data controls, open Data loop · Repeat this container. If a child is selected, use Select container for data loop and check the selection in Layers. Set Collection to posts. Selecting the entire grid repeats every card inside it for each row.

  3. 3

    Bind the children

    Select the heading’s text element and set Text to item.title. Select the anchor and set Link URL to item.href. For a heading without a link, Add link from data can wrap eligible content in an anchor. Make sure the destination page exists.

ElementBindingExpected result
Repeated articleCollection → postsOne article per returned row.
Heading inside articleText → item.titleRelease notes for the sample row.
Image inside articleImage URL → item.cover_imageThe current record’s image. Add this column to your own table and read plan first.
Single heading outside the loopText → posts.0.titleThe first returned record’s title.

Set the query limit and page size separately

The source row limit controls the records fetched. Paginate results divides that returned collection into pages. With 100 visible records, a source limit of 100 and Items per page set to 10, visitors get ten pages. A source limit of 20 gives two pages at the same page size.

The canvas page count uses the saved sample. Configure loading, empty and error text on the template. Check a short final page by testing 11 records at 10 items per page.

Receive updates after the first read

A fresh page load reads the current result from the generated data endpoint. For updates while the page stays open, enable Realtime on the source and include the table in Supabase’s Realtime publication. A change notification triggers a fresh read with the source’s selected fields, filters and visitor access.

Test by opening the published page, then editing a visible record’s title in Supabase. Watch for the data request and the updated heading without reloading. A canvas sample remains a snapshot until refreshed through the source workflow.