Skip to content

Qwik

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.

install.sh
pnpm add @subnoto/embed-qwik
# or npm install @subnoto/embed-qwik

Create the iframe token on your backend and pass it to the client. See Iframe token for the API.

SigningView.tsx
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.