uPortal-Project / uPortal-web-components

A collection of uPortal Web Components and JavaScript utilities
https://uportal-project.github.io/uPortal-web-components
Apache License 2.0
24 stars 25 forks source link
gradle hacktoberfest internationalization layout menu openid-connect reactjs typescript uportal vue web-components webjar webjars

uPortal Web Components

Build Status

A collection of reusable, standardized, and accessible web components for uPortal

Installation

There are couple options for installing components:

# install with npm
npm install @uportal/{package name goes here}

# install with yarn
yarn add @uportal/{package name goes here}

install with maven

<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>uportal__{package name goes here}</artifactId>
    <version>{version number goes here}</version>
</dependency>

install with gradle

compile 'org.webjars.npm:uportal__{package name goes here}:{version number goes here}'

Usage

To install any component, add a tag with the component's name, and a script tag pointing to the JavaScript bundle for that component.

For example an example-component would be loaded by adding

<example-component></example-component>
<script src="https://github.com/uPortal-Project/uPortal-web-components/raw/master/node_modules/@uportal/example-component/dist/js/example-component.js"></script>

Components

Utilities

Contribute

uPortal Components are built by people just like you! Check out CONTRIBUTING.md for ways to get started.

Want to chat with the community and contributors? Join us in Slack and the Mailing List!

Additional Topics