@zetachain/ui-toolkit

1.0.3 • Public • Published

ZetaChain UI Toolkit

Description

This project has a UI Toolkit for ZetaChain Apps. It exposes our theme, some components, and utils.

Installation

NPM

npm install @zetachain/ui-toolkit

Yarn

yarn add @zetachain/ui-toolkit

Basic Usage

Importing the tailwind theme config

Import @zetachain/ui-toolkit/theme/tailwind.config into the base tailwind configuration file on the root of the app that will consume the theme.

IMPORTANT: Add the content config listing all the components that will use tailwind classes.

Example tailwind.config.js:

const twConfig = require("@zetachain/ui-toolkit/theme/tailwind.config");

module.exports = {
  ...twConfig,
  content: ["./src/**/*.{ts,tsx,js,jsx}"],
};

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.321latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.321
1.0.20
1.0.10
1.0.00
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i @zetachain/ui-toolkit

Weekly Downloads

21

Version

1.0.3

License

none

Unpacked Size

34.5 kB

Total Files

11

Last publish

Collaborators

  • fadeev
  • charliezeta
  • gmaiolozeta
  • zetachain-admin
  • aaiello