Share link panel
The link of a form to copy, the embed code, and a switch that stops taking responses.
import { ShareLinkPanel } from "@forgeron/ui";Link to the form
https://forms.example.com/f/k3p9x2Embed code
<iframe src="https://forms.example.com/f/k3p9x2" title="Form" width="100%" height="640" style="border:0"></iframe>API → Props
| Prop | Type | Default | Description |
|---|---|---|---|
url | string | — | The public address of the form. |
open / defaultOpen | boolean | true | Whether the form takes responses. Controlled or not, with onOpenChange. |
embed | boolean | true | An iframe snippet under the link. |
closedMessage | string | — | Said when the form is closed. |
className | string | — | Extra classes. |