npm.io
6.7.0 • Published 3d ago

@rjsf/antd

Licence
Apache-2.0
Version
6.7.0
Deps
4
Size
936 kB
Vulns
0
Weekly
0
Stars
15.8K

Build Status npm npm downloads Contributors Apache 2.0 License


Logo

@rjsf/antd

Ant Design theme, fields and widgets for react-jsonschema-form.
Explore the docs »

View Playground · Report Bug · Request Feature

Table of Contents

About The Project

Ant Design theme, fields and widgets for react-jsonschema-form.

product-screenshot

Built With

Getting Started

Prerequisites
  • antd >= 5
  • @ant-design/icons >= 5
  • dayjs >= 1.8.0
  • @rjsf/core >= 6
  • @rjsf/utils >= 6
  • @rjsf/validator-ajv8 >= 6
npm install antd @ant-design/icons dayjs @rjsf/core @rjsf/utils @rjsf/validator-ajv8
Installation
npm install @rjsf/antd

Usage

import Form from '@rjsf/antd';

or

import { withTheme } from '@rjsf/core';
import { Theme as AntDTheme } from '@rjsf/antd';

// Make modifications to the theme with your own fields and widgets

const Form = withTheme(AntDTheme);

Roadmap

See the general open issues.

Contributing

Read our contributors' guide to get started.

Contact

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

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

Keywords