@hitachivantara/uikit-uno-preset
TypeScript icon, indicating that this package has built-in type declarations

0.2.32 • Public • Published

@hitachivantara/uikit-uno-preset

UI Kit UnoCSS preset with the NEXT theme.

Installation

Install the package in your project directory with:

npm install -D unocss @hitachivantara/uikit-uno-preset

Add the presetHv to the array of presets in your vite.config.ts or uno.config.ts files:

// vite.config.ts
import unoCSS from "unocss/vite";
import { defineConfig } from "vite";
import { presetHv } from "@hitachivantara/uikit-uno-preset";

export default defineConfig({
  plugins: [
    unoCSS({
      presets: [presetHv()],
    }),
  ],
});
// uno.config.ts
import { defineConfig } from "unocss";
import { presetHv } from "@hitachivantara/uikit-uno-preset";

export default defineConfig({
  presets: [presetHv()],
});

Usage

Use any of Tailwind-like default utility classes along with the NEXT UI Kit theme utilities:

VSCode completions

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.32
    64
    • latest

Version History

Package Sidebar

Install

npm i @hitachivantara/uikit-uno-preset

Weekly Downloads

136

Version

0.2.32

License

Apache-2.0

Unpacked Size

25.6 kB

Total Files

12

Last publish

Collaborators

  • hitachi-vantara
  • dleao
  • jmcrfp
  • erik.martin
  • steve.maring