Nitro UI Quickstart

Install

npm i @ninjha01/nitro-ui
# or yarn add @ninjha01/nitro-ui
# or pnpm i @ninjha01/nitro-ui

Styling

This project is built on top of tailwindcss.

If you also want to use tailwindcss in your project, you can follow the installation instructions to get started.

Once you've done so, add @ninjha01/nitro-ui to your tailwind.config.js file:

  content: [
    "...",
    "node_modules/@ninjha01/nitro-ui/dist/**/*.{js,ts,jsx,tsx}",
  ],

If you don't want to use tailwind in your project, you can import the compiled css file from the dist folder.

import "path/to/node_modules/@ninjha01/nitro-ui/dist/nitro.css";

Was this page helpful?