Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lucidtech/flyt-form

LucidtechAI11Apache-2.02.0.9TypeScript support: included

Flyt form React components

readme

Flyt form React component library

Default React components used by Flyt forms.

Documentation

Storybook

You can see an interactive demo version of components at https://lucidtechai.github.io/flyt-form/.

Usage

This library expects react and react-dom to be present (peer dependencies). The library also assume the Bootstrap Dashkit theme to be present for a substantial amount of its styling.

Using Node.js/NPM

npm install @lucidtech/flyt-form

import { Input } from '@lucidtech/flyt-form';

const Form = () => (
  <form>
    <label htmlFor="input">Input</label>
    <Input id="input" />
  </form>
)

CDN/<script>

The library can be used as a UMD bundle from https://unpkg.com/@lucidtech/flyt-form

Development

For development on the library, you need a working Node.js environment with NPM installed.

  1. git clone git@github.com:LucidtechAI/flyt-form.git && cd flyt-form
  2. npm install