(defcomp ()
  :affinity :client
  (div (~tw :tokens "rounded border border-violet-200 bg-violet-50 p-4")
    (div (~tw :tokens "flex items-center gap-2 mb-2")
      (span (~tw :tokens "inline-block w-2 h-2 rounded-full bg-violet-400"))
      (span (~tw :tokens "text-sm font-mono text-violet-600") ":affinity :client + IO"))
    (p (~tw :tokens "text-violet-800 mb-3") "Client affinity overrides IO — calls proxied to server via /sx/io/.")
    (~docs/code :src (highlight "(component-affinity comp)" "lisp"))))
