0.0.5 • Published 3 years ago

@stackpath/cosmos-web-components v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Cosmos Web Components

Note: This project is pre-alpha and should not be used in a production environment.

Cosmos is the name of StackPath's Design System.

This package is a set of native Web Components that implement the core philosophies of the Cosmos design system that we use to build the StackPath user interface.

Cosmos Web Components are built with StencilJS and provide both lazy-loading distribution and a full custom elements bundle, so you can pick whichever works best in your project.

Installation

To use the components within your own codebase, follow these steps:

Install the component library

npm install @stackpath/cosmos-web-components

Configure the assets

The package contains assets that are required by some components but are intentionally not bundled with the Javascript. To make them available in your codebase, you must copy the assets from the package into your project's static assets directory. For example, from the root of your project, you might run:

cp -R ./node_modules/@stackpath/cosmos-web-components/dist/cosmos/assets ./public/

Built With Stencil

0.0.12

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago