github rjsf-team/react-jsonschema-form v0.20.0

latest releases: 5.18.3, v5.18.3, 5.18.2...
8 years ago
  • Merged #100: Switched to use Bootstrap semantics

The library now generates Bootstrap semantics by default, so one can use it along themes to have decent looks for their forms.

From the updated docs:

Styling your forms

This library renders form fields and widgets leveraging the Bootstrap semantics. That means your forms will be beautiful by default if you're loading its stylesheet in your page.

You're not necessarily forced to use Bootstrap; while it uses its semantics, it also provides a bunch of other class names so you can bring new styles or override default ones quite easily in your own personalized stylesheet. That's just HTML after all :)

If you're okay with using styles from the Bootstrap ecosystem though, then the good news is that you have access to many themes for it, which are compatible with our generated forms!

Here are some examples from the playground, using some of the Bootswatch free themes:



Last, if you really really want to override the semantics generated by the lib, you can always create and use your own custom widget, field and/or schema field components.

Don't miss a new react-jsonschema-form release

NewReleases is sending notifications on new releases.