Qwik
Ce contenu n’est pas encore disponible dans votre langue.
Use @subnoto/embed-qwik to render the signing UI in a Qwik app. Pass the iframe token and optional host; the component builds the embed URL.
Installation
pnpm add @subnoto/embed-qwik# or npm install @subnoto/embed-qwikGetting 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-qwik";
export default component$((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.