Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@kaizen/component-library
Advanced tools
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
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
Component Library for Culture Amp's Kaizen Design System
The npm package @kaizen/component-library receives a total of 83,066 weekly downloads. As such, @kaizen/component-library popularity was classified as popular.
We found that @kaizen/component-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.