0.0.4 • Published 12 months ago

neova-ui v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Neova UI

A Svelte UI library designed to simplify your web development. It offers a collection of customizable, performance-optimized components that integrate seamlessly with Svelte applications.

Getting Started

This library expects you have setup a SvelteKit project. Here's how to do so:

pnpm create svelte my-project
cd my-project
pnpm install

You also need to install TailwindCSS.

pnpm add -D tailwindcss postcss autoprefixer
pnpm tailwindcss init -p

Let's continue by installing the library.

pnpm add -D neova-ui

Update tailwind.config.js file:

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    './src/**/*.{html,js,svelte,ts}',
    './node_modules/neova-ui/dist/**/*.{js,svelte}'
  ],
  theme: {
    extend: {}
  },
  plugins: [],
  presets: [require('neova-ui/preset.cjs')]
};

Update src/+layout.svelte file:

<script>
  import { NeovaProvider } from 'neova-ui';
  import 'neova-ui/styles.css';
</script>

<NeovaProvider>
  <slot />
</NeovaProvider>

That's it. Now, you can start using the components like this:

<script>
  import { Button } from 'neova-ui';
</script>

<Button>Hello Button</Button>
0.0.2

12 months ago

0.0.4

12 months ago

0.0.1

2 years ago