Installation

How to install and run the project.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

  • Node.js (version 18 or later)
  • pnpm (recommended) or npm
  • Git

Installation

Clone the repository and install dependencies:

git clone https://github.com/xaclabs/ui.git
cd ui
pnpm install

Development

The documentation site lives in the docs/ directory. Start the development server:

pnpm run dev

Visit http://localhost:4321 to see the site running.

Build

Build the site for production:

pnpm run build

To build the shadcn registry output:

pnpm run registry:build