Installation

Requirements

  • Node.js 22.12.0 or newer
  • npm

Install Workspace Dependencies

npm install

Run Docs Locally

npm run dev

Build for Production

npm run build
npm run preview

The docs and homepage are generated as static output.

Build the mozhi-ui Package

npm run build:package

Consume the Package

npm install mozhi-ui
import "mozhi-ui/styles.css";
import { Button } from "mozhi-ui";