Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-staging.skybridge.tech/llms.txt

Use this file to discover all available pages before exploring further.

The useRequestClose hook returns a function that asks the host to dismiss the view. Use it when the user has finished a flow and you want to return them to the conversation.
import { useRequestClose } from "skybridge/web";

function DoneButton() {
  const requestClose = useRequestClose();

  return (
    <button onClick={() => requestClose()}>
      Done
    </button>
  );
}