Gathering detailed insights and metrics for @utrecht/component-library-react
Gathering detailed insights and metrics for @utrecht/component-library-react
Gathering detailed insights and metrics for @utrecht/component-library-react
Gathering detailed insights and metrics for @utrecht/component-library-react
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-react
Typescript
Module System
Node Version
NPM Version
@utrecht/component-library-css@7.3.0
Updated on Jun 18, 2025
@utrecht/design-tokens@3.3.0
Updated on Jun 18, 2025
@utrecht/tooltip-react@1.0.0
Updated on Jun 18, 2025
@utrecht/tooltip-css@1.0.0
Updated on Jun 18, 2025
@utrecht/component-library-vue@2.3.1
Updated on Jun 16, 2025
@utrecht/design-tokens@3.2.0
Updated on May 27, 2025
TypeScript (73.02%)
SCSS (12.42%)
HTML (5.82%)
JavaScript (4.42%)
MDX (2.33%)
CSS (1.14%)
Vue (0.84%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
EUPL-1.2 License
29 Stars
3,715 Commits
23 Forks
7 Watchers
258 Branches
48 Contributors
Updated on Jun 28, 2025
Latest Version
10.2.0
Package Id
@utrecht/component-library-react@10.2.0
Unpacked Size
1.08 MB
Size
186.42 kB
File Count
606
NPM Version
10.9.2
Node Version
22.15.0
Published on
May 27, 2025
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
103
6
43
Je kunt de React componenten van de @utrecht/component-library-react
npm package gebruiken voor je eigen website. Het zijn "white label" componenten, dat betekent dat ze niet de Utrecht huisstijl hebben — je kunt je eigen ontwerp gebruiken met design tokens.
Je kunt deze package gebruiken in React apps, zowel client side als server side, om de juiste HTML elementen te renderen met CSS class names van het Utrecht Design System.
Documentation staat in de Storybook voor Utrecht React componenten.
1npm install --save-dev --save-exact @utrecht/component-library-react
Wanneer je dit pakketje hebt geïnstalleerd, dan kun je elke component uit de React component gebruiken voor je pagina. Bijvoorbeeld:
1import { Document, Heading1 } from "@utrecht/component-library-react/dist/css-module"; 2 3export const MyPage = () => ( 4 <div className="voorbeeld-theme"> 5 <Document> 6 <Heading1>Page styled with NL Design System</Heading1> 7 </Document> 8 </div> 9);
Als je geen CSS injection wilt, dan kun je dezelfde componenten importeren uit een andere plek (zonder /dist/css-module
). CSS injection levert soms problemen op bij websites met een stricte Content-Security-Policy
.
1import { Document, Heading1 } from "@utrecht/component-library-react"; 2 3export const MyPage = () => ( 4 <div className="voorbeeld-theme"> 5 <Document> 6 <Heading1>Page styled with NL Design System</Heading1> 7 </Document> 8 </div> 9);
Gebruik je eigen design met de volgende stappen:
Installeer de npm package met de CSS:
1npm install --save-dev @utrecht/design-tokens
In veel React projecten is het mogelijk de CSS te importeren in JavaScript. Voeg de import
voor de thema CSS toe, en gebruik de utrecht-theme
class name op een niveau boven de React componenten.
1import { Document, Heading1 } from "@utrecht/component-library-react"; 2import "@utrecht/design-tokens/dist/index.css"; 3 4export const MyPage = () => ( 5 <div className="utrecht-theme"> 6 <Document> 7 <Heading1>Page styled with NL Design System</Heading1> 8 </Document> 9 </div> 10);
De TypeScript declarations voor de React componenten worden standaard meegeleverd.
Stel je support-vragen in het #nl-design-system-developers Slack-kanaal.
No vulnerabilities found.
Reason
30 commit(s) and 12 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 5
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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
83 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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