🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sjsf-lab/shadcn-extras-theme

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sjsf-lab/shadcn-extras-theme

The shadcn-svelte-extras based theme for svelte-jsonschema-form

latest
Source
npmnpm
Version
3.4.1
Version published
Maintainers
1
Created
Source

@sjsf-lab/shadcn-extras-theme

The shadcn-svelte-extras based theme for svelte-jsonschema-form.

Installation

npm install @sjsf/form @sjsf/shadcn4-theme @sjsf-lab/shadcn-extras-theme

Usage

  • Install shadcn-svelte

    Installation - shadcn-svelte

  • Configuration

    Register the theme source path by adding the following line to the app.css file:

    @source "../node_modules/@sjsf/shadcn4-theme/dist";
    @source "../node_modules/@sjsf-lab/shadcn-extras-theme/dist";
    
  • Apply theme

    <script lang="ts">
      import { createForm } from '@sjsf/form';
      import { setThemeContext } from '@sjsf/shadcn4-theme';
      import { theme } from '@sjsf-lab/shadcn-extras-theme';
      import * as components from '@sjsf/shadcn4-theme/new-york';
      import * as extraComponents from '@sjsf-lab/shadcn-extras-theme/ui';
    
      const form = createForm({
        theme,
        ...
      })
    
      setThemeContext({ components: { ...components, ...extraComponents } })
    </script>
    

License

MIT

Keywords

theme

FAQs

Package last updated on 08 May 2026

Did you know?

Socket

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.

Install

Related posts