# studio-form

> `` let you manage your form state from a [JSON schema](https://json-schema.org/) configuration.

Latest version **0.5.3** (published 2019-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install studio-form
pnpm add studio-form
yarn add studio-form
bun add studio-form
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.3 |
| Published | 2019-10-18 |
| First published | 2019-06-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Author | LUONG |
| Maintainers | mizak926 |
| Keywords | async, react, hook, formik, json-schema, react-jsonschema-form, docz, form, touched |

## Links

- npm: https://www.npmjs.com/package/studio-form
- Repository: https://github.com/thedigitalstudio/studio-form
- Homepage: https://github.com/thedigitalstudio/studio-form#readme
- Issues: https://github.com/thedigitalstudio/studio-form/issues
- npm.io page: https://npm.io/package/studio-form

## Dependencies (12)

- [react](https://npm.io/package/react.md) ^16.8.6
- [slugify](https://npm.io/package/slugify.md) ^1.3.4
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.6
- [validator](https://npm.io/package/validator.md) ^11.1.0
- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.4.4
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.4.5
- [@emotion/core](https://npm.io/package/@emotion/core.md) ^10.0.10
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^10.0.11
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.4.5
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.0.0
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.4.4
- [@babel/plugin-proposal-export-default-from](https://npm.io/package/@babel/plugin-proposal-export-default-from.md) ^7.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.5.3 (latest) — 2019-10-18
- 0.5.2 — 2019-10-18
- 0.5.1 — 2019-09-16
- 0.5.0 — 2019-09-16
- 0.4.13 — 2019-08-06
- 0.4.12 — 2019-08-05
- 0.4.11 — 2019-08-05
- 0.4.10 — 2019-06-21
- 0.4.9 — 2019-06-19
- 0.4.8 — 2019-06-18
- 0.4.7 — 2019-06-13
- 0.4.6 — 2019-06-13
- 0.4.5 — 2019-06-13
- 0.4.4 — 2019-06-12
- 0.4.3 — 2019-06-07
- … 12 more at https://npm.io/package/studio-form/versions

## README

# Studio Form

`<Form />` let you manage your form state from a [JSON schema](https://json-schema.org/) configuration.
It's strongly inspired by [react-jsonschema-form](https://mozilla-services.github.io/react-jsonschema-form/) and [formik](https://jaredpalmer.com/formik/).

You can check documentation [here](https://studio-form.thedigitalstudio.now.sh/).

## Installation

```bash
$ yarn add studio-form
```

## quick usage

```javascript
import { Form, Field, FormContext } from 'studio-form'
```

```jsx
<Form
  uiSchema={{
    firstName: { placeholder: 'prénom' }
  }}
  formSchema={{
    title: 'A registration form',
    description: 'A simple form example.',
    required: ['firstName'],
    properties: {
      firstName: {
        type: 'string',
        title: 'First name',
        default: 'Chuck'
      }
    }
  }}
/>
```

Check out the [examples](http://studio-form.digitalstudio.tech) !

---
_Source: https://npm.io/package/studio-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
