Quick Start

Get up and running with Xandra in under two minutes.

1. Install

npm install xandra
npm install -D xandra-cc

2. Import

Add the Xandra stylesheet to your project's entry point:

/* In your main CSS file */
@import "xandra/xandra.css";

3. Use

Start using Xandra classes in your HTML:

<body class="x-theme-dark">
  <div class="x-card x-stack">
    <h2 class="x-h2">Welcome</h2>
    <p class="x-body">Your first Xandra component.</p>
  </div>
</body>

4. Validate

Run the contract compiler to audit your codebase:

npx xcc audit
npx xcc validate

Next Steps

IntroductionInstallation