@bpmn-io/form-js-playground
TypeScript icon, indicating that this package has built-in type declarations

1.8.4 • Public • Published

@bpmn-io/form-js-playground

CI

A tool to try out and explore @bpmn-io/form-js in a playful manner.

Playground Screenshot

Usage

Integrate the playground into your application:

import { Playground } from '@bpmn-io/form-js-playground';

const playground = new Playground({
  container: document.querySelector('#container'),
  schema,
  data,
});

const { schema, data } = playground.getState();

Styling

For proper styling include the necessary stylesheets, and font used:

<link
  href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,600;1,400&display=swap"
  rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet" />

<link rel="stylesheet" href="https://unpkg.com/@bpmn-io/form-js@0.10.0/dist/assets/form-js.css" />
<link rel="stylesheet" href="https://unpkg.com/@bpmn-io/form-js@0.10.0/dist/assets/form-js-editor.css" />
<link rel="stylesheet" href="https://unpkg.com/@bpmn-io/form-js@0.10.0/dist/assets/form-js-playground.css" />

Resources

License

Use under the terms of the bpmn.io license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.8.4
    87
    • latest

Version History

Package Sidebar

Install

npm i @bpmn-io/form-js-playground

Weekly Downloads

2,876

Version

1.8.4

License

SEE LICENSE IN LICENSE

Unpacked Size

3.42 MB

Total Files

18

Last publish

Collaborators

  • vsgoulart
  • skaiir-camunda
  • marstamm
  • bpmn-io-admin
  • nikku
  • barmac
  • philippfromme
  • maxtru