Onu-UI
Onu-UI for web glassmorphism components generate by UnoCSS.
Usage
npm i onu-ui
npm i unocss -D
Add onu-ui
in your main entry file.
import OnuUI from 'onu-ui'
import 'uno.css'
import 'onu-ui/dist/style.css'
createApp(App).use(OnuUI).mount('#app')
Custom your UnoCSS config:
import { defineConfig, presetAttributify, presetUno } from 'unocss'
import { presetOnu } from 'onu-ui'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetOnu(),
],
})
Refer
UnoCSS
@nuxt/ui
License
MIT License © 2022 chris-zhu