Gathering detailed insights and metrics for @utrecht/component-library-formio
Gathering detailed insights and metrics for @utrecht/component-library-formio
Gathering detailed insights and metrics for @utrecht/component-library-formio
Gathering detailed insights and metrics for @utrecht/component-library-formio
Work in Progress: Utrecht Design System based on the NL Design System architecture. Storybook: https://nl-design-system.github.io/utrecht/storybook/
npm install @utrecht/component-library-formio
Typescript
Module System
Node Version
NPM Version
72.4
Supply Chain
87
Quality
79.9
Maintenance
100
Vulnerability
93.6
License
@utrecht/youtube-video-react@1.0.0
Updated on May 07, 2025
@utrecht/component-library-css@7.2.0
Updated on May 07, 2025
@utrecht/youtube-video-css@1.0.0
Updated on May 07, 2025
@utrecht/textbox-react@1.0.8
Updated on May 07, 2025
@utrecht/radio-button-react@1.0.7
Updated on May 07, 2025
@utrecht/root-react@1.0.6
Updated on May 07, 2025
TypeScript (73.04%)
SCSS (12.27%)
HTML (5.88%)
JavaScript (4.44%)
MDX (2.36%)
CSS (1.15%)
Vue (0.85%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
EUPL-1.2 License
29 Stars
3,687 Commits
22 Forks
7 Watchers
259 Branches
47 Contributors
Updated on May 09, 2025
Minified
Minified + Gzipped
Latest Version
1.0.0-alpha.555
Package Id
@utrecht/component-library-formio@1.0.0-alpha.555
Unpacked Size
38.65 kB
Size
11.04 kB
File Count
43
NPM Version
lerna/1.17.0/node@v18.12.1+x64 (linux)
Node Version
18.12.1
Published on
Nov 16, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
The @utrecht/component-library-formio
package contains implementations of various form related components. It currently is a mix of CSS components and Web components. This means you need to install the following three packages:
1npm install --save-dev --save-exact \ 2 @utrecht/component-library-css \ 3 @utrecht/component-library-formio \ 4 @utrecht/web-component-library-stencil
Additionally, having the core Form.io packages installed is a prerequisite:
1npm install --save-dev --save-exact formiojs react-formio
Configure Form.io to use our custom components instead by including the following code in your app once:
1import { Formio, Templates } from "react-formio"; 2import { components, templates } from "@utrecht/component-library-formio"; 3 4Formio.use({ components }); 5Templates.current = templates;
Since the implementation of the web components needs to be loaded in the browser, include the following effect to import web component library from @utrecht/web-component-library-stencil
, in Next.js this would be in _app.ts
:
1useEffect(() => { 2 import("@utrecht/web-component-library-stencil/dist/utrecht/utrecht.esm.js"); 3}, []);
Because the components use Web components internally, it is important to include the web components in the allow list of DOMPurify, which would otherwise remove these essential custom elements as part of the cross-site scripting mitigations:
1import { Form } from 'react-formio'; 2import { sanitizeConfig } from "@utrecht/component-library-formio"; 3 4export const Page () => (<Form options={{ sanitizeConfig }}/>)
Every <Form>
element must be configured with the correct sanitizeConfig
settings, otherwise the form inputs cannot be displayed.
To use the Utrecht theme for the components, include the design tokens CSS in your angular.json
:
1npm install --save-dev --save-exact @utrecht/design-tokens
Include the CSS variables in your page, and apply the utrecht-theme
class name.
1import "@utrecht/design-tokens/dist/index.css";
No vulnerabilities found.
Reason
30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
all dependencies are pinned
Details
Reason
SAST tool is not run on all commits -- score normalized to 7
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
73 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More