Mantine theme, fields and widgets for react-jsonschema-form
npm install @rjsf/mantine[![Build Status][build-shield]][build-url]
[![npm][npm-shield]][npm-url]
[![npm downloads][npm-dl-shield]][npm-dl-url]
[![Contributors][contributors-shield]][contributors-url]
[![Apache 2.0 License][license-shield]][license-url]
Mantine theme, fields and widgets for react-jsonschema-form.
Explore the docs »
View Playground
·
Report Bug
·
Request Feature
- Table of Contents
- About The Project
- Built With
- Getting Started
- Prerequisites
- Installation
- Usage
- Optional Mantine Theme properties
- Mantine Widget Optional Properties
- Roadmap
- Contributing
- Contact
Mantine theme, fields and widgets for react-jsonschema-form.
- react-jsonschema-form
- Mantine
- See the getting started guide on Mantine documentation.
- @mantine/core >= 8
- @mantine/hooks >= 8
- @mantine/dates >= 8
- dayjs >= 1.8.0
- @rjsf/core >= 6.0.0
``sh`
npm install @mantine/core @mantine/hooks @mantine/dates dayjs @rjsf/core
`sh`
npm install @rjsf/mantine
`javascript`
import Form from '@rjsf/mantine';
or
`javascript
import { withTheme } from '@rjsf/core';
import { Theme as MantineTheme } from '@rjsf/mantine';
// Make modifications to the theme with your own fields and widgets
const Form = withTheme(MantineTheme);
``
- To pass additional properties to widgets, see this guide.
#### Mantine Widget Optional Properties
- Mantine props for CheckboxWidget
- Mantine props for ColorWidget
- Mantine props for DateWidget
- Mantine props for DateTimeWidget
- Mantine props for PasswordWidget
- Mantine props for RadioWidget
- Mantine props for RangeWidget
- Mantine props for SelectWidget
- Mantine props for UpDownWidget
- Mantine props for TextWidget
- Mantine props for TextAreaWidget
- Mantine props for TimeWidget
See the open issues for a list of proposed features (and known issues).
Read our contributors' guide to get started.
rjsf team: https://github.com/orgs/rjsf-team/people
GitHub repository: https://github.com/rjsf-team/react-jsonschema-form
[build-shield]: https://github.com/rjsf-team/react-jsonschema-form/workflows/CI/badge.svg
[build-url]: https://github.com/rjsf-team/react-jsonschema-form/actions
[contributors-shield]: https://img.shields.io/github/contributors/rjsf-team/react-jsonschema-form.svg
[contributors-url]: https://github.com/rjsf-team/react-jsonschema-form/graphs/contributors
[license-shield]: https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat-square
[license-url]: https://choosealicense.com/licenses/apache-2.0/
[npm-shield]: https://img.shields.io/npm/v/@rjsf/mantine/latest.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@rjsf/mantine
[npm-dl-shield]: https://img.shields.io/npm/dm/@rjsf/mantine.svg?style=flat-square
[npm-dl-url]: https://www.npmjs.com/package/@rjsf/mantine
[product-screenshot]: https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/59a8206e148474bea854bbb004f624143fbcbac8/packages/mantine/screenshot.png