# @whatwedo/frontier-forms

> The smartest web-forms.

Latest version **0.1.2** (published 2019-07-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @whatwedo/frontier-forms
pnpm add @whatwedo/frontier-forms
yarn add @whatwedo/frontier-forms
bun add @whatwedo/frontier-forms
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2019-07-29 |
| First published | 2019-07-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 285.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 255 |
| Author | Charly POLY |
| Maintainers | lukasluecke, xarem |

## Links

- npm: https://www.npmjs.com/package/@whatwedo/frontier-forms
- Repository: https://github.com/frontier-forms/frontier-forms
- Homepage: https://frontier-forms.dev
- Issues: https://github.com/frontier-forms/frontier-forms/issues
- npm.io page: https://npm.io/package/@whatwedo/frontier-forms

## Dependencies (7)

- [ajv](https://npm.io/package/ajv.md) ^6.10.0
- [react](https://npm.io/package/react.md) ^16.8.6
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [final-form](https://npm.io/package/final-form.md) ^4.12.0
- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.10.1
- [apollo-client](https://npm.io/package/apollo-client.md) ^2.5.1
- [graphql-2-json-schema](https://npm.io/package/graphql-2-json-schema.md) ^0.1.1

## Recent versions

- 0.1.2 (latest) — 2019-07-29

## README

# Frontier forms [![npm version](https://badge.fury.io/js/frontier-forms.svg)](https://badge.fury.io/js/frontier-forms)

Data-driven forms that let you focus on what matters: your application.

Provide a `GraphQL` mutation and `<Frontier/>` will do the rest for you.

Both fast to use and performant ⚡!

➡️ [See all capabilites by watching the introduction talk from React Europe 2019!](https://www.youtube.com/watch?v=Ovg9CYwWFBM&list=PLCC436JpVnK3H8Gm28TuFn2wjL9sj_q_Y&index=5&t=0s)

```js
import gql from "graphql-tag";
import { Frontier } from "frontier-forms";
import { myApplicationKit } from "./uiKit";
import { client } from "./apollo-client";

const mutation = gql`
    mutation($user: User!) {
      createUser(user: $user) { id }
    }
`;

<Frontier
  client={client}
  mutation={mutation}
  uiKit={myApplicationKit}
/>
```



<ul>
  <li>
    <h3>
      Simple
    </h3>
    <p>
      <strong>You already know how to use Frontier</strong>, because it works like other form libraries. <br/>
      More, Frontier will bring you the full data lifecycle management, <strong>with zero configuration</strong>.
    </p>
  </li>

  <li>
    <h3>
      Scalable
    </h3>
    <p>
      Just define your <strong>Application Frontier UI-kit</strong>. <br/>
      Then, take advantage of the <strong>UI-kit full rendering feature</strong> to bring consistent UX to your users.
    </p>
  </li>

  <li>
    <h3>
      Iterative
    </h3>
    <p>
      <strong>Choose your way</strong> to build forms, with or without Frontier UI-kit. <br/>
      Frontier will <strong>adapt to your needs</strong>.
    </p>
  </li>
</ul>

-------------------------

## Installation

In order to use Frontier, you will need:

- `react` (`^16.8.6`)
- `apollo-client` (`^2.5.1`)
- `graphql-tag` (`^2.10.1`)

<br />

Then, install `frontier-forms`:

```
yarn add frontier-forms
```

*OR*

```
npm i frontier-forms
```


--------------------------

## Links

- [What is Frontier](https://frontier-forms.dev/what-is-frontier)
- [Getting started](https://frontier-forms.dev/getting-started)
- [Frontier UI-Kit](https://frontier-forms.dev/frontier-ui-kit)
- [API: `<Frontier>`](https://frontier-forms.dev/api/frontier-component)
- [API: Frontier UI-Kit](https://frontier-forms.dev/api/frontier-ui-kit)

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