Solid
Ce contenu n’est pas encore disponible dans votre langue.
Use @subnoto/embed-solid to render the signing UI in a Solid app. Pass the iframe token and optional host; the component builds the embed URL.
Installation
pnpm add @subnoto/embed-solid# or npm install @subnoto/embed-solidGetting the token
Create the iframe token on your backend and pass it to the client. See Iframe token for the API.
Using the component
import { SignEmbed } from "@subnoto/embed-solid";
function SigningView(props: { iframeToken: string; host?: string }) { return ( <div style={{ width: "100%", height: "400px" }}> <SignEmbed token={props.iframeToken} host={props.host} title="Subnoto signing" /> </div> );}Pass token (required) and optionally host (default https://app.subnoto.com). Use a sized container so the iframe fills the space.