logoKaif UI Docs

Installation

Welcome to installation! This page will guide you through the setup process to get your documentation site up and running smoothly. Let’s dive into the installation steps.

Prerequisites

Before starting, make sure you have the following installed:

  • Node.js (v14 or higher recommended)
  • npm or yarn package manager

If you haven’t installed Node.js, you can download it from nodejs.org.

Installing

To add it to your project, use the following command in your terminal:

npm install your-library

or

yarn add your-library

Initial Setup

Once installed, import Kaif UI Docs into your project’s main file (e.g., app.tsx or index.tsx) to initialize it.

Example Setup

import YourLibrary from "your-library";
 
const docs = new YourLibrary({
  theme: "light",
  language: "en",
});
 
docs.init();

On this page