Tcomb Form Native screenshot

Tcomb Form Native

Author Avatar Theme by Gcanti
Updated: 11 Oct 2018
3135 Stars

Forms library for react-native

Categories

Overview

Tcomb-form-native is a library that provides a way to easily create forms in React Native based on domain models defined using the Tcomb library. It offers benefits such as reduced code, usability, accessibility features, and the ability to customize the look and feel of forms.

Features

  • Domain Driven Forms: Use the tcomb library to define domain models in JavaScript.
  • Validation: Utilize tcomb-validation library for validation functions on tcomb domain models.
  • Simplified Form Generation: Generate forms with <Form type={Model} /> based on the domain model.
  • JSON Schema Support: Supports JSON Schemas through tcomb-json-schema library.
  • Customizable Look and Feel: Customize the appearance of forms using React Native stylesheets.

Installation

To install the tcomb-form-native library, you can follow these steps:

npm install tcomb-form-native

Summary

Tcomb-form-native is a useful library for creating forms in React Native applications. It simplifies the process of form generation by leveraging domain models defined with the tcomb library and provides validation functions through tcomb-validation. The library offers benefits such as reduced code, automatic labels, validation, and customizable look and feel through React Native stylesheets. By following the setup instructions and utilizing the provided features, developers can efficiently create forms in their React Native projects.