Install
1
Install the package
2
Add styles
Choose how to include the compiled Tailwind CSS from the library.
- Import compiled CSS (recommended)
- Tailwind content path
3
Configure for Next.js (App Router only)
Skip this step for Vite or Create React App. Only required for Next.js App Router.
Peer dependencies
The library requires the following peer dependencies to be installed in your project:
The library bundles
axios, react-hook-form, @hookform/resolvers, and zod as
dependencies — you do not need to install them separately.
What gets installed
Build output indist/:
index.js— ESM moduleindex.cjs— CommonJS moduleindex.d.ts/index.d.cts— TypeScript typesailita-library.css— compiled Tailwind styles (imported viaailita-library/styles)
Next steps
Configure AilitaProvider
Wrap your app and connect to your tenant.

