@anikitenko/bp5-rjsf-theme
Version:
BlueprintJS 5 theme for React JSON Schema Form
100 lines (67 loc) โข 3.5 kB
Markdown
[](https://www.npmjs.com/package/@anikitenko/bp5-rjsf-theme)
[](https://www.npmjs.com/package/@anikitenko/bp5-rjsf-theme)
[](https://github.com/anikitenko/bp5-rjsf-theme/actions/workflows/release.yml)
[](https://www.codefactor.io/repository/github/anikitenko/bp5-rjsf-theme)
[](https://github.com/anikitenko/bp5-rjsf-theme/actions/workflows/github-code-scanning/codeql)
[](LICENSE)
<p style="text-align: center">
<img src="./assets/logo.svg" width="420" alt="bp5-rjsf-theme logo" />
</p>
# @anikitenko/bp5-rjsf-theme
> ๐ A fully TypeScript-compatible BlueprintJS v5 theme for [react-jsonschema-form (RJSF)](https://github.com/rjsf-team/react-jsonschema-form)
This is the **first and only** RJSF theme implementation built from the ground up for **BlueprintJS v5**, written entirely in **TypeScript**, and compiled in **strict mode** to ensure **full compatibility** with the RJSF Theme system.
## ๐ง Project Status
โ ๏ธ This project is **still under active development**.
๐งช **Examples and documentation are coming soon!**
## โจ Features
- โ
**Strictly typed**: Powered by TypeScript and validated against `ThemeProps`.
- โ
**BlueprintJS v5-first**: Uses the latest Blueprint components for styling and behavior.
- โ
**Plug-and-play** usage with `@rjsf/core`.
## ๐งฉ Implemented Widgets
| Widget | Status |
| --------------------------------- | ------ |
| `TextWidget` | โ
|
| `UpDownWidget` | โ
|
| `SelectWidget` with `MultiSelect` | โ
|
| `CheckboxWidget` | โ
|
| `CheckboxesWidget` | โ
|
## ๐๏ธ Implemented Templates
| Template | Status |
| -------------------------- | ------ |
| `ObjectFieldTemplate` | โ
|
| `FieldTemplate` | โ
|
| `ErrorListTemplate` | โ
|
| `ArrayFieldTemplate` | โ
|
| `SubmitButton` | โ
|
| `TitleFieldTemplate` | โ
|
| `DescriptionFieldTemplate` | โ
|
| `WrapIfAdditionalTemplate` | โ
|
## ๐ง Usage
Using this theme is as easy as:
```ts
import { withTheme } from "@rjsf/core";
import { Bp5Theme } from "@anikitenko/bp5-rjsf-theme";
const Form = withTheme(Bp5Theme);
// Then use it like any RJSF form
<Form schema={yourSchema} />
```
## ๐ฆ Installation
```
npm install @anikitenko/bp5-rjsf-theme
# or
yarn add @anikitenko/bp5-rjsf-theme
```
## ๐ Reporting Issues
If you find bugs or Blueprint components not rendering as expected:
- Please open an [issue on GitHub](https://github.com/anikitenko/bp5-rjsf-theme/issues)
- Include a minimal schema and usage snippet to help us debug quickly
## โค๏ธ Contributing
PRs are welcome! If you're using BlueprintJS v5 + RJSF and want to improve or extend this theme โ fork away and submit a PR!
## ๐ License
MIT
> Made with ๐ by [@anikitenko](https://github.com/anikitenko)