(defcomp
  (&key items page)
  (<>
    (map
      (fn
        (item)
        (div
          (~tw :tokens "px-4 py-3 border-b border-stone-100 text-sm text-stone-700")
          item))
      items)
    (when
      (<= page 5)
      (div
        :id "scroll-sentinel"
        :sx-get (str "/sx/(geography.(hypermedia.(example.(api.scroll))))?page=" page)
        :sx-trigger "intersect once"
        :sx-target "#scroll-items"
        :sx-swap "beforeend"
        (~tw :tokens "p-3 text-center text-stone-400 text-sm")
        "Loading more..."))))
