Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stackpath/cosmos-web-components

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 0.0.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
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

Package last updated on 19 May 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc