Socket
Socket
Sign inDemoInstall

@stackpath/cosmos-web-components

Package Overview
Dependencies
1
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @stackpath/cosmos-web-components

The Web Component library for StackPath's Cosmos Design System


Version published
Weekly downloads
59
decreased by-28.05%
Maintainers
2
Install size
19.5 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 19 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc