packages/semantic-ui/README.md
<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>
Exports semantic-ui theme, fields and widgets for react-jsonschema-form.
@semantic-ui-react >= 2@semantic-ui-css >= 2 (default theme for semantic-ui); see theming guide if you wish to customize@rjsf/core >= 6@rjsf/utils >= 6@rjsf/validator-ajv8 >= 6yarn add semantic-ui-css semantic-ui-react @rjsf/core
yarn add @rjsf/semantic-ui
import Form from '@rjsf/semantic-ui';
or
import { withTheme } from '@rjsf/core';
import { Theme as SemanticUITheme } from '@rjsf/semantic-ui';
// Make modifications to the theme with your own fields and widgets
const Form = withTheme(SemanticUITheme);
Below are the current default options for all widgets:
{
"ui:options": {
"semantic": {
"fluid": true,
"inverted": false,
"errorOptions": {
"size": "small",
"pointing": "above"
}
}
}
}
See the open issues for a list of proposed features (and known 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
<!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->