Installation ​

Set up intelqi-ui in a Vite and Vue 3 app. You need Node 20.19 or later.

Quick start ​

Create a new app with one command:

sh
npm create intelqi-ui@latest

It asks where to create the project and what it is for, then sets up Vue 3, TypeScript, Vite, Tailwind CSS and intelqi-ui with a starter page.

  • Frontend of a Frappe app: run it from your app's folder, such as apps/todo. It creates frontend/ and connects it to the app: the page that serves it, the route rule in hooks.py, the build scripts and .gitignore. It lists these changes and asks before it writes them.
  • Standalone app: run it anywhere else for a plain Vite app with no Frappe server.

When it finishes, it prints the next steps, including the command that starts the dev server.

Set up by hand ​

Use these steps to add intelqi-ui to an existing project, or to see what the command above sets up. The steps are the same with or without a Frappe server behind the app. Only the Vite config differs.

Create your project ​

Start with a Vue and TypeScript project from Vite. Skip this step if you already have one.

sh
npm create vite@latest my-app -- --template vue-ts
cd my-app

Building the frontend of a Frappe app? Create the project inside your app instead, as the Frappe app guide shows.

Install intelqi-ui ​

Install Tailwind CSS v3, intelqi-ui and Vue Router. intelqi-ui doesn't support Tailwind CSS v4 yet.

sh
npm install -D tailwindcss@^3.4 postcss autoprefixer
npm install intelqi-ui vue-router

Configure Tailwind CSS ​

Add the intelqi-ui preset to tailwind.config.js, and include intelqi-ui's content paths so its classes get generated.

js
import preset, { content } from 'intelqi-ui/tailwind'

/** @type {import('tailwindcss').Config} */
export default {
  presets: [preset],
  content: [...content, './index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
}

Then turn Tailwind on in postcss.config.js, with intelqi-ui's PostCSS plugin after it. The plugin writes font sizes in rem, so text follows the reader's browser size in step with the spacing, as in every IntelQI app.

js
import tailwindcss from 'tailwindcss'
import autoprefixer from 'autoprefixer'
import fontSizesInRem from 'intelqi-ui/postcss'

export default {
  plugins: [tailwindcss, fontSizesInRem, autoprefixer],
}

Import the styles ​

Replace everything in src/style.css with one import. It brings in Tailwind and the Inter font, so don't add the @tailwind lines yourself.

css
@import 'intelqi-ui/style.css';

Add the provider ​

Wrap your app in IntelQIProvider in src/App.vue. It renders dialogs and toasts opened from code, and switches the IntelQI look on for the page: the person's own look, the site's brand and the shared behaviours (see Behaviours).

vue
<script setup lang="ts">
import { IntelQIProvider } from 'intelqi-ui'
</script>

<template>
  <IntelQIProvider>
    <RouterView />
  </IntelQIProvider>
</template>

Then add a router and the styles in src/main.ts. Some components link to routes, so intelqi-ui needs Vue Router even in a one-page app.

ts
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import App from './App.vue'
import Home from './pages/Home.vue'
import './style.css'

const router = createRouter({
  history: createWebHistory(),
  routes: [{ path: '/', component: Home }],
})

createApp(App).use(router).mount('#app')

Configure Vite ​

vite.config.ts depends on where the app runs. Follow the guide that fits:

  • Frappe app: adds the intelqi-ui Vite plugin, which proxies your bench and builds into the app.
  • Standalone app: adds the same plugin with its Frappe server features turned off.

Start using intelqi-ui ​

Put a component in src/pages/Home.vue and run npm run dev.

vue
<script setup lang="ts">
import { Button } from 'intelqi-ui'
</script>

<template>
  <Button variant="solid" icon-left="lucide-plus" label="New task" />
</template>

You should see a dark button with a plus icon, in the Inter font. If the icon is an empty square, Tailwind isn't reading intelqi-ui's files. Check the content line in tailwind.config.js.

TypeScript ​

Extend intelqi-ui's base config in tsconfig.json.

json
{
  "extends": "intelqi-ui/tsconfig.base.json",
  "compilerOptions": {
    "types": ["vite/client"]
  },
  "include": ["src/**/*.ts", "src/**/*.vue"]
}

Keep vite/client in types. intelqi-ui ships its TypeScript source, and that source reads import.meta.env.

Import types from the same place as the component:

ts
import { Button, type ButtonProps } from 'intelqi-ui'
import { Editor, type RichTextKitOptions } from 'intelqi-ui/editor'

Entry points ​

Import only from the paths intelqi-ui exports. Deeper paths such as intelqi-ui/src/... fail with Package subpath is not defined.

PathWhat it has
intelqi-uiComponents, composables and data fetching
intelqi-ui/listThe list components
intelqi-ui/editorThe rich text editor
intelqi-ui/code-editorThe code editor
intelqi-ui/chartsCharts
intelqi-ui/iconsThe library's own icon components
intelqi-ui/experimentalComponents whose API may still change
intelqi-ui/tailwindThe Tailwind preset and content paths
intelqi-ui/tailwind/tokensThe design tokens as plain data
intelqi-ui/viteThe Vite plugin
intelqi-ui/vite/lucideIconsPluginOnly the ~icons/lucide/* resolver from the Vite plugin
intelqi-ui/style.cssThe base stylesheet
intelqi-ui/tsconfig.base.jsonThe base TypeScript config
intelqi-ui/vitepressThe theme for intelqi-ui's own docs. Don't import it in apps.

Made with lots of by Euclideum

IntelQI UI is the design system of IntelQI, the AI-native ERP for colleges and universities.

© 2026 Euclideum Solutions Private Limited