UNDP Design System
npm install @undp/design-systemThe purpose of this project is to create unified user interfaces for UNDP by the designer and developers.
These projects will have consistent look and feel and accessible in nature by just following the guidelines in the documentation.
By unifying design elements into reusable components, development will simplify and accelerate the development of these digital products.
The Guide is a living document created to meet the needs of UNDP's front-end developers and designers. If there is a Component or Pattern that you need, or you have any other feedback, question or comment please contact us.
Living Style Guide & Documentation: Demo
bash
npm install @undp/design-system
`
See Starter project at the link below for details of implementaitonStarter project
Static generator using Design System as dependency: UNDP Design System starter template
Development
Run the following commands to create/update the code.
`bash
checkout the codebase
git cloneinstall project dependencies
npm installruns storybook locally
npm run storybookbuild storybook
npm run build-storybookbuild compiled css and js
npm run build
``The design system includes automated integration with Figma design tokens to ensure consistency between design and code.
See figma-tokens/README.md for complete documentation.
View available Components here. Every components has its own documentation page on the link provided.
- All Design System assets ready for production available as a separate package: @undp/design-system-assets
- It can be used as a dependency or linked via CDN (https://cdn.jsdelivr.net/npm/@undp/design-system-assets/)
- CSS components and templates are available as individual css files and as cumulative components.min.css / templates.min.css
- JS plugins available as inidividual files and as a single script all.min.js
MIT license.
The design system is based on Storybook
Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.