Back to React Jsonschema Form

README

packages/mantine/README.md

6.5.25.5 KB
Original Source

<!-- PROJECT LOGO --> <p align="center"> <a href="https://github.com/rjsf-team/react-jsonschema-form"> </a> <h3 align="center">rjsf-mantine</h3> <p align="center"> Mantine theme, fields and widgets for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
<a href="https://rjsf-team.github.io/react-jsonschema-form/docs/"><strong>Explore the docs »</strong></a>




<a href="https://rjsf-team.github.io/react-jsonschema-form/">View Playground</a>
·
<a href="https://github.com/rjsf-team/react-jsonschema-form/issues">Report Bug</a>
·
<a href="https://github.com/rjsf-team/react-jsonschema-form/issues">Request Feature</a>
</p> </p> <!-- TABLE OF CONTENTS -->

Table of Contents

<!-- ABOUT THE PROJECT -->

About The Project

Mantine theme, fields and widgets for react-jsonschema-form.

Built With

<!-- GETTING STARTED -->

Getting Started

Prerequisites

  • @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

Installation

sh
npm install @rjsf/mantine
<!-- USAGE EXAMPLES -->

Usage

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);

Optional Mantine Theme properties

  • To pass additional properties to widgets, see this guide.

Mantine Widget Optional Properties

<!-- ROADMAP -->

Roadmap

See the open issues for a list of proposed features (and known issues).

<!-- CONTRIBUTING -->

Contributing

Read our contributors' guide to get started.

<!-- CONTACT -->

Contact

rjsf team: https://github.com/orgs/rjsf-team/people

GitHub repository: https://github.com/rjsf-team/react-jsonschema-form

<!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->