New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lightspeed/cirrus

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightspeed/cirrus

Cirrus, all inclusive

  • 2.0.2
  • npm
  • Socket score

Version published
Weekly downloads
121
increased by112.28%
Maintainers
3
Weekly downloads
 
Created
Source

Cirrus

Still a work in progress, don't use for now!

A package containing all available Cirrus components.

Installation

First, make sure you have been through the Getting Started steps of adding Cirrus in your application.

If using Yarn:

yarn add @lightspeed/cirrus

Or using npm:

npm i -S @lightspeed/cirrus

Usage

React Component

Import required style in your SCSS file:

@import '@lightspeed/cirrus/index.scss';

Add use any Cirrus components in your project:

import React from 'react';
import tokens from '@lightspeed/cirrus-tokens';
import { Button } from '@lightspeed/cirrus';

const styles = {
  padding: tokens.spacing.scale['spacing-2'],
};

const MyComponent = (props) =>
  <div style={styles}>
    <Button>My Button</Button>
  </div>;

export default MyComponent;

CSS Component

Import required style in your SCSS file:

@import '@lightspeed/cirrus/index.scss';

Add classes to your HTML elements for available Components:

<div class="cr-p-2">
  <button type="button" class="cr-button">My Button</button>
</div>

FAQs

Package last updated on 10 Jul 2017

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