(defcomp
  ()
  (div
    (~tw :tokens "space-y-2")
    (scope
      "demo-deps"
      (div
        (~tw :tokens "rounded-lg p-3 bg-stone-50 border border-stone-200")
        (p
          (~tw :tokens "text-sm text-stone-700")
          (emit! "demo-deps" "lodash")
          (emit! "demo-deps" "react")
          "Components emit their dependencies upward."))
      (div
        (~tw :tokens "rounded-lg p-3 bg-violet-50 border border-violet-200")
        (p (~tw :tokens "text-sm text-violet-800 font-semibold") "Emitted:")
        (ul
          (~tw :tokens "text-xs text-stone-600 list-disc pl-5")
          (map (fn (d) (li (code d))) (emitted "demo-deps")))))))
