UMD Design System - Installation Guide
NPM - @universityofmaryland/web-components-library
The styles objects are optional, but highly recommended. The package is a JSS object model that can be applied to modern frameworks like Tailwindcss
NPM - @universityofmaryland/web-styles-library
Configuration options with Tailwind
There are 2 ways to load the web components into your project:
Place the following in the entry point of your project
import LoadUmdComponents from '@universityofmaryland/web-components-library';
document.addEventListener('DOMContentLoaded', () => {
LoadUmdComponents();
});
import * as Components from '@universityofmaryland/web-components-library';
Components.card.block();