@culturehacklabs/chl-common-ui
TypeScript icon, indicating that this package has built-in type declarations

0.7.28 • Public • Published

chl-common-ui

note: unstable

This is the UI kit for Genki. It includes:

  • The definitive Genki UI theme, as:
    • a tailwind theme + postCSS
    • compiled css and ejs for loading in JS or CSS
    • a <genki-theme /> web component that can be loaded at the top of any HTML page to provide the CSS, fonts and assets
  • Raw assets including fonts and icons
  • A fully modular tailwind based styling system that works across frameworks
  • A library of components (in the atomic design style). These are custom elements and have accompanying react wrappers.

Development

To open a fast live reloading server where you can iterate on design and functionality of the components:

npm run start

To build the component library and update the gallery and docs, run:

npm run build

To run the unit tests for the components, run:

npm test

To generate a new component template, run:

# npm run generate scope/genki-componentname
# e.g.
npm run generate atoms/genki-avatar

Components

Package Sidebar

Install

npm i @culturehacklabs/chl-common-ui

Weekly Downloads

1,286

Version

0.7.28

License

ISC

Unpacked Size

15.4 MB

Total Files

524

Last publish

Collaborators

  • cristinacarlylemitchell
  • zunaidvalodia
  • theoht
  • checoelho
  • rosseyre
  • erikhartin