Component Registration Functions
All web component registration functions for the UMD Design System. Each function must be called to register its component with the browser.
import * as Components from '@universityofmaryland/web-components-library/web-components';// Register specific componentsComponents.accordion.item();Components.card.standard();Components.hero.base(); Copy
import * as Components from '@universityofmaryland/web-components-library/web-components';// Register specific componentsComponents.accordion.item();Components.card.standard();Components.hero.base();
// Import individual components for tree-shakingimport { CardStandard, HeroBase } from '@universityofmaryland/web-components-library/web-components';CardStandard();HeroBase(); Copy
// Import individual components for tree-shakingimport { CardStandard, HeroBase } from '@universityofmaryland/web-components-library/web-components';CardStandard();HeroBase();
Component Registration Functions
All web component registration functions for the UMD Design System. Each function must be called to register its component with the browser.
Example
Example