Skip to main content
The useHexclaveApp hook returns a HexclaveClientApp object from the one that you provided in the setup flow. If you want to learn more about the HexclaveClientApp object, check out the StackApp documentation.

Usage

import { useHexclaveApp } from "@hexclave/next";

function MyComponent() {
  const hexclaveApp = useHexclaveApp();
  return <div>Sign In URL: {hexclaveApp.urls.signIn}</div>;
}