Skip to content

A Vue and Nuxt form ready in one line

The <CanardForm> component renders the published form, the useCanardForm composable lets you write the whole template. Steps, conditions and files are handled.

Request access The detailed guide

In three steps

  1. Step 1 : Install the SDK: npm install @canardform/sdk.

  2. Step 2 : Add <CanardForm form-id="…" /> to your component.

  3. Step 3 : Replace one field with the #field slot, or all rendering with useCanardForm.

<script setup lang="ts">
import { CanardForm } from '@canardform/sdk/vue';
</script>

<template>
    <CanardForm form-id="YOUR_FORM" />
</template>

What you gain

Frequently asked questions

With Nuxt, how do I get the form in the HTML?

Read it on the server with useAsyncData(() => getForm('…')), then pass the result to the component with :definition. The form is then there from the first paint.

Can I replace a single field with my component?

Yes, with the #field slot: it receives the field, its error and the default control. A slot that renders nothing keeps the default rendering for that field.

Your first form is 5 minutes away.

Free to start. Change plans only when you need to.