@onu-ui/components

v1.0.14-beta.2
Onu-UI components for use on demand
onu-ui @onu-ui/components

Onu-UI Components

Onu-UI for web glassmorphism components generate by UnoCSS.

Usage

pnpm i onu-ui
pnpm i unocss -D

Add onu-ui in your main entry file.

// main.ts
import OnuUI from 'onu-ui'
import 'uno.css'
import 'onu-ui/dist/style.css'

createApp(App).use(OnuUI).mount('#app')

Custom your UnoCSS config:

// uno.config.ts
import { defineConfig, presetAttributify, presetUno } from 'unocss'
import { presetOnu } from 'onu-ui'

export default defineConfig({
  presets: [
    // ...
    presetUno(),
    presetAttributify(),
    presetOnu(),
  ],
})

Preveiew

You can see the preview of the following commands:

pnpm run build

Then you can run playground to see the result.

pnpm run play

If you want start the dev server, you can run:

pnpm run dev

Refer

UnoCSS

@nuxt/ui

License

MIT License © 2022 Chris

npm i @onu-ui/components

Metadata

  • MIT
  • Whatever
  • Chris
  • released 5/4/2023

Downloads