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

@kaizen/component-library

Package Overview
Dependencies
Maintainers
4
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaizen/component-library

Component Library for Culture Amp's Kaizen Design System

  • 3.9.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86K
increased by13.02%
Maintainers
4
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 @kaizen/component-library to your package.json file:

yarn add @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 "@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 '~@kaizen/component-library/styles/type';

FAQs

Package last updated on 03 Mar 2020

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