> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raykoi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vue

> useRaykoiForm — same shape as React, returns refs.

```bash theme={null}
npm install @raykoi/sdk
```

Same shape as the React hook, but returns refs. Plain render-function components — no `.vue` SFC needed.

```javascript theme={null}
import { useRaykoiForm, RaykoiFieldError, RaykoiStatus } from '@raykoi/sdk/vue';

const { submit, submitting } = useRaykoiForm("YOUR_PUBLIC_ID");
```

```vue theme={null}
<form @submit="submit">
  <input name="email" type="email" required />
  <RaykoiFieldError name="email" />
  <button :disabled="submitting">{{ submitting ? 'Sending…' : 'Submit' }}</button>
  <RaykoiStatus />
</form>
```

<Info>
  Using Nuxt? See [Meta-Frameworks](/integrations/meta-frameworks) — SSR needs one extra step.
</Info>
