Bluma theme, fields and widgets for react-jsonschema-form.
Exports bulma
theme, fields and widgets for react-jsonschema-form
.
@rjsf/core >= 5.0.0
bulma >= 0.9.4
bulma-slider >= ^2.0.5 (for "ui:widget": "range")
yarn add @rjsf/core bulma bulma-slider
yarn add rjsf-bulma
import Form from 'rjsf-bulma';
or
import { withTheme } from '@rjsf/core';
import { Theme as BulmaTheme } from 'rjsf-bulma';
const Form = withTheme(BulmaTheme);
- Use compiled css.
import "rjsf-bulma/dist/index.css";
- Use scss (ex. customize color...)
@import "bulma/bulma.sass";
@import "bulma-slider/dist/css/bulma-slider.min.css";
@import "rjsf-bulma/scss/rjsf-bulma.scss";
- See Sample Files and click "customFilesInfo" button.
- See source, FilesInfoProps
Read our contributors' guide to get started.