
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@sjsf/form
Advanced tools
Svelte 5 library for creating forms based on JSON schema. Unofficial port of react-jsonschema-form.
Install as a community add-on using the Svelte CLI.
npx sv add @sjsf
<script lang="ts">
import { createForm, BasicForm, type Schema } from "@sjsf/form";
import { resolver } from "@sjsf/form/resolvers/basic";
import { translation } from "@sjsf/form/translations/en";
import { createFormMerger } from "@sjsf/form/mergers/modern";
import { createFormIdBuilder } from "@sjsf/form/id-builders/modern";
import { createFormValidator } from "@sjsf/ajv8-validator";
import { theme } from "@sjsf/basic-theme";
import "@sjsf/basic-theme/css/basic.css";
const schema: Schema = {
title: "Tasks",
type: "array",
items: {
type: "object",
properties: {
name: {
type: "string",
title: "Name",
},
description: {
type: "string",
title: "Description",
},
},
required: ["name"],
},
};
const form = createForm({
theme,
schema,
resolver,
translation,
merger: createFormMerger,
validator: createFormValidator,
idBuilder: createFormIdBuilder,
onSubmit: console.log,
});
</script>
<BasicForm {form} />
This project includes modifications of code from react-jsonschema-form, which is licensed under the Apache License, Version 2.0. The rest of the project is under the MIT license.
See LICENSE-MIT and LICENSE-APACHE for details.
FAQs
Svelte 5 library for creating forms based on JSON schema.
The npm package @sjsf/form receives a total of 4,087 weekly downloads. As such, @sjsf/form popularity was classified as popular.
We found that @sjsf/form demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.