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

@cultureamp/kaizen-component-library

Package Overview
Dependencies
Maintainers
6
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cultureamp/kaizen-component-library

Component Library for Culture Amp's Kaizen Design System

  • 17.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by160%
Maintainers
6
Weekly downloads
 
Created
Source

Kaizen Component Library

Add to a project

Kaizen Component Library is already included in our main product repositories. If it's needed in a new repo, add @cultureamp/kaizen-component-library to your package.json file:

yarn add @cultureamp/kaizen-component-library

Usage

You can import a Kaizen Component Library package inside your application using React or Elm.

React import example:

import { Button } from "@cultureamp/kaizen-component-library"

React usage example:

ReactDOM.render(
  <Card>
    <Button label="Example button" onClick={() => alert('Button clicked!')} />
  </Card>
  , document.querySelector('#app'),
);

Elm import example:

import Kaizen.Button.Button as Button

Elm usage example:

[ Button.view
    (Button.primary
        |> Button.href configuration.callToActionPath
    )
    Example button
]

For Elm components, we have used Kaizen to namespace them because the source directories that are specified in elm.json are all pulled into the same namespace, creating potential conflicts.

You can also import Kaizen styles into SCSS files:

@import '~@cultureamp/kaizen-component-library/styles/type';

FAQs

Package last updated on 18 Dec 2019

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