Skip to content

The Paper UI library allows users to easily import and style a wide range of components with a singular cdn link.

License

Notifications You must be signed in to change notification settings

Opensource-Paper/PaperUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo Banner

The Paper UI library allows users to easily import and style a wide range of components with a singular cdn link.

Installation

CDN

Import Paper UI web components using CDN. The import-min.js file will automatically import all styles and JavaScript files into the <head>.

<script type="module" src="https://paperui.com/cdn/import-min.js"></script>

🚧 Development

<script type="module" src="https://paperui.com/cdn/import-dev.js"></script>

NPM

Install Paper UI web components using npm and node.

npm install paper-ui/library

React NPM

Install Paper UI react components using npm and node.

npm install paper-ui/react

Usage

Use the <component-name> tag in HTML markup. Refer to the Component Docs for more guidance on using each component. That's it 🎉.

<media-button-filled>Filled</media-button-filled>
<media-button-outlined>Outlined</media-button-outlined>
<media-switch></media-switch>
<media-switch disabled checked></media-switch>

Check out the demo on codepen.