---
url: "https://vueda.dev/v3/reference/api/js/use/useViewCreate/functions/useViewCreate.md"
title: "useViewCreate"
---

# useViewCreate

## Overview

Extracts all reactive state and wiring for a create view of a model instance.
The caller owns the template; this composable owns initial value derivation, form context
setup, action availability, error combination, and submission handling.

Pass the component's `props` directly as `options`.

## Signature

`useViewCreate(options)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-options">options</span> | [ViewCreateOptions](/v3/reference/api/js/use/useViewCreate/types/ViewCreateOptions.md) | yes |  |

### Returns

[ViewCreateContext](/v3/reference/api/js/use/useViewCreate/types/ViewCreateContext.md)

## Source

`client/lib/use/useViewCreate.js:139`
