Installation

Learn how to install and use Neel UI in your Svelte apps

Create project

Use the SvelteKit CLI to create a new project

npm create svelte@latest my-app

Add Tailwind CSS

Use the `svelte-add` CLI to add Tailwind CSS to the project.

npx svelte-add@latest tailwindcss

Initialize Neel UI

Using the `neel-ui` CLI, initialize it in your project.

npx neel-ui@latest init

Install Dependencies

Install the required dependencies for Neel UI

npm install

Setup Path Aliases

Neel UI uses a custom alias for the library and UI components themselves.

Loading...

Import CSS file

Import the `$library/library.css` file in your `+layout.svelte`.

Loading...

Add a component of your choosing

Add as many as you want and you're finished!

npx neel-ui@latest add button

That's all

Now you can use Neel UI in your projects

Loading...