(defcomp
  ()
  (~examples/page-content
    :title "Lazy Loading"
    :description "Use sx-trigger=\"load\" to fetch content as soon as the element enters the DOM. Great for deferring expensive content below the fold."
    :demo-description "Content loads automatically when the page renders."
    :demo (~examples/lazy-loading-demo)
    :sx-code "(div\n  :sx-get \"/sx/(geography.(hypermedia.(example.(api.lazy))))\"\n  :sx-trigger \"load\"\n  :sx-swap \"innerHTML\"\n  (div :class \"animate-pulse\" \"Loading...\"))"
    :handler-names (list "ex-lazy")
    :comp-placeholder-id "lazy-comp"
    :wire-placeholder-id "lazy-wire"))
