Formstone is designed to be implemented easily without negatively impacting an existing project. Scripts are wrapped in self-executing closures and styles are individually name spaced to avoid collisions.
npm install formstone
Components can be implemented by including the required files and dependencies directly, or by hooking into a current build scripts:
<link href="/components/formstone/dist/css/component.css" rel="stylesheet"> <script src="/components/formstone/dist/js/component.js"></script>
// loads plugin and dependencies require('formstone/js/background.js');
When customizing any component, best practice is to deploy the production files as provided then implement and extend the component's properties in local scripts and styles. Themes are the preferred way to customize Formstone components. Read more about theming components.
Find a bug? Have an idea for new functionality? Check out the Contributing Guide.
Bug reports and feature requests can be filed on the GitHub issue tracker.