Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@rjsf/chakra-ui
Advanced tools
Chakra UI theme, fields and widgets for react-jsonschema-form
.
Explore the docs »
View Playground
·
Report Bug
·
Request Feature
Exports chakra-ui
theme, fields and widgets for react-jsonschema-form
.
@chakra-ui/react >= 1.7.0
chakra-react-select >= 3.3.8
react >= 17.0.0
framer-motion >= 5.0.0
@rjsf/core >= 2.0.0
Refer to the rjsf installation guide and chakra-ui installation guide and for more details.
yarn add @chakra-ui/react@^1.7 @emotion/react@^11 @emotion/styled@^11 framer-motion@^5
yarn add @rjsf/chakra-ui @rjsf/core
import Form from '@rjsf/chakra-ui';
or
import { withTheme } from '@rjsf/core';
import { Theme as ChakraUITheme } from '@rjsf/chakra-ui';
// Make modifications to the theme with your own fields and widgets
const Form = withTheme(ChakraUITheme);
You can use ChakraProvider
, to customize the components at a theme level.
And, uiSchema
allows for the use of a "chakra"
"ui:option"
to customize the styling of the form widgets.
{
"ui:options": {
"chakra": {
"p": "1rem",
"color": "blue.200",
"sx": {
"margin": "0 auto"
}
}
}
}
It accepts the theme accessible style props provided by Chakra and Emotion.
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
FAQs
Chakra UI theme, fields, and widgets for react-jsonschema-form
The npm package @rjsf/chakra-ui receives a total of 5,063 weekly downloads. As such, @rjsf/chakra-ui popularity was classified as popular.
We found that @rjsf/chakra-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.