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.
In three steps
-
Step 1 : Install the SDK: npm install @canardform/sdk.
-
Step 2 : Add <CanardForm form-id="…" /> to your component.
-
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
- No API or database to write.
- Works with Nuxt and Vue 3.3 and later.
- Accessible: labels, announced errors, focus handled between steps.
- Every published change shows without redeploying.
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.