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

@usecapsule/core-components

Package Overview
Dependencies
Maintainers
0
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usecapsule/core-components

Capsule Core Components

  • 3.8.2-dev.6
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by33.93%
Maintainers
0
Weekly downloads
 
Created
Source

component-library

Cross-framework common component library

Install

yarn install

Running

The component examples can either be run in React or bare HTML.

React

yarn build
yarn start-react

HTML

yarn start-html

Building

This will build the component libraries for both web components and React.

yarn build

Generating New Components

This should be used when adding new components to the library. It will initialize the component, test and styles.

Once run, follow the prompts to name your component.

Note Components MUST begin the the cpsl- string in order for them to pass linting.

Note The styles should be changed to Sass once the component is generated. Rename the generated css file to scss and update the import in the component.

yarn generate

FAQs

Package last updated on 25 Oct 2024

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