cube Tailwind Templates

Cube

Design system, components library and UI Kit built with Tailwind CSS, React and stitches

Cube

React component library build with Tailwind CSS, twin.macro and stitches.

Installation:

  1. Clone cube with git clone [email protected]:missionx-co/cube.git
  2. Inside project root run yarn or npm install.

Available Packages

At this point conists of three packages:

  1. Cube documentation found as @cube-ui/docs at packages > docs.
  2. Cube components found as @cube-ui/components at packages > components.
  3. Cube tailwind css plugin that contains design tokens like colors, typography ...etc fount as @cube-ui/foundation at packages > foundation

Running the project

  1. Inside project root, run yarn build to build the foundation package and the components packages.
  2. Inside project root, run yarn docs:watch to start the next.js server.

Development:

  1. Inside project root run yarn foundation:build. this command will build the foundation packages, For now you have to quit from this command manually.
  2. Inside project root run yarn components:types, this will transpile TypeScript code and build the ts declaration files. You should NOT quit from this command.
  3. Inside project root, in a different terminal, run yarn components:watch this will transpile TypeScript React components and build the components library.
  4. Inside project root, in a different terminal, run yarn docs:watch this will start the docs development server.

Top categories

Loading Svelte Themes